/* JamHero — musician discovery theme */

:root {
    --jh-bg: #0f0a1a;
    --jh-surface: #1a1229;
    --jh-surface-2: #241a36;
    --jh-border: #3d2d5c;
    --jh-text: #f3eef9;
    --jh-text-muted: #b8a8d4;
    --jh-primary: #f59e0b;
    --jh-primary-hover: #fbbf24;
    --jh-accent: #a855f7;
    --jh-success: #22c55e;
    --jh-error: #ef4444;
    --jh-warning: #eab308;
    --jh-radius: 12px;
    --jh-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --jh-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--jh-font);
    background: linear-gradient(160deg, var(--jh-bg) 0%, #1a0f2e 100%);
    color: var(--jh-text);
    min-height: 100vh;
    line-height: 1.5;
}

a { color: var(--jh-primary); text-decoration: none; }
a:hover { color: var(--jh-primary-hover); }

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.header {
    background: rgba(26, 18, 41, 0.95);
    border-bottom: 1px solid var(--jh-border);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--jh-text);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon { font-size: 1.5rem; }
.logo-icon.lg { font-size: 3rem; display: block; text-align: center; }

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-name { color: var(--jh-text-muted); font-size: 0.9rem; }
.badge-pro {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a0f2e;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: 1px solid #d97706;
    vertical-align: middle;
}

.nav {
    background: var(--jh-surface);
    border-bottom: 1px solid var(--jh-border);
}

.nav-list {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.nav-link {
    display: block;
    padding: 0.85rem 1rem;
    color: var(--jh-text-muted);
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--jh-primary);
    border-bottom-color: var(--jh-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--jh-text);
}

.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }

.text-secondary { color: var(--jh-text-muted); }
.text-center { text-align: center; }
.small { font-size: 0.85rem; }
.hidden { display: none !important; }

.card {
    background: var(--jh-surface);
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--jh-shadow);
}

.card-header { margin-bottom: 1rem; }
.card-header h2 { font-size: 1.15rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--jh-primary), #d97706);
    color: #1a0f2e;
    font-weight: 600;
}

.btn-primary:hover { filter: brightness(1.08); color: #1a0f2e; }

.btn-outline {
    background: transparent;
    border-color: var(--jh-border);
    color: var(--jh-text);
}

.btn-outline:hover { border-color: var(--jh-primary); color: var(--jh-primary); }

.btn-sm { padding: 0.35rem 0.65rem; font-size: 0.85rem; }
.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}
.btn-lg { padding: 0.75rem 1rem; font-size: 1rem; }

.btn-danger {
    background: var(--jh-error);
    border-color: var(--jh-error);
    color: #fff;
}

.btn-danger:hover { filter: brightness(1.08); color: #fff; }

.btn-outline.btn-danger {
    background: transparent;
    color: #fecaca;
    border-color: var(--jh-error);
}

.btn-outline.btn-danger:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #fecaca;
}

.card-danger {
    border-color: rgba(239, 68, 68, 0.35);
}

.admin-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
}

.admin-inline-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--jh-border);
}

.admin-inline-select {
    max-width: 12rem;
}

.admin-table-actions {
    white-space: nowrap;
}

.admin-search-form {
    margin-bottom: 1rem;
}

.admin-checkbox-spaced {
    margin-top: 1.75rem;
}

.admin-events {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--jh-border);
}

.admin-event-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.admin-event-list li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(61, 45, 92, 0.5);
}

.form-group { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label { display: block; margin-bottom: 0.35rem; color: var(--jh-text-muted); font-size: 0.9rem; }

.form-input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    background: var(--jh-surface-2);
    border: 1px solid var(--jh-border);
    border-radius: 8px;
    color: var(--jh-text);
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--jh-accent);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-error { background: rgba(239, 68, 68, 0.15); border: 1px solid var(--jh-error); color: #fecaca; }
.alert-success { background: rgba(34, 197, 94, 0.15); border: 1px solid var(--jh-success); color: #bbf7d0; }
.alert-warning { background: rgba(234, 179, 8, 0.15); border: 1px solid var(--jh-warning); color: #fef08a; }

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.auth-container { width: 100%; max-width: 420px; }
.auth-container.wide { max-width: 560px; }

.auth-card {
    background: var(--jh-surface);
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    padding: 2rem;
    box-shadow: var(--jh-shadow);
}

.auth-brand { text-align: center; margin-bottom: 1.5rem; }
.auth-brand h1 { margin: 0.5rem 0; }
.auth-links { text-align: center; margin-top: 1.25rem; color: var(--jh-text-muted); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--jh-surface);
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    padding: 1.25rem;
}

.stat-card.hero-stat {
    border-color: var(--jh-primary);
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.12), var(--jh-surface));
}

.stat-label { color: var(--jh-text-muted); font-size: 0.85rem; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--jh-primary); margin: 0.25rem 0; }
.stat-hint { font-size: 0.8rem; color: var(--jh-text-muted); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-card {
    background: var(--jh-surface);
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    padding: 1.25rem;
    color: inherit;
    transition: transform 0.15s, border-color 0.15s;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--jh-accent);
    color: inherit;
}

.feature-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }

.profile-dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.5rem 1rem;
}

.profile-dl dt { color: var(--jh-text-muted); }
.profile-dl.compact { font-size: 0.95rem; }

.discover-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1rem;
}

.discover-panel { min-height: 520px; }

.tab-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tab-btn {
    flex: 1;
    padding: 0.65rem;
    background: var(--jh-surface-2);
    border: 1px solid var(--jh-border);
    border-radius: 8px;
    color: var(--jh-text-muted);
    cursor: pointer;
}

.tab-btn.active {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--jh-primary);
    color: var(--jh-primary);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.map-container-wrap {
    position: relative;
}

.map-container {
    width: 100%;
    height: 480px;
    border-radius: var(--jh-radius);
    border: 1px solid var(--jh-border);
    background: var(--jh-surface-2);
}

.map-area-count {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--jh-text);
    background: rgba(26, 18, 41, 0.92);
    border: 1px solid var(--jh-border);
    box-shadow: var(--jh-shadow);
    pointer-events: none;
}

.map-area-count.hidden { display: none; }

.map-status { margin-top: 0.5rem; font-size: 0.9rem; }

.location-picker-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.location-picker-row .form-input {
    flex: 1;
    min-width: 0;
}

.location-hint {
    margin-top: 0.35rem;
}

/* Google Places dropdown above JamHero cards */
.pac-container {
    z-index: 10000;
    border-radius: 8px;
    border: 1px solid var(--jh-border);
    background: var(--jh-surface);
    color: var(--jh-text);
}

.pac-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.pac-item:hover {
    background: var(--jh-surface-2);
}

.swipe-deck {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jh-surface-2);
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    padding: 1.5rem;
}

.swipe-card {
    text-align: center;
}
.swipe-card-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid var(--jh-accent);
}
.swipe-card-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--jh-surface-2);
    border: 3px solid var(--jh-border);
}

.discover-sidebar .radius-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.discover-sidebar .radius-control input[type="range"] {
    flex: 1;
}
.discover-sidebar .radius-control output {
    min-width: 3.5rem;
    font-weight: 600;
}

.profile-photo-card .profile-avatar-row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    text-align: center;
}
.profile-avatar-preview {
    flex: 0 0 auto;
    margin: 0 auto;
}
.profile-avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--jh-accent);
    display: block;
}
.profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--jh-surface-2);
    border: 3px solid var(--jh-border);
}
.profile-avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
}
.profile-photo-hint {
    font-size: 0.85rem;
    margin: 0.25rem 0 0;
}
.profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.profile-gallery-item {
    margin: 0;
    text-align: center;
}
.profile-gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--jh-border);
}
.profile-gallery-upload-row {
    align-items: flex-end;
}

.open-mic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.open-mic-card {
    margin: 0;
}
.open-mic-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.open-mic-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.swipe-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.swipe-actions.hidden { display: none; }
.swipe-pass { min-width: 120px; }
.swipe-like { min-width: 120px; }

.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.match-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.match-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--jh-accent);
}

.match-header h3 {
    margin: 0;
}

.badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.badge-live {
    background: rgba(34, 197, 94, 0.2);
    color: var(--jh-success);
    border: 1px solid var(--jh-success);
}

.empty-state { text-align: center; padding: 2.5rem; }

.table-wrap { overflow-x: auto; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--jh-border);
    text-align: left;
}

.data-table th { color: var(--jh-text-muted); font-weight: 600; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--jh-text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--jh-border);
    margin-top: 2rem;
}
.footer-legal {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}
.footer-legal a {
    color: var(--jh-text-muted);
}

.match-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.match-card-link:hover h3 {
    color: var(--jh-accent);
}

.match-directions-btn {
    margin: 0 1rem 1rem;
}

.match-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
    border-top: 1px solid var(--jh-border);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}

.match-message-btn {
    font-weight: 600;
    min-height: 2.75rem;
}

.inline-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    margin-left: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    vertical-align: middle;
}

.nav-link {
    display: inline-flex;
    align-items: center;
}

.match-card .match-card-link {
    transition: transform 0.15s;
}

.match-card:hover {
    border-color: var(--jh-accent);
}

.match-card-cta {
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

.friend-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.friend-back {
    display: inline-block;
    margin-bottom: 0.35rem;
    text-decoration: none;
}

.friend-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.friend-actions .btn {
    min-height: 2.75rem;
}

.chat-panel {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    max-height: 70vh;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: var(--jh-bg-elevated, rgba(0, 0, 0, 0.15));
    border-radius: var(--jh-radius, 8px);
    margin-bottom: 0.75rem;
}

.chat-bubble {
    max-width: 85%;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    font-size: 0.95rem;
}

.chat-bubble.mine {
    align-self: flex-end;
    background: var(--jh-accent);
    color: #fff;
}

.chat-bubble.theirs {
    align-self: flex-start;
    background: var(--jh-surface);
    border: 1px solid var(--jh-border);
}

.chat-meta {
    font-size: 0.7rem;
    opacity: 0.75;
    margin-top: 0.25rem;
}

.chat-form {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    resize: vertical;
    min-height: 2.5rem;
}

.audio-sample-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.audio-sample-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--jh-border);
}

.audio-sample-item:last-child {
    border-bottom: none;
}

.audio-sample-item audio {
    width: 100%;
    margin-top: 0.35rem;
}

.audio-caption {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.audio-upload-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--jh-border);
}

.terms-body h2 {
    font-size: 1.05rem;
    margin: 1.25rem 0 0.5rem;
}

.terms-body ul {
    padding-left: 1.25rem;
}

.inline-form {
    display: inline;
}

.friend-invite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.friend-invite-option {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    cursor: pointer;
    background: var(--jh-surface);
}

.friend-invite-option:hover {
    border-color: var(--jh-accent);
}

.friend-invite-option input[type="checkbox"] {
    margin-right: 0.35rem;
}

.friend-invite-option span:first-of-type {
    font-weight: 600;
}

.jam-invite-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.jam-invite-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--jh-border);
}

.jam-room-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.jam-room-main {
    grid-column: 1 / -1;
}

.metronome-display {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--jh-accent);
}

.jam-countdown {
    font-size: 1.25rem;
    color: var(--jh-success);
}

.member-list, .track-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-list li, .track-list li {
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--jh-border);
}

/* Jam room studio layout */
.jam-room-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.jam-room-menu-wrap {
    position: relative;
}

.jam-room-menu-panel {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 20;
    min-width: 12rem;
    background: var(--jh-surface);
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.35rem 0;
}

.jam-room-menu-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.55rem 1rem;
    border: none;
    background: none;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}

.jam-room-menu-item:hover {
    background: var(--jh-surface-variant, rgba(0, 0, 0, 0.04));
}

.jam-room-studio {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1rem;
    align-items: start;
}

.jam-room-stage {
    min-height: 18rem;
}

.jam-room-stage-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.jam-phase-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    background: var(--jh-surface-variant, rgba(0, 0, 0, 0.06));
}

.jam-web-recording-panel {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--jh-border, rgba(0, 0, 0, 0.12));
    background: var(--jh-surface, #fafafa);
}

.jam-web-recording-panel.is-recording {
    border-color: #e53935;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.15);
}

.jam-web-rec-heading {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.jam-web-rec-status {
    margin: 0.65rem 0 0;
    font-size: 0.875rem;
    color: var(--jh-primary, #1565c0);
}

.jam-web-rec-status--error {
    color: #c62828;
}

.jam-waveform-placeholder {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent);
    border: 1px dashed var(--jh-border);
    border-radius: var(--jh-radius);
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.jam-waveform-bars {
    height: 4rem;
    margin-bottom: 0.5rem;
    background: repeating-linear-gradient(
        90deg,
        var(--jh-accent) 0 3px,
        transparent 3px 8px
    );
    opacity: 0.25;
    mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.jam-elapsed {
    font-size: 2rem;
    font-weight: 700;
    color: var(--jh-accent);
    margin: 0.5rem 0;
}

.jam-transport {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.jam-transport-step p {
    margin: 0.35rem 0 0;
}

.jam-overdub-panel {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    background: var(--jh-surface);
}

.jam-overdub-panel h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.jam-timeline {
    position: relative;
    height: 2.5rem;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    margin: 0.75rem 0 0.35rem;
    cursor: pointer;
    touch-action: none;
}

.jam-timeline-playhead {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #42a5f5;
    left: 0;
    transform: translateX(-50%);
    pointer-events: none;
}

.jam-timeline-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--jh-text-secondary, #666);
}

.jam-overdub-time-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    align-items: center;
}

.jam-overdub-time-row .form-input {
    flex: 1;
    max-width: 8rem;
}

.jam-member-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.jam-member-chip {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    min-width: 6.5rem;
}

.jam-member-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--jh-border);
    margin-bottom: 0.15rem;
}

.jam-member-dot--recording { background: #e53935; }
.jam-member-dot--ready { background: #43a047; }
.jam-member-dot--uploading { background: #fb8c00; }

/* Web Soundbooth */
.soundbooth-sidebar-card .btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

.soundbooth-mini-wrap {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--jh-border);
}

.soundbooth-mini-audio {
    width: 100%;
    margin-top: 0.35rem;
}

.soundbooth-page {
    max-width: 920px;
}

.soundbooth-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}

.soundbooth-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--jh-accent);
    margin: 0 0 0.25rem;
}

.soundbooth-meta {
    margin: 0.35rem 0 0;
}

.soundbooth-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.soundbooth-hero {
    background: linear-gradient(145deg, var(--jh-surface) 0%, color-mix(in srgb, var(--jh-accent) 8%, var(--jh-surface)) 100%);
    border: 1px solid color-mix(in srgb, var(--jh-accent) 25%, var(--jh-border));
}

.soundbooth-hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--jh-accent);
    margin-bottom: 0.5rem;
}

.soundbooth-hero-title {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
}

.soundbooth-hero-sub {
    margin: 0 0 1.25rem;
}

.soundbooth-empty-hero {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.soundbooth-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.soundbooth-empty-hero h2 {
    margin: 0 0 0.5rem;
}

.soundbooth-empty-hero p {
    max-width: 36rem;
    margin: 0 auto 1.25rem;
}

.soundbooth-player {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.soundbooth-player--hero {
    padding: 0.25rem 0;
}

.soundbooth-player-body {
    flex: 1;
    min-width: 0;
}

.soundbooth-play-btn {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    border: none;
    background: var(--jh-accent);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--jh-accent) 35%, transparent);
}

.soundbooth-play-btn:hover {
    filter: brightness(1.05);
}

.soundbooth-play-btn--sm {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.85rem;
}

.soundbooth-progress-wrap {
    position: relative;
    height: 6px;
    background: var(--jh-border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.soundbooth-progress-wrap--compact {
    margin-top: 0.5rem;
    height: 4px;
}

.soundbooth-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--jh-accent);
    border-radius: 999px;
    pointer-events: none;
}

.soundbooth-progress {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    height: 100%;
}

.soundbooth-time-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--jh-text-muted);
}

.soundbooth-track-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.soundbooth-track-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--jh-border);
}

.soundbooth-track-card:last-child {
    border-bottom: none;
}

.soundbooth-track-card.is-playing .soundbooth-track-title {
    color: var(--jh-accent);
}

.soundbooth-track-info {
    flex: 1;
    min-width: 0;
}

.soundbooth-track-title {
    display: block;
    font-weight: 600;
}

.soundbooth-track-meta {
    display: block;
    font-size: 0.85rem;
}

.soundbooth-time-current--inline {
    font-size: 0.8rem;
    color: var(--jh-text-muted);
    min-width: 2.5rem;
    text-align: right;
}

.soundbooth-roster {
    list-style: none;
    padding: 0;
    margin: 0;
}

.soundbooth-roster-note {
    margin: 0 0 1rem;
}

.soundbooth-roster-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--jh-border);
}

.soundbooth-roster-item:last-child {
    border-bottom: none;
}

.soundbooth-roster-text {
    flex: 1;
    min-width: 0;
}

.soundbooth-roster-status {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.soundbooth-roster-status--ready { color: #2e7d32; }
.soundbooth-roster-status--uploading { color: #ef6c00; }
.soundbooth-roster-status--recording { color: #c62828; }
.soundbooth-roster-status--pending { color: var(--jh-text-muted); }

.track-list-item {
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--jh-border);
}

.track-list-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: var(--jh-border);
    margin-right: 0.35rem;
}

.track-list-badge--ready { background: #e8f5e9; color: #2e7d32; }
.track-list-badge--uploading { background: #fff3e0; color: #ef6c00; }
.track-list-badge--recording { background: #ffebee; color: #c62828; }

.jam-track-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jam-track-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--jh-border);
    flex-wrap: wrap;
}

.jam-track-item:last-child {
    border-bottom: none;
}

.jam-track-item-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    flex: 1;
    min-width: 0;
}

.jam-track-item-title {
    font-weight: 600;
}

.jam-track-item-dur {
    font-size: 0.8rem;
}

.jam-track-item--playable {
    flex-direction: column;
    align-items: stretch;
}

.jam-track-inline-audio {
    width: 100%;
    margin-top: 0.5rem;
}

.jam-tracks-hint {
    margin: 0 0 0.75rem;
}

.soundbooth-trim-editor {
    display: grid;
    gap: 0.65rem;
    max-width: 28rem;
}

.soundbooth-trim-editor .btn {
    justify-self: start;
}

.jam-track-soundbooth-link {
    white-space: nowrap;
    flex-shrink: 0;
}

.jam-track-item--status .jam-track-item-title {
    font-weight: 500;
}

.jam-track-empty {
    padding: 0.25rem 0;
}

.soundbooth-player.is-focused,
.soundbooth-track-card.is-focused {
    outline: 2px solid var(--jh-accent);
    outline-offset: 4px;
    border-radius: var(--jh-radius);
}

/* Song Builder */
.song-builder-sidebar-card .btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

.song-builder-page {
    max-width: 920px;
}

.song-builder-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}

.song-builder-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--jh-text-muted);
    margin: 0 0 0.25rem;
}

.song-builder-meta {
    margin: 0.35rem 0 0;
}

.song-builder-header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.song-builder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.song-builder-member-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.song-builder-member-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--jh-border);
}

.song-builder-member-list li:last-child {
    border-bottom: none;
}

.song-builder-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.song-builder-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.song-builder-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 1rem 0 0.5rem;
}

.song-builder-source-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--jh-text-muted);
    margin-left: 0.5rem;
}

.song-builder-mood {
    font-size: 1.05rem;
    margin: 0.5rem 0;
}

.song-builder-section-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: sb-section;
}

.song-builder-section-item {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--jh-border);
    counter-increment: sb-section;
}

.song-builder-section-item:last-child {
    border-bottom: none;
}

.song-builder-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}

.song-builder-section-head strong::before {
    content: counter(sb-section) ". ";
    color: var(--jh-text-muted);
}

.song-builder-chords {
    margin: 0.35rem 0;
    font-family: ui-monospace, monospace;
}

.song-builder-role-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.song-builder-role-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--jh-border);
}

.song-builder-role-item:last-child {
    border-bottom: none;
}

.song-builder-role-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}

.song-builder-role-sections {
    margin: 0.75rem 0 0;
    display: grid;
    gap: 0.5rem;
}

.song-builder-role-sections dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--jh-text-muted);
}

.song-builder-role-sections dd {
    margin: 0.15rem 0 0;
}

.song-builder-cue-list {
    margin: 0;
    padding-left: 1.25rem;
}

.song-builder-cue-list li {
    margin-bottom: 0.35rem;
}

#song-builder-plan-wrap.is-empty {
    margin-top: 0;
}

.jam-click-track-panel {
    margin-top: 1rem;
}

.jam-click-track-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.jam-click-track-status {
    margin: 0.35rem 0 0;
}

.jams-actions-cell {
    white-space: nowrap;
}

.jams-actions-cell .btn {
    margin: 0.15rem 0;
}

.jams-actions-cell .btn + .btn {
    margin-left: 0.35rem;
}

@media (max-width: 768px) {
    .soundbooth-header-row,
    .song-builder-header-row {
        flex-direction: column;
    }
    .jams-actions-cell .btn {
        display: block;
        width: 100%;
        margin-left: 0 !important;
    }
}

.jams-list-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.jams-status-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.jams-status-filter .form-label {
    margin: 0;
    white-space: nowrap;
}

.jams-status-filter .form-input {
    min-width: 11rem;
    margin: 0;
}

.jams-filter-count {
    margin: 0 0 0.75rem;
}

@media (max-width: 900px) {
    .jam-room-studio {
        grid-template-columns: 1fr;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .jam-room-studio {
        grid-template-columns: 1.4fr 1fr;
    }
    .jam-waveform-placeholder {
        padding: 0.75rem;
    }
}

@media (max-width: 768px) {
    .jam-room-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .discover-layout { grid-template-columns: 1fr; }
    .nav-toggle { display: flex; }
    .nav { display: none; }
    .nav.open { display: block; }
    .nav-list { flex-direction: column; }
    .user-name { display: none; }
}

/* Admin client logs */
.admin-logs-filter .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.admin-logs-table .admin-logs-when {
    white-space: nowrap;
    font-size: 0.85rem;
}

.admin-logs-message {
    max-width: 420px;
    word-break: break-word;
}

.log-level {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.log-level--error { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.log-level--warn { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.log-level--info { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.log-level--debug { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }

.admin-log-detail {
    padding: 0.75rem 0;
}

.admin-log-pre {
    margin: 0.5rem 0 0;
    padding: 0.75rem;
    border-radius: 8px;
    background: var(--jh-surface-2);
    border: 1px solid var(--jh-border);
    overflow-x: auto;
    font-size: 0.82rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.pagination-info {
    color: var(--jh-text-muted);
    font-size: 0.9rem;
}

/* Solo quick start */
.jam-solo-quick-card {
    margin-bottom: 1rem;
    border: 1px solid color-mix(in srgb, var(--jh-accent) 35%, var(--jh-border));
}
.jam-solo-quick-row {
    align-items: flex-end;
}
.jam-solo-quick-title {
    flex: 1;
    min-width: 200px;
}
.jam-solo-quick-btn {
    flex: 0 0 auto;
}

/* Soundbooth mix board */
.soundbooth-mix-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.soundbooth-mix-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--jh-border);
}
.soundbooth-mix-gain {
    width: 120px;
    vertical-align: middle;
}
.soundbooth-mix-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.soundbooth-mix-status {
    margin-top: 0.5rem;
}
.btn.is-active {
    border-color: var(--jh-accent);
    color: var(--jh-accent);
}

/* Song Builder section takes */
.song-builder-take-pool {
    margin: 0.75rem 0 1rem;
    padding: 0.65rem;
    border-radius: 8px;
    background: var(--jh-surface-2);
    border: 1px dashed var(--jh-border);
}
.song-builder-take-chip {
    display: inline-block;
    margin: 0.2rem 0.35rem 0.2rem 0;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--jh-accent) 12%, var(--jh-surface));
    border: 1px solid var(--jh-border);
    cursor: grab;
    font-size: 0.85rem;
}
.song-builder-section-dropzone {
    margin: 0.5rem 0;
    padding: 0.55rem;
    min-height: 2.5rem;
    border-radius: 8px;
    border: 1px dashed var(--jh-border);
    background: var(--jh-surface-2);
}
.song-builder-section-dropzone.is-drag-over {
    border-color: var(--jh-accent);
    background: color-mix(in srgb, var(--jh-accent) 10%, var(--jh-surface-2));
}
.song-builder-assigned-take {
    margin-top: 0.35rem;
    font-size: 0.9rem;
}

/* In-person safety modal */
.meeting-safety-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}
.meeting-safety-dialog {
    width: 100%;
    max-width: 640px;
    max-height: min(90vh, 720px);
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--jh-warning);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.meeting-safety-dialog h2 {
    margin-top: 0;
    color: #fef08a;
}
.meeting-safety-list {
    margin: 0.75rem 0 1rem;
    padding-left: 1.25rem;
    line-height: 1.45;
}
.meeting-safety-list li {
    margin-bottom: 0.55rem;
}
.meeting-safety-legal {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}
.meeting-safety-dismiss {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
    font-weight: 600;
}
.meeting-safety-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* Location online / offline bar */
.location-status-bar {
    padding: 0.65rem 1rem;
    border-bottom: 2px solid var(--border-color, #333);
}
.location-status-offline {
    background: linear-gradient(90deg, #1a2e1a 0%, #0f1a0f 100%);
    border-bottom-color: #2d5a2d;
}
.location-status-online {
    background: linear-gradient(90deg, #3d1a1a 0%, #2a0f0f 100%);
    border-bottom-color: #8b3030;
}
.location-status-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}
.location-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.location-status-offline .location-status-dot {
    background: #4caf50;
    box-shadow: 0 0 8px #4caf50;
}
.location-status-online .location-status-dot {
    background: #f44336;
    box-shadow: 0 0 8px #f44336;
    animation: location-pulse 1.5s ease-in-out infinite;
}
@keyframes location-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}
.location-status-label {
    flex: 1;
    min-width: 200px;
    font-size: 0.95rem;
}
.location-status-actions {
    display: flex;
    gap: 0.5rem;
}
.btn-danger {
    background: #c62828;
    color: #fff;
    border: none;
}
.btn-danger:hover {
    background: #b71c1c;
}

/* Go online confirmation modal */
.go-online-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}
.go-online-overlay.hidden {
    display: none;
}
.go-online-dialog {
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid #c62828;
}
.go-online-dialog h2 {
    color: #ff6b6b;
    margin-top: 0;
}
.go-online-lead {
    font-size: 1.05rem;
    line-height: 1.5;
}
.go-online-list {
    margin: 0.75rem 0 1rem;
    padding-left: 1.25rem;
}
.go-online-list li {
    margin-bottom: 0.5rem;
    line-height: 1.45;
}
.go-online-subtitle {
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
}
.go-online-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* Discover offline gate */
.discover-offline-gate {
    margin-bottom: 1rem;
    padding: 1.25rem;
    border: 2px dashed #4caf50;
    border-radius: 8px;
    background: rgba(76, 175, 80, 0.08);
    text-align: center;
}
.discover-offline-gate h2 {
    margin-top: 0;
    color: #81c784;
}
.discover-offline-gate .btn {
    margin-top: 0.75rem;
}
.discover-layout-disabled {
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}

/* Dashboard go-online portal */
.go-online-portal {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 2px solid #4caf50;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.12) 0%, rgba(0, 0, 0, 0.2) 100%);
}
.go-online-portal.online-active {
    border-color: #c62828;
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.15) 0%, rgba(0, 0, 0, 0.2) 100%);
}
.go-online-portal h2 {
    margin-top: 0;
}

/* Profile User Agreement card */
.terms-profile-card.terms-required {
    border: 2px solid #e6a700;
    background: rgba(230, 167, 0, 0.08);
}
.terms-profile-card.terms-accepted {
    border-color: #2d5a2d;
}
.terms-summary-list {
    margin: 0.75rem 0 1rem;
    padding-left: 1.25rem;
}
.terms-summary-list li {
    margin-bottom: 0.45rem;
    line-height: 1.45;
}
.terms-accept-label {
    display: block;
    margin: 1rem 0;
    font-weight: 500;
}

.app-download-card .btn-lg {
    margin-top: 0.75rem;
}

.app-install-steps {
    margin: 1.25rem 0 0 1.25rem;
    color: var(--text-secondary, #b0b0b0);
}

.app-install-steps li {
    margin-bottom: 0.5rem;
    line-height: 1.45;
}
