/* =========================================================
   IDENTIDAD VISUAL VYV OFFICIAL
   Este archivo se carga al final para sobrescribir estilos.
   ========================================================= */

/* ---------- Sidebar: marca ---------- */
.sidebar-brand {
    gap: 14px;
    padding: 4px 10px 30px;
}

.sidebar-brand-logo {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;
    background: linear-gradient(145deg, #e6c4b2, #c9947c);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.sidebar-brand-logo img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

.sidebar-brand-text strong,
.sidebar-brand-text span {
    display: block;
}

.sidebar-brand-text strong {
    color: #f6ddd0;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.sidebar-brand-text span {
    margin-top: 2px;
    color: #cda58f;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ---------- Sidebar: navegación ---------- */
.sidebar .nav-link {
    color: rgba(255, 247, 242, 0.82);
    background: transparent;
}

.sidebar .nav-link:hover {
    color: #fff7f2;
    background: rgba(216, 180, 160, 0.13);
}

.sidebar .nav-link.active,
.sidebar .nav-group-toggle.active {
    color: #fffaf7;
    background: linear-gradient(135deg, #9b6a56, #7c4d3d);
    box-shadow: 0 10px 24px rgba(74, 42, 31, 0.3);
}

.sidebar .nav-link.active::before,
.sidebar .nav-group-toggle.active::before {
    background: #efc5af;
}

.nav-group-toggle {
    width: 100%;
    border: 0;
    color: inherit;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
}

.nav-group-toggle:focus-visible {
    outline: 2px solid #efc5af;
    outline-offset: 2px;
}

.submenu-link {
    color: rgba(245, 221, 208, 0.65);
}

.submenu-link:hover {
    color: #fff7f2;
    background: rgba(216, 180, 160, 0.1);
}

.submenu-link.active {
    color: #f7d8c7;
    background: rgba(197, 132, 101, 0.18);
}

.submenu-link.active::before {
    background: #e9b99f;
    box-shadow: 0 0 0 4px rgba(233, 185, 159, 0.1);
}

.logout-button {
    border-color: rgba(229, 190, 170, 0.18);
    color: #e6c8b8;
}

.logout-button:hover {
    color: #fff7f2;
    border-color: rgba(229, 190, 170, 0.34);
    background: rgba(216, 180, 160, 0.1);
}

/* ---------- Avatar de la administradora ---------- */
.user-avatar {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
    object-position: center;
}

.user-chip-text strong {
    color: #2c211d;
    font-size: 13px;
    font-weight: 700;
}

.user-chip-text span {
    color: #8e6757;
    font-size: 11px;
    font-weight: 400;
}

/* ---------- Login: marca ---------- */
.visual-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.visual-brand-logo {
    display: grid;
    width: 82px;
    height: 82px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 23px;
    background: linear-gradient(145deg, rgba(246, 221, 208, 0.96), rgba(205, 153, 129, 0.96));
    box-shadow: 0 18px 38px rgba(29, 18, 14, 0.24);
}

.visual-logo {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

.visual-brand-text strong,
.visual-brand-text span {
    display: block;
}

.visual-brand-text strong {
    color: #fff8f4;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1;
}

.visual-brand-text span {
    margin-top: 7px;
    color: #efc7b2;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.48em;
}

.eyebrow.light {
    color: #f2c7b1;
}

.visual-content h1 {
    color: #fff8f4;
}

.visual-content > p:last-child {
    color: rgba(255, 242, 235, 0.84);
}

@media (max-width: 900px) {
    .visual-brand {
        margin-bottom: 26px;
    }
}
