/* ============================================================
   LAYOUT COMPARTIDO
============================================================ */

.app-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e7eb;
    padding: 14px 0;
}

.app-header-inner {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(72px, 1fr) auto minmax(72px, 1fr);
}

.app-header-brand {
    display: inline-flex;
    justify-content: center;
    min-width: 0;
}

.app-header-logo {
    display: block;
    height: auto;
    max-height: 60px;
    max-width: min(520px, 68vw);
    width: 100%;
}

.app-header-actions {
    display: flex;
    justify-content: flex-end;
}

.app-logout-button {
    background: #eaf6fb;
    border: 1px solid #9fd1e4;
    border-radius: 8px;
    color: #136f93;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    padding: 9px 12px;
}

.app-logout-button:hover {
    background: #dff1f8;
    border-color: #1577a1;
}

@media (max-width: 480px) {
    .app-header {
        padding: 10px 0;
    }

    .app-header-inner {
        grid-template-columns: 1fr auto;
    }

    .app-header-side:first-child {
        display: none;
    }

    .app-header-logo {
        max-height: 48px;
        max-width: 72vw;
    }

    .app-logout-button {
        font-size: 0.82rem;
        padding: 8px 10px;
    }
}
