/* Loader Styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loader-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 10px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loader::after {
    content: '';
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
}

.loader::before {
    content: '';
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    margin-left: 2px;
    animation: blink 1s infinite;
    text-align: left;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}