/* Loading screen styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 2rem;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-radius: 50%;
    animation: loader-rotate 2s linear infinite;
}

.loader-circle:nth-child(1) {
    border-top-color: var(--primary-color);
    animation-delay: 0s;
}

.loader-circle:nth-child(2) {
    border-right-color: var(--accent-color);
    animation-delay: 0.5s;
}

.loader-circle:nth-child(3) {
    border-bottom-color: var(--warning-color);
    animation-delay: 1s;
}

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

.loading-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.loading-logo .logo-accent {
    color: var(--primary-color);
}

.loading-message {
    color: var(--neutral-600);
    font-size: 1rem;
}

/* Update loading message text in CSS */
.loading-message::after {
    content: 'Loading StoxMate...';
}
