/* EKFC Loader Styles - Modern Design */
.ekfc-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.ekfc-loader.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
}

.loader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px 60px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.loader-spinner {
    position: relative;
    width: 64px;
    height: 64px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
}

.spinner-ring:nth-child(1) {
    border-top-color: #dc2626;
    border-right-color: #dc2626;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(2) {
    border-top-color: #f59e0b;
    border-right-color: #f59e0b;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    animation-delay: -0.4s;
    opacity: 0.7;
}

.spinner-ring:nth-child(3) {
    border-top-color: #ea580c;
    border-right-color: #ea580c;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    animation-delay: -0.8s;
    opacity: 0.5;
}

.loader-text {
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #dc2626 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}