/* ============================================================
   Batocchio — Help & Support Page Styles
   Depends on: styles.css (shared base)
   ============================================================ */

/* ── Layout ── */
.support-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ── Sidebar ── */
.sidebar {
    flex: 0 0 220px;
    position: sticky;
    top: 30px;
}

.sidebar-title {
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #86868b;
    margin-bottom: 12px;
}

.sidebar nav a {
    display: block;
    padding: 7px 12px;
    border-radius: 8px;
    color: #424245;
    font-size: 0.88em;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 2px;
}

.sidebar nav a:hover {
    background: #e9f6f1;
    color: #0a8f73;
    text-decoration: none;
}

.sidebar nav a.active {
    background: #d9efe7;
    color: #0a8f73;
    font-weight: 600;
}

.sidebar nav a .nav-icon {
    margin-right: 6px;
}

/* ── Main content ── */
.support-main {
    flex: 1;
    min-width: 0;
}

/* ── Topic cards ── */
.topic-card {
    background: #f5f5f7;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 28px;
    scroll-margin-top: 30px;
}

.topic-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.topic-icon {
    font-size: 1.6em;
    line-height: 1;
}

.topic-title {
    font-size: 1.15em;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

/* ── Bullet points ── */
.points {
    list-style: none;
    margin: 0;
    padding: 0;
}

.points li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #424245;
    line-height: 1.5;
}

.points li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0a8f73;
}

/* ── Score tables ── */
.score-group {
    margin-top: 6px;
}

.score-group h3 {
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
    margin: 18px 0 6px;
}

.score-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e7;
    color: #424245;
}

.score-row:last-child {
    border-bottom: none;
}

.score-row .value {
    font-weight: 700;
    color: #0a8f73;
    font-variant-numeric: tabular-nums;
}

/* ── Tip callout ── */
.tip-callout {
    background: #eafaf4;
    border: 1px solid #a7e3cf;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 0.88em;
    color: #0a6b57;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.tip-callout-icon {
    font-size: 1.1em;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Back to top ── */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 42px;
    height: 42px;
    background: #0a8f73;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(10, 143, 115, 0.35);
    opacity: 0;
    transition: opacity 0.25s;
    text-decoration: none;
}

#back-to-top.visible {
    opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 720px) {
    .support-layout {
        flex-direction: column;
        gap: 0;
    }

    .sidebar {
        position: static;
        flex: none;
        width: 100%;
        background: #f5f5f7;
        border-radius: 12px;
        padding: 16px 20px;
        margin-bottom: 24px;
    }

    .sidebar nav {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .sidebar nav a {
        padding: 5px 10px;
        background: white;
        border-radius: 20px;
        font-size: 0.82em;
        margin: 0;
    }

    #back-to-top {
        right: 16px;
        bottom: 20px;
    }
}
