﻿.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: #fff;
}

.book-simple {
    width: 40px;
    height: 50px;
    background: linear-gradient(45deg, #fff 0%, #f0f0f0 100%);
    border-radius: 3px;
    margin: 0 auto 15px;
    position: relative;
    animation: bookPulse 1.5s ease-in-out infinite;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .book-simple::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(to bottom, #ddd 0%, #aaa 100%);
        border-radius: 3px 0 0 3px;
    }

    .book-simple::after {
        content: '';
        position: absolute;
        top: 10px;
        left: 8px;
        right: 8px;
        height: 2px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 1px;
        box-shadow: 0 8px 0 rgba(0, 0, 0, 0.08), 0 16px 0 rgba(0, 0, 0, 0.05);
    }

.loading-text {
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

.loading-dots {
    display: inline-block;
    margin-left: 5px;
}

    .loading-dots span {
        display: inline-block;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.8);
        margin: 0 1px;
        animation: dotBounce 1.4s ease-in-out infinite both;
    }

        .loading-dots span:nth-child(1) {
            animation-delay: -0.32s;
        }

        .loading-dots span:nth-child(2) {
            animation-delay: -0.16s;
        }

        .loading-dots span:nth-child(3) {
            animation-delay: 0s;
        }

@keyframes bookPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}
