@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;700&display=swap');

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

body,
html {
    width: 100%;
    height: 100%;
    background-color: #0f1010;
    font-family: 'Josefin Sans', sans-serif;
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.header {
    flex: 0 0 70px;
    background: #1a1c1b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.header.hidden {
    display: none;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-btn {
    background: transparent;
    border: 1px solid #e50b18;
    color: #e50b18;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.nav-btn:hover {
    background: #e50b18;
    color: white;
}

.title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 10px;
    text-align: center;
}

.viewer-container {
    flex: 1;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .header {
        flex: 0 0 60px;
        padding: 0 10px;
    }
    
    .nav-btn span {
        display: none;
    }
    
    .nav-btn {
        padding: 8px;
    }
    
    .title {
        font-size: 0.9rem;
    }
}

/* Handle orientation changes and small heights */
@media (max-height: 400px) {
    .header {
        flex: 0 0 50px;
    }
    .title {
        font-size: 0.8rem;
    }
}

/* PDF Page Styles */
.pdf-page {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    height: auto !important;
    box-shadow: 0 4px 5px rgba(0,0,0,0.5);
    background-color: white;
} 
