/* Loading Page Styles */

.loading-container {
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 83, 62, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 9999;
}

/* Spinner Animation */
.spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.spinner-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.45s;
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.3s;
}

.spinner-ring:nth-child(4) {
    animation-delay: -0.15s;
}

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

/* Text Styles */
.loading-text {
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 2px;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

.loading-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Pulse effect */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.loading-container:hover .spinner-ring {
    animation-play-state: paused;
}
