/* Global Styles */
body { 
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
}

header { 
    background: #0b62a4; 
    color: #fff; 
    padding: 12px 16px; 
}

main { 
    padding: 16px; 
}

/* Loading Screen Styles */
.pre-loader-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 8px;
}

.loader-logo {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.5s forwards;
}

.loader-logo img {
    max-width: 200px;
    height: auto;
    width: 100%;
    object-fit: contain;
}

.loader-progress {
    height: 8px;
    border-radius: 15px;
    max-width: 200px;
    width: 100%;
    background: #ecf0f4;
    overflow: hidden;
    position: relative;
}

.loader-progress .bar {
    width: 0%;
    height: 8px;
    background: #1b00ff;
    border-radius: 15px;
    transition: width 0.3s ease-in-out;
}

.loading-text {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px;
    font-weight: 500;
    color: #001f3f;
}

/* Login Header Styles */
.login-header {
    position: relative;
    padding: 20px 15px;
    background-color: #ffffff;
    z-index: 1;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, .1);
}

.login-header .brand-logo {
    width: auto;
    border: 0;
    display: flex;
    align-items: center;
}

.login-header .brand-logo img {
    max-height: 180px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .loader-logo img {
        max-width: 150px;
    }
    
    .login-header {
        padding: 15px 10px;
    }
    
    .login-header .brand-logo img {
        max-height: 140px !important;
    }
}

@media (max-width: 480px) {
    .loader-logo img {
        max-width: 120px;
    }
    
    .login-header .brand-logo img {
        max-height: 100px !important;
    }
}

/* Header Alignment Fixes */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 20px;
}

.user-notification {
    display: flex;
    align-items: center;
}

.user-info-dropdown {
    display: flex;
    align-items: center;
}

.user-info-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.user-info-dropdown .user-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.user-info-dropdown .user-name {
    white-space: nowrap;
    font-weight: 500;
    margin: 0;
}

/* Header Profile Picture Styles */
.user-avatar-default {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0b62a4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

/* Ensure profile images in header fit properly */
.user-info-dropdown .user-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-right {
        gap: 10px;
        padding-right: 15px;
    }
    
    .user-info-dropdown .dropdown-toggle {
        gap: 6px;
    }
    
    .user-info-dropdown .user-name {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header-right {
        gap: 8px;
        padding-right: 10px;
    }
    
    .user-info-dropdown .dropdown-toggle {
        gap: 4px;
    }
    
    .user-info-dropdown .user-name {
        font-size: 12px;
    }
}





