/* Preloading animation styles */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
}

.loader .bottom-section,
.loader .top-section {
    position: absolute;
    display: flex;
    gap: 4px;
}

.loader .bottom-section {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.loader .top-section {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.loader .bottom {
    width: 12px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    animation: bounce 1.2s ease-in-out infinite;
}

.loader .bottom-section .bottom:nth-child(1) {
    animation-delay: 0s;
}

.loader .bottom-section .bottom:nth-child(2) {
    animation-delay: 0.1s;
}

.loader .bottom-section .bottom:nth-child(3) {
    animation-delay: 0.2s;
}

.loader .bottom-section .bottom:nth-child(4) {
    animation-delay: 0.3s;
}

.loader .top-section .bottom:nth-child(1) {
    animation-delay: 0.4s;
}

.loader .top-section .bottom:nth-child(2) {
    animation-delay: 0.5s;
}

.loader .top-section .bottom:nth-child(3) {
    animation-delay: 0.6s;
}

.loader .top-section .bottom:nth-child(4) {
    animation-delay: 0.7s;
}

.loader .middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}
