

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #007A7A; 
    --text-dark: #222;
    --text-light: #777;
    --bg-light: #F9F9F9;
}

body {
    background-color: var(--bg-light);
}


.nav-links a.active {
    font-weight: bold;
    color: #007A7A;
    border-bottom: 2px solid #007A7A;
}

/* --- Header --- */

.main-header {
    height: 70px !important;
    background-color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a.active {
    border-bottom: 2px solid var(--text-dark);
    padding-bottom: 0.2rem;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sign-in-btn {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
}


/* --- Azioni Utente (Header) --- */
.user-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* --- Dropdown Profilo Utente --- */
.user-dropdown-container {
    position: relative; 
    display: inline-block;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--primary-color); 
    font-size: 1rem;
    padding: 0.5rem;
    font-weight: 500;
}

.profile-btn i {
    font-size: 1.5rem;
}

.dropdown-content {
    display: none; 
    position: absolute; 
    right: 0; 
    top: 110%; 
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15); 
    border-radius: 8px;
    z-index: 10; 
    overflow: hidden;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color); 
}