/* Note: These imports are disabled because we're loading CSS files directly in the header 
   for better control over the loading order */
/* 
@import url('doc-template.css');
@import url('enhanced-ui.css');
*/

:root {
    --primary: #dc4107;
    --secondary: #313131;
    --bg: #ffffff;
}

* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer and Edge */
    overflow: -moz-scrollbars-none; /* Old versions of Firefox */
    &::-webkit-scrollbar {
        display: none; /* Chrome, Safari, and Opera */
    }
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--secondary);
}


header {
    background-color: var(--primary);
    color: #fff;
    padding: 1rem;
    text-align: center;
}

nav {
    background: var(--secondary);
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 1.5rem;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    nav {
        flex-direction: column;
        padding: 0.5rem;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 0.5rem;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 2rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        margin: 0.5rem 0;
        padding: 0.5rem 0;
    }
    
    .btn-logout {
        margin-top: 0.5rem;
        align-self: flex-start;
    }

    main {
        padding: 1rem;
        margin: 1rem;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    header {
        padding: 0.5rem;
    }
    
    .nav-text {
        display: inline-block;
        margin-left: 0.5rem;
    }
}

.nav-text{
    margin-left: 0.5rem;
}