:root {
    --primary-gold: #808080;
    --gold-light: #808080;
    --gold-dark: #808080;
    --bg-cream: #ffffff;
    --bg-beige: #ffffff;
    --card-beige: #ffffff;
    --text-dark: #000000;
    --text-medium: #000000;
    --text-light: #000000;
    --border-beige: #d3d3d3;
    --border-gold: #808080;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --gray-dark: #000000;
    --gray-medium: #808080;
    --gray-light: #d3d3d3;
    --white: #FFFFFF;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Logo sizing variables: ajustar aquí o sobrescribir en reglas específicas */
    --logo-width: 160px;
    --logo-max-height: 60px;
}

header {
    background: #000000;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--border-beige);
    position: sticky;
    top: 0;
    z-index: 100;
}

header::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #808080, transparent);
}

header .menu-icons img {
    width: 24px;
    margin: 0 18px;
    cursor: pointer;
    transition: var(--transition);
    filter: brightness(0) saturate(100%) invert(25%) sepia(10%) saturate(1200%) hue-rotate(350deg);
}

header .menu-icons img:hover {
    filter: brightness(0) saturate(100%) invert(45%) sepia(50%) saturate(500%) hue-rotate(5deg);
    transform: translateY(-2px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Imagen del logo: usa las variables para control rápido */
.logo-img {
    width: var(--logo-width);
    max-height: var(--logo-max-height);
    height: auto;
    display: block;
    object-fit: contain;
}

/* Ajustes responsivos: reduce el logo en pantallas pequeñas */
@media (max-width: 768px) {
    :root {
        --logo-width: 120px;
        --logo-max-height: 48px;
    }
}

@media (max-width: 420px) {
    :root {
        --logo-width: 100px;
        --logo-max-height: 40px;
    }
}

.logo i {
    color: #c5a55a;
    font-size: 28px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, #c5a55a, #b89446);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: #f8f5f0;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

nav a:hover {
    background-color: rgba(197,165,90,0.15);
    color: #c5a55a;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.button {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary {
    background-color: #c5a55a;
    color: white;
    border: 1px solid #b89446;
}

.btn-primary:hover {
    background-color: #b89446;
    transform: translateY(-2px);
}

.btn-buscar {
    background-color: #c5a55a;
    color: white;
    border: 1px solid #b89446;
}

.btn-buscar:hover {
    background-color: #b89446;
    transform: translateY(-2px);
}

.btn-cerrar {
    background-color: transparent;
    color: #f8f5f0;
    border: 1px solid #c5a55a;
}

.btn-cerrar:hover {
    background-color: rgba(197,165,90,0.15);
}

.btn-cancelar {
    background-color: #c5a55a;
    color: #f8f5f0;
    border: 1px solid #c5a55a;
}

.btn-cancelar:hover {
    background-color: rgba(197,165,90,0.15);
}

.btn-editar {
    background-color: #c5a55a;
    color: white;
    border: 1px solid #b89446;
    padding-top: 20px;
}

.btn-editar:hover {
    background-color: #b89446;
    transform: translateY(-2px);
}

.btn-cancell {
    background-color: #c5a55a;
    color: white;
    border: 1px solid #b89446;
    padding-top: 20px;
}

.btn-cancell:hover {
    background-color: #b89446;
    transform: translateY(-2px);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #c5a55a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
