/* ==========================================================================
   Componente Global: Dual Counter-Rotating Spinner (Verde UQRoo & Amarillo)
   Ruta: /opt/dockers/siprep/html/system/componente/spinner/spinner.css
   ========================================================================== */

.custom-spinner-popup {
    background: var(--rf-bg-card, #ffffff) !important;
    color: var(--rf-text-primary, #1e293b) !important;
    padding: 2rem 1.5rem !important;
    max-width: 420px !important;
    border-radius: 1.25rem !important;
    border: 1px solid var(--rf-border-color, rgba(0, 0, 0, 0.08)) !important;
}

.custom-dual-spinner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    text-align: center;
}

.custom-dual-spinner {
    position: relative;
    width: 76px;
    height: 76px;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.custom-dual-spinner .ring-track-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 4px solid rgba(0, 104, 71, 0.12);
    box-sizing: border-box;
}

.custom-dual-spinner .ring-track-inner {
    position: absolute;
    top: 13px;
    left: 13px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 4px solid rgba(234, 179, 8, 0.12);
    box-sizing: border-box;
}

.custom-dual-spinner .ring-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #006847;
    border-right-color: #006847;
    border-left-color: #eab308;
    box-sizing: border-box;
    animation: dualSpinClockwise 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.custom-dual-spinner .ring-inner {
    position: absolute;
    top: 13px;
    left: 13px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-bottom-color: #006847;
    border-top-color: #eab308;
    border-right-color: #eab308;
    box-sizing: border-box;
    animation: dualSpinCounterClockwise 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.custom-spinner-title {
    color: var(--rf-text-primary, #0f172a);
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.custom-spinner-subtext {
    color: var(--rf-text-muted, #64748b);
    font-size: 0.88rem;
    line-height: 1.4;
}

@keyframes dualSpinClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes dualSpinCounterClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}
