/* Loader Overlay */
#loader-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-content {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    width: 40px;
    height: 40px;
    animation: breathe 2s infinite ease-in-out;
    z-index: 2;
}

/* Double Ring Loader */
.loader-ring-1, .loader-ring-2 {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
    border-color: transparent;
}

.loader-ring-1 {
    width: 100%; height: 100%;
    border-width: 4px;
    border-top-color: #0ea5e9; /* Cyan Blue */
    border-bottom-color: #0ea5e9; /* Cyan Blue */
    animation: spin-cw 2s linear infinite;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.1);
}

.loader-ring-2 {
    width: 70%; height: 70%;
    border-width: 4px;
    border-left-color: #d946ef; /* Magenta */
    border-right-color: #d946ef; /* Magenta */
    animation: spin-ccw 1.5s linear infinite;
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.1);
}

.loader-text {
    margin-top: 30px;
    color: #a3a3a3;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulse 1.5s infinite;
}

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

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

@keyframes breathe { 
    0%, 100% { transform: scale(1); opacity: 0.8; filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); } 
    50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px rgba(255,255,255,0.5)); } 
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
