/* 
   Site header (brand + search), admin navigation bar,
   page title and subtitle typography
*/

/* Auth pages: simple centred header */
.main-header {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
 

 
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #0b0b0b;
    box-sizing: border-box;
    width: 100%;
}
 
/* Page title — auth pages, centred */
.page-title {
    font-size: 2.5rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 3px solid var(--primary-blue);
    padding-bottom: 10px;
    text-align: center;
    display: inline-block;
}
 
/* Page title inside .brand — admin/user header */
.brand .page-title {
    margin: 0;
    font-size: 1.6rem;
    color: #ffffff;
    border-bottom: none;
    padding-bottom: 0;
    letter-spacing: 2px;
    text-align: left;
    display: block;
}
 
.brand .page-subtitle {
    margin: 5px 0 0 0;
    color: #007bff;
    font-size: 0.85rem;
    text-transform: uppercase;
}
 
.page-subtitle {
    display: block;
    font-size: 1rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    font-weight: 500;
    opacity: 0.9;
}
 
/* Header search */
.header-search form {
    display: flex;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 4px;
}
 
.header-search input {
    padding: 10px 15px;
    border: none;
    background: transparent;
    color: white;
    width: 250px;
}
 
.header-search input:focus {
    outline: none;
}
 
.header-search button {
    padding: 10px 15px;
    border: none;
    background: #444;
    color: white;
    cursor: pointer;
}
 
.header-search button:hover {
    background: #555;
}
 
/* Navigation bar */
.admin-nav {
    background-color: #1a1a1a;
    border-bottom: 4px solid #007bff;
    width: 100%;
    box-sizing: border-box;
}
 
.nav-container {
    display: flex;
    padding: 0 5%;
}
 
.nav-link {
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
}
 
.nav-link.active {
    background-color: #007bff;
    color: #ffffff;
}
 
.nav-link:hover:not(.active) {
    background-color: #2a2a2a;
}
 
.nav-link.logout {
    margin-left: auto;
    color: #ff4d4d;
}
 

