/* =========================================================================
   Global Glassmorphic Loader with Centralized Brand Logo
   EIMT Project Centralized Stylesheet
   ========================================================================= */

.eimt-loader-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.eimt-loader-overlay.active {
    opacity: 1;
    visibility: visible;
}

.eimt-loader-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 210px;
}

.eimt-spinner-container {
    position: relative;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eimt-spinner-ring {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #10b981;
    border-right: 4px solid #0284c7;
    border-radius: 50%;
    animation: eimtSpin 0.85s linear infinite;
}

.eimt-loader-center-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
    animation: eimtPulse 1.4s ease-in-out infinite;
}

.eimt-loader-text {
    margin-top: 18px;
    font-weight: 700;
    font-size: 13.5px;
    color: #1e293b;
    letter-spacing: 0.4px;
}

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

@keyframes eimtPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 1; }
}
