* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

#lang-switcher {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.4rem 1rem;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background-color: #e0e0e0;
}

.lang-btn.active {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
}

#pdf-viewer {
    width: 100%;
    min-height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3.5rem 1rem 2rem 1rem;
    gap: 1.5rem;
}

.pdf-page {
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #pdf-viewer {
        padding: 1rem 0.5rem;
        gap: 1rem;
    }
}

#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 8px;
    z-index: 1000;
}

#loader.hidden {
    display: none;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #007bff;
    border-radius: 50%;
    animation: pulse 0.6s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.7;
    }
}
