/* app-shell.css — shared chrome for Selarys suite apps (Sage, Surety, Spectral, …).
   Single top nav row: app mark + "SELARYS <APP>" gradient wordmark, section tabs, identity + logout. */

#header.app-header {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 18px;
    border-bottom: 1px solid rgba(120, 134, 160, 0.16);
}

.app-header .header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 0;
    border-right: 1px solid rgba(120, 134, 160, 0.18);
    flex-shrink: 0;
}

.app-home {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    opacity: 0.96;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.app-home:hover { opacity: 1; transform: translateY(-1px); }
.app-mark { display: block; width: 28px; height: 28px; }

.app-wordmark {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 5px;
    background: linear-gradient(90deg, #00c8ff 0%, #7850ff 50%, #00ffb4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    padding-left: 2px;
}

.app-tabbar {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 10px;
    flex: 1;
    flex-wrap: wrap;
    min-width: 0;
}
.app-tab {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #8c97ab;
    text-decoration: none;
    padding: 12px 14px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.app-tab:hover { color: #e8ecf4; }
.app-tab.active {
    color: #00c8ff;
    border-bottom-color: #00c8ff;
    background: linear-gradient(180deg, transparent 28%, rgba(0, 200, 255, 0.14));
    box-shadow: 0 10px 22px -12px rgba(0, 200, 255, 0.65);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.session-status {
    font-size: 11px;
    color: var(--text-dim);
}

.app-logout {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.2) 0%, rgba(120, 80, 255, 0.2) 100%);
    border: 1px solid rgba(0, 200, 255, 0.25);
    color: #00c8ff;
    padding: 5px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}
.app-logout:hover {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.3) 0%, rgba(120, 80, 255, 0.3) 100%);
    border-color: rgba(0, 200, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.08);
    color: #00c8ff;
}
