/* ========================================
   Continuous Improvement Loop - Inline Styles
   For index.html integration (no global reset)
   ======================================== */

.container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 0;
}

/* Loop Wrapper */
.loop-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 30px;
}

/* Rotating Circle */
.rotating-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotate 12s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.circle-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.3));
}

/* Center Content */
.center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.main-title {
    font-size: 15px;
    font-weight: 700;
    color: #3B82F6;
    line-height: 1.3;
    margin-bottom: 8px;
    text-align: center;
}

.sub-title {
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
    letter-spacing: 0.5px;
}

/* Curve animation */
.main-ring {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawCurve 3s ease-out forwards;
}

@keyframes drawCurve {
    to {
        stroke-dashoffset: 0;
    }
}

/* Additional Animation for Progress Ring */
@keyframes dashProgress {
    0% {
        stroke-dashoffset: 817;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.progress-ring {
    animation: dashProgress 4s ease-in-out infinite;
}

/* Responsive Design for Loop */
@media (max-width: 768px) {
    .loop-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .center-content {
        width: 140px;
        height: 140px;
    }
    
    .main-title {
        font-size: 13px;
    }
    
    .sub-title {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .loop-wrapper {
        width: 240px;
        height: 240px;
    }
    
    .center-content {
        width: 120px;
        height: 120px;
    }
    
    .main-title {
        font-size: 12px;
    }
    
    .sub-title {
        font-size: 10px;
    }
}

/* Override for poc-loop-center-column if needed */
.poc-loop-center-column .loop-wrapper {
    margin: 0 auto 30px;
}

.poc-loop-center-column .center-content {
    background: rgba(255, 255, 255, 0.95);
}
