/* navbar.css - Estilos del encabezado, barra de navegación, caja de búsqueda y elementos interactivos del menú */

.header {
    position: sticky;
    top: 0;
    background-color: var(--primary-color);
    z-index: 1000;
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.nav-list {
    display: flex;
    gap: 25px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    position: relative;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 35px 8px 15px;
    border-radius: 20px;
    border: none;
    font-size: 0.85rem;
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 0.85rem;
    pointer-events: none;
}

.user-btn {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    font-size: 0.9rem !important;
    font-weight: 500;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    width: auto !important;
    height: auto !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.user-btn:hover {
    background-color: var(--accent-color) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    align-items: center;
}