/* =============================================
   WVCS — West Virginia Case Search
   Brand: Navy #002855, Gold #EAAA00
   ============================================= */

html {
    color-scheme: light;
}

:root {
    --wvcs-navy: #002855;
    --wvcs-navy-deep: #001a3a;
    --wvcs-gold: #EAAA00;
    --wvcs-text: #333333;
    --wvcs-text-muted: #6b7280;
    --wvcs-light-bg: #f5f6f8;
    --wvcs-border: #e5e7eb;
    --wvcs-white: #ffffff;
    --sidebar-w: 240px;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--wvcs-text);
    background-color: var(--wvcs-light-bg);
    min-height: 100vh;
    margin: 0;
}

/* =============================================
   Sidebar
   ============================================= */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    background: linear-gradient(180deg, var(--wvcs-navy) 0%, var(--wvcs-navy-deep) 100%);
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow: hidden;
    box-shadow: 2px 0 20px rgba(0,0,0,.12);
}


.sidebar-brand {
    height: auto;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 14px 12px 16px 12px;
    border-bottom: none;
    gap: 12px;
    justify-content: center;
}

.sidebar-logo-full {
    height: 54px;
    width: auto;
    flex-shrink: 0;
    display: block;
}

/* Dividers & Section Labels */
.nav-divider {
    height: 1px;
    background: rgba(255,255,255,.06);
    margin: 4px 14px;
}

.nav-section-label {
    padding: 14px 20px 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,.25);
    white-space: nowrap;
    transition: opacity .2s;
}

/* Nav Items */
.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 42px;
    padding: 0 20px;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all .15s ease;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
}

.nav-item svg {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
}

.nav-item:hover {
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.05);
    text-decoration: none;
}

.nav-item.active {
    color: var(--wvcs-gold);
    border-left-color: var(--wvcs-gold);
    background: rgba(234,170,0,.08);
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--wvcs-gold);
    color: var(--wvcs-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.sidebar-footer .user-meta {
    transition: opacity .2s;
    white-space: nowrap;
}

.user-meta .user-name {
    color: var(--wvcs-white);
    font-size: 13px;
    font-weight: 600;
}

.user-meta .user-logout {
    color: rgba(255,255,255,.4);
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    margin-top: 2px;
}

.user-meta .user-logout:hover {
    color: var(--wvcs-gold);
}

/* =============================================
   Main Content Wrap (with sidebar)
   ============================================= */
.main-wrap {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wvcs-main {
    flex: 1;
    padding: 0;
}

.dashboard-page {
    padding: 24px 32px;
}

/* WVCS gold action button */
.btn-wvcs-gold {
    background-color: var(--wvcs-gold);
    color: var(--wvcs-navy);
    border: 1px solid var(--wvcs-gold);
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 6px;
    transition: all .15s;
}

.btn-wvcs-gold:hover {
    background-color: #d99900;
    border-color: #d99900;
    color: var(--wvcs-navy);
}

.btn-wvcs-gold:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Field validation highlight */
.field-error {
    border-color: var(--wvcs-gold) !important;
    box-shadow: 0 0 0 2px rgba(234,170,0,0.18) !important;
}

/* Profile sidebar stat rows */
.profile-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--wvcs-border);
}

.profile-stat:last-child {
    border-bottom: none;
}

.profile-stat .label {
    font-size: 0.75rem;
    color: var(--wvcs-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-stat .value {
    font-weight: 700;
    color: var(--wvcs-navy);
    font-size: 0.95rem;
}

/* Admin Users table */
.admin-users-table {
    margin-bottom: 0;
}

.admin-users-table thead th {
    background: var(--wvcs-light-bg);
    color: var(--wvcs-navy);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--wvcs-border);
    padding: 12px 16px;
}

.admin-users-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--wvcs-border);
}

.admin-users-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-users-table .user-name-cell {
    font-weight: 600;
    color: var(--wvcs-navy);
    font-size: 0.9rem;
}

.admin-users-table .user-email-cell {
    color: var(--wvcs-text);
    font-size: 0.85rem;
}

.admin-users-table .user-meta-cell {
    color: var(--wvcs-text-muted);
    font-size: 0.8rem;
}

.owner-crown {
    color: var(--wvcs-gold);
    font-size: 0.85rem;
}

/* Role pill badges */
.badge.role-admin {
    background-color: var(--wvcs-navy);
    color: var(--wvcs-white);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 8px;
}

.badge.role-flag {
    background-color: var(--wvcs-gold);
    color: var(--wvcs-navy);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 8px;
}

/* Invitation status pills */
.badge.badge-pending {
    background-color: var(--wvcs-gold);
    color: var(--wvcs-navy);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 8px;
}

/* Edit User offcanvas */
.edit-user-panel { width: 460px !important; }

.edit-user-panel .edit-user-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wvcs-navy);
}

.edit-user-panel .edit-user-email {
    margin-top: 2px;
}

.role-switch {
    padding: 12px 16px 12px 56px;
    border: 1px solid var(--wvcs-border);
    border-radius: 8px;
    background: var(--wvcs-white);
    transition: border-color .15s, background .15s;
}

.role-switch:hover {
    border-color: var(--wvcs-gold);
    background: rgba(234,170,0,0.04);
}

.role-switch .form-check-input {
    width: 36px;
    height: 20px;
    margin-left: -48px;
    margin-top: 2px;
    cursor: pointer;
}

.role-switch .form-check-input:checked {
    background-color: var(--wvcs-navy);
    border-color: var(--wvcs-navy);
}

.role-switch .form-check-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.role-switch .form-check-label {
    cursor: pointer;
}

.role-switch .role-switch-name {
    display: block;
    font-weight: 600;
    color: var(--wvcs-navy);
    font-size: 0.9rem;
}

.role-switch .role-switch-help {
    display: block;
    font-size: 0.75rem;
    color: var(--wvcs-text-muted);
    margin-top: 2px;
}

/* Inline deactivate confirm */
.deactivate-confirm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--wvcs-text);
}

/* Dashboard tabs (Research Insights / User Activity) */
.dashboard-tabs {
    border-bottom: 2px solid var(--wvcs-border);
}

.dashboard-tabs .nav-link {
    color: var(--wvcs-text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 10px 20px;
    margin-bottom: -2px;
    transition: all .15s;
}

.dashboard-tabs .nav-link:hover {
    color: var(--wvcs-navy);
    background: transparent;
    border-color: transparent;
    border-bottom-color: rgba(234,170,0,0.4);
}

.dashboard-tabs .nav-link.active {
    color: var(--wvcs-navy);
    background: transparent;
    border-color: transparent;
    border-bottom-color: var(--wvcs-gold);
}

/* KPI day-since-login color states */
.kpi-value.days-green { color: #16a34a; }
.kpi-value.days-amber { color: #d9a000; }
.kpi-value.days-red   { color: #dc3545; }

/* Engagement legend */
.engagement-legend .legend-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--wvcs-text-muted);
}

.engagement-legend .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Extra-tall chart wrapper for the engagement matrix */
.dashboard-card-body .chart-wrap-xtall {
    height: 480px;
}

/* Attorney detail offcanvas panel */
.attorney-detail-panel { width: 420px !important; }

.attorney-detail-panel .attorney-detail-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--wvcs-navy);
}

.attorney-detail-panel .attorney-detail-tier {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 10px;
    background: var(--wvcs-light-bg);
    border: 1px solid var(--wvcs-border);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--wvcs-navy);
}

.attorney-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.attorney-detail-stat {
    padding: 12px 14px;
    background: var(--wvcs-light-bg);
    border: 1px solid var(--wvcs-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.attorney-detail-stat .value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--wvcs-navy);
}

.attorney-detail-stat .label {
    font-size: 0.72rem;
    color: var(--wvcs-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

/* Feature adoption tracker */
.feature-adoption-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-row {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 16px;
    align-items: center;
}

.feature-row .feature-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wvcs-navy);
}

.feature-row .feature-bar-wrap {
    position: relative;
    height: 10px;
    background: #E9ECEF;
    border-radius: 999px;
    overflow: hidden;
}

.feature-row .feature-bar {
    position: absolute;
    inset: 0 auto 0 0;
    background: linear-gradient(90deg, #EAAA00, #EAC04A);
    border-radius: 999px;
    transition: width .8s ease-out;
}

.feature-row .feature-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.feature-row .feature-pct {
    font-weight: 700;
    color: var(--wvcs-navy);
}

.feature-row .feature-users {
    color: var(--wvcs-text-muted);
    font-size: 0.72rem;
}

/* Query Depth funnel */
.query-depth-funnel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.funnel-stage {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.funnel-stage-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--wvcs-navy);
}

.funnel-stage-bar-wrap {
    width: 100%;
    background: #E9ECEF;
    border-radius: 6px;
    overflow: hidden;
    height: 32px;
}

.funnel-stage-bar {
    height: 100%;
    background: linear-gradient(90deg, #EAAA00, #D99900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    color: var(--wvcs-white);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: width .8s ease-out;
}

.funnel-stage-bar .funnel-stage-count { }
.funnel-stage-bar .funnel-stage-pct { opacity: 0.9; font-size: 0.75rem; }

/* Onboarding list */
.onboarding-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.onboarding-row {
    display: grid;
    grid-template-columns: 140px 1fr 80px auto;
    gap: 12px;
    align-items: center;
}

.onboarding-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wvcs-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.onboarding-bar-wrap {
    height: 8px;
    background: #E9ECEF;
    border-radius: 999px;
    overflow: hidden;
}

.onboarding-bar {
    height: 100%;
    background: linear-gradient(90deg, #EAAA00, #EAC04A);
    border-radius: 999px;
    transition: width .8s ease-out;
}

.onboarding-status {
    font-size: 0.75rem;
    color: var(--wvcs-text-muted);
    text-align: right;
    white-space: nowrap;
}

.onboarding-milestones {
    display: flex;
    gap: 4px;
}

.onboarding-milestones .milestone-done {
    color: var(--wvcs-gold);
    font-size: 0.85rem;
}

.onboarding-milestones .milestone-pending {
    color: var(--wvcs-border);
    font-size: 0.85rem;
}

/* Retention signals */
.retention-card {
    border-top: 3px solid #ffc107;
}

.retention-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.retention-alert {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,193,7,0.08);
    border: 1px solid rgba(255,193,7,0.4);
    border-radius: 8px;
}

.retention-alert-icon {
    color: #ffc107;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.retention-alert-body {
    flex: 1 1 auto;
    min-width: 0;
}

.retention-alert-title {
    font-weight: 600;
    color: var(--wvcs-navy);
    font-size: 0.9rem;
}

.retention-alert-meta {
    font-size: 0.75rem;
    color: var(--wvcs-text-muted);
    margin-top: 2px;
}

.retention-alert-actions {
    flex-shrink: 0;
}

/* Session timeline */
.session-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.session-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--wvcs-border);
    border-radius: 8px;
    background: var(--wvcs-white);
    transition: border-color .15s, box-shadow .15s;
}

.session-row:hover {
    border-color: var(--wvcs-gold);
    box-shadow: 0 2px 8px rgba(234,170,0,0.1);
}

.session-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--wvcs-navy);
    color: var(--wvcs-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.session-main {
    flex: 1 1 auto;
    min-width: 0;
}

.session-name {
    font-weight: 600;
    color: var(--wvcs-navy);
    font-size: 0.9rem;
}

.session-meta {
    font-size: 0.75rem;
    color: var(--wvcs-text-muted);
    margin-top: 2px;
}

@media (max-width: 768px) {
    .onboarding-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .onboarding-status, .onboarding-milestones { text-align: left; }
}

@media (max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* =============================================
   Footer
   ============================================= */
.wvcs-footer {
    background-color: var(--wvcs-navy-deep);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    padding: 14px 28px;
    text-align: center;
}

/* =============================================
   Login Page (no sidebar)
   ============================================= */
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 150px);
    background-color: var(--wvcs-light-bg);
}

.login-card {
    background: var(--wvcs-white);
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 420px;
    width: 100%;
}

.login-card .login-logo {
    text-align: center;
    margin-bottom: 10px;
}

.login-card .login-logo img {
    height: 60px;
}

.login-card .login-tagline {
    text-align: center;
    color: var(--wvcs-navy);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 30px;
}

.login-card .btn-wvcs {
    background-color: var(--wvcs-navy);
    border-color: var(--wvcs-navy);
    color: var(--wvcs-white);
    width: 100%;
    padding: 10px;
    font-weight: 600;
}

.login-card .btn-wvcs:hover {
    background-color: var(--wvcs-navy-deep);
    border-color: var(--wvcs-navy-deep);
}

/* Navbar for login page only */
.wvcs-navbar {
    background-color: var(--wvcs-navy);
    padding: 10px 20px;
}

.wvcs-navbar .navbar-brand img {
    height: 38px;
}

/* =============================================
   Search Page
   ============================================= */
.search-header {
    background-color: var(--wvcs-navy-deep);
    padding: 20px 32px;
}

.search-bar {
    display: flex;
    gap: 10px;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    background: rgba(255,255,255,.96);
}

.search-bar input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(234, 170, 0, 0.3);
}

.btn-search {
    background-color: var(--wvcs-gold);
    color: var(--wvcs-navy);
    border: none;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 6px;
    white-space: nowrap;
    font-family: inherit;
    transition: background .15s;
}

.btn-search:hover {
    background-color: #d49900;
    color: var(--wvcs-navy);
}

.btn-search:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Search Loading */
.search-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--wvcs-navy);
    display: none;
}

.search-loading .spinner-border {
    color: var(--wvcs-gold);
    width: 3rem;
    height: 3rem;
}

/* Results Panels */
.results-container {
    display: none;
    padding: 28px 32px;
}

.answer-panel {
    background: var(--wvcs-white);
    border: 1px solid var(--wvcs-border);
    border-radius: 10px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.answer-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wvcs-navy), var(--wvcs-gold));
    border-radius: 10px 10px 0 0;
}

.answer-panel .answer-text {
    white-space: pre-wrap;
    line-height: 1.8;
    font-size: 0.95rem;
}

.answer-panel .reasoning-text {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--wvcs-text-muted);
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--wvcs-border);
    line-height: 1.6;
}

/* Precedent Strength Badges */
.badge-strong {
    background-color: #16a34a;
    color: var(--wvcs-white);
}

.badge-moderate {
    background-color: #ffc107;
    color: var(--wvcs-text);
}

.badge-limited {
    background-color: #dc3545;
    color: var(--wvcs-white);
}

.badge-unknown {
    background-color: #6c757d;
    color: var(--wvcs-white);
}

/* Citation Cards */
.citation-card {
    background: var(--wvcs-white);
    border: 1px solid var(--wvcs-border);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 12px;
    transition: border-color .15s, box-shadow .15s;
}

.citation-card:hover {
    border-color: var(--wvcs-gold);
    box-shadow: 0 2px 12px rgba(234,170,0,.1);
}

.citation-card .case-name {
    font-weight: 700;
    color: var(--wvcs-navy);
    font-size: 0.95rem;
}

.citation-card .case-meta {
    font-size: 0.8rem;
    color: var(--wvcs-text-muted);
    margin-top: 3px;
}

.citation-card .holding-snippet {
    font-size: 0.85rem;
    margin-top: 10px;
    line-height: 1.5;
    color: var(--wvcs-text-muted);
}

.citation-card .badge-majority {
    background-color: var(--wvcs-navy);
    color: var(--wvcs-white);
    font-size: 0.7rem;
}

.citation-card .badge-dissent {
    background-color: var(--wvcs-gold);
    color: var(--wvcs-navy);
    font-size: 0.7rem;
}

.citation-card .badge-outcome {
    background-color: var(--wvcs-light-bg);
    color: var(--wvcs-text);
    border: 1px solid var(--wvcs-border);
    font-size: 0.7rem;
}

.citation-card .pdf-link {
    color: var(--wvcs-navy);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.citation-card .pdf-link:hover {
    color: var(--wvcs-gold);
}

/* Court-type badges on opinion cards */
.citation-card .badge-court-sca {
    background-color: var(--wvcs-navy);
    color: var(--wvcs-white);
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}

.citation-card .badge-court-ica {
    background-color: var(--wvcs-white);
    color: var(--wvcs-navy);
    border: 1px solid var(--wvcs-navy);
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}

/* Statute citation cards */
.statute-card {
    background: var(--wvcs-white);
    border: 1px solid var(--wvcs-border);
    border-left: 3px solid var(--wvcs-gold);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 12px;
    transition: border-color .15s, box-shadow .15s;
}

.statute-card:hover {
    border-color: var(--wvcs-gold);
    box-shadow: 0 2px 12px rgba(234, 170, 0, .1);
}

.statute-card .statute-header {
    gap: 10px;
}

.statute-card .statute-citation {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-weight: 700;
    color: var(--wvcs-navy);
    font-size: 0.95rem;
}

/* Shared copy button — used on both opinion and statute cards */
.copy-btn {
    background: transparent;
    border: 1px solid var(--wvcs-border);
    color: var(--wvcs-text-muted);
    font-size: 0.8rem;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all .15s;
    flex-shrink: 0;
}

.copy-btn:hover {
    border-color: var(--wvcs-gold);
    color: var(--wvcs-navy);
    background: var(--wvcs-light-bg);
}

.copy-btn i {
    font-size: 0.85rem;
}

.citation-card .citation-header {
    gap: 10px;
}

.citation-card .citation-header .case-name {
    flex: 1 1 auto;
    min-width: 0;
}

.statute-card .statute-title {
    font-weight: 600;
    color: var(--wvcs-text);
    font-size: 0.9rem;
    margin-top: 4px;
}

.statute-card .statute-context {
    font-size: 0.75rem;
    color: var(--wvcs-text-muted);
    margin-top: 2px;
}

.statute-card .statute-snippet {
    font-size: 0.85rem;
    margin-top: 10px;
    padding-left: 12px;
    border-left: 2px solid var(--wvcs-gold);
    line-height: 1.5;
    color: var(--wvcs-text-muted);
}

.statute-card .statute-full-text {
    font-size: 0.85rem;
    margin-top: 10px;
    padding: 12px;
    background: var(--wvcs-light-bg);
    border-radius: 6px;
    line-height: 1.6;
    color: var(--wvcs-text);
    max-height: 400px;
    overflow-y: auto;
}

.statute-card .statute-full-text-toggle {
    color: var(--wvcs-navy);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.statute-card .statute-full-text-toggle:hover {
    color: var(--wvcs-gold);
}

/* Inline citations in answer text */
.inline-citation {
    color: var(--wvcs-gold);
    font-weight: 700;
}

/* Share button + panel */
.share-btn {
    border-color: var(--wvcs-border);
    color: var(--wvcs-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.share-btn:hover {
    border-color: var(--wvcs-gold);
    color: var(--wvcs-navy);
    background: rgba(234,170,0,0.06);
}

.share-panel { width: 460px !important; }

/* ======================================================
   Dashboard
   ====================================================== */
.dashboard-header { gap: 12px; }

.dashboard-filters .dashboard-filter {
    min-width: 160px;
}

.kpi-card {
    background: var(--wvcs-white);
    border: 1px solid var(--wvcs-border);
    border-top: 3px solid var(--wvcs-gold);
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.kpi-card .kpi-icon {
    color: var(--wvcs-gold);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.kpi-card .kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wvcs-navy);
    line-height: 1.1;
}

.kpi-card .kpi-label {
    font-size: 0.85rem;
    color: var(--wvcs-text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kpi-card .kpi-trend {
    font-size: 0.75rem;
    margin-top: 10px;
}

.kpi-card .kpi-trend .trend-up { color: #16a34a; font-weight: 700; }
.kpi-card .kpi-trend .trend-down { color: #dc3545; font-weight: 700; }

.dashboard-card {
    background: var(--wvcs-white);
    border: 1px solid var(--wvcs-border);
    border-top: 3px solid var(--wvcs-gold);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: 100%;
    position: relative;
}

/* Skeleton loaders */
.dashboard-card .skeleton-overlay {
    display: none;
    position: absolute;
    inset: 24px;
    background: var(--wvcs-white);
    border-radius: 8px;
    pointer-events: none;
    animation: wvcs-pulse 1.5s ease-in-out infinite;
}

.dashboard-card[data-loading="true"] .skeleton-overlay { display: block; }

@keyframes wvcs-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.skeleton-overlay .skeleton-line {
    height: 12px;
    background: #E9ECEF;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-overlay .skeleton-line.wide { width: 70%; }
.skeleton-overlay .skeleton-line.medium { width: 45%; }

.skeleton-overlay .skeleton-chart {
    height: calc(100% - 60px);
    background: #E9ECEF;
    border-radius: 8px;
    margin-top: 16px;
    min-height: 140px;
}

/* Word cloud wrap */
.wordcloud-wrap {
    position: relative;
    width: 100%;
    min-height: 380px;
    background: var(--wvcs-white);
    border-radius: 6px;
}

.wordcloud-wrap canvas {
    display: block;
    width: 100%;
    max-width: 100%;
}

.wordcloud-wrap .wordcloud-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-card-head { margin-bottom: 16px; }

.dashboard-card-body .chart-wrap {
    position: relative;
    height: 280px;
}

.dashboard-card-body .chart-wrap-tall {
    height: 380px;
}

.dashboard-insight {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--wvcs-border);
    font-size: 0.85rem;
    color: var(--wvcs-text-muted);
    line-height: 1.5;
}

/* Recent Queries list */
.recent-queries {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-query-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid var(--wvcs-border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .15s;
    background: var(--wvcs-white);
}

.recent-query-row:hover {
    border-color: var(--wvcs-gold);
    box-shadow: 0 2px 8px rgba(234,170,0,0.12);
    transform: translateX(2px);
}

.recent-query-main { flex: 1 1 auto; min-width: 0; }

.recent-query-title {
    font-weight: 600;
    color: var(--wvcs-navy);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-query-meta {
    font-size: 0.75rem;
    color: var(--wvcs-text-muted);
    margin-top: 3px;
}

.recent-query-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-shrink: 0;
}

/* Activity Heatmap */
.heatmap-container {
    overflow-x: auto;
    padding-bottom: 6px;
}

.heatmap-grid {
    display: inline-block;
    min-width: 100%;
}

.heatmap-months {
    display: grid;
    grid-template-columns: 22px repeat(53, 13px);
    margin-bottom: 4px;
    height: 14px;
}

.heatmap-month-label {
    font-size: 0.65rem;
    color: var(--wvcs-text-muted);
    white-space: nowrap;
    grid-row: 1;
}

.heatmap-row {
    display: grid;
    grid-template-columns: 22px repeat(53, 13px);
    gap: 2px;
    margin-bottom: 2px;
    align-items: center;
}

.heatmap-day-label {
    font-size: 0.65rem;
    color: var(--wvcs-text-muted);
    text-align: right;
    padding-right: 4px;
    line-height: 11px;
}

.heatmap-cell {
    width: 11px;
    height: 11px;
    border-radius: 2px;
    background: #EEEEEE;
    cursor: default;
}

.heatmap-cell-empty { background: transparent; }
.heatmap-lvl-0 { background: #EEEEEE; }
.heatmap-lvl-1 { background: rgba(234,170,0,0.27); }
.heatmap-lvl-2 { background: rgba(234,170,0,0.53); }
.heatmap-lvl-3 { background: rgba(234,170,0,0.73); }
.heatmap-lvl-4 { background: #EAAA00; }

.heatmap-cell:hover {
    outline: 1px solid var(--wvcs-navy);
    outline-offset: 1px;
}

/* Statute Usage offcanvas panel */
.statute-usage-panel { width: 480px !important; }

.statute-usage-panel .statute-usage-citation {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-weight: 700;
    color: var(--wvcs-navy);
    font-size: 1.1rem;
}

.statute-usage-panel .statute-usage-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 4px;
    color: var(--wvcs-text);
}

.statute-usage-panel .statute-usage-context {
    font-size: 0.78rem;
    color: var(--wvcs-text-muted);
    margin-top: 2px;
}

.statute-usage-panel .statute-usage-text {
    margin-top: 14px;
    padding: 12px;
    background: var(--wvcs-light-bg);
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--wvcs-text);
    max-height: 280px;
    overflow-y: auto;
}

.statute-usage-query-row {
    padding: 10px 12px;
    border: 1px solid var(--wvcs-border);
    border-radius: 6px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all .15s;
}

.statute-usage-query-row:hover {
    border-color: var(--wvcs-gold);
    box-shadow: 0 2px 6px rgba(234,170,0,0.12);
}

.statute-usage-query-title {
    font-weight: 600;
    color: var(--wvcs-navy);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.statute-usage-query-meta {
    font-size: 0.7rem;
    color: var(--wvcs-text-muted);
    margin-top: 2px;
}

/* Dashboard prompt on search results */
.dashboard-prompt {
    margin: 8px 0 16px;
    padding: 10px 16px;
    background: rgba(234,170,0,0.08);
    border-left: 3px solid var(--wvcs-gold);
    border-radius: 6px;
}

.dashboard-prompt a {
    color: var(--wvcs-navy);
    font-weight: 600;
    text-decoration: none;
}

.dashboard-prompt a:hover {
    color: var(--wvcs-gold);
}

/* Execution info */
.execution-info {
    font-size: 0.72rem;
    color: #aaa;
    margin-top: 10px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state img {
    height: 80px;
    opacity: 0.3;
    margin-bottom: 16px;
}

/* =============================================
   History Page
   ============================================= */
.history-container {
    padding: 28px 32px;
}

.community-container {
    padding: 28px 32px;
    max-width: 800px;
}

.history-search {
    max-width: 500px;
    flex: 1 1 320px;
}

.history-filters {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.history-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.history-filters-row + .history-filters-row {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #eee;
}

.history-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-chip {
    border: 1px solid #d0d7de;
    background: #f6f8fa;
    color: #555;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
}

.filter-chip:hover {
    background: #eaeef2;
}

.filter-chip.active {
    background: var(--wvcs-navy, #002855);
    border-color: var(--wvcs-navy, #002855);
    color: #fff;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
}

.filter-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}

.filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: #333;
}

.filter-checkboxes label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    cursor: pointer;
}

.history-filters-custom {
    gap: 8px;
}

.history-filters-custom .filter-label {
    margin-right: 4px;
}

.history-filters-custom .form-control {
    max-width: 170px;
}

.history-filters-custom input[type="date"] {
    color-scheme: light;
}

#selResearchers {
    min-width: 200px;
}

.filter-actions {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.history-table .query-researcher {
    font-size: 0.85rem;
    color: #555;
}

.history-table .precedent-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.precedent-badge.precedent-strong   { background: #e6f4ea; color: #1e7e34; }
.precedent-badge.precedent-moderate { background: #fff4e5; color: #b36b00; }
.precedent-badge.precedent-limited  { background: #fdecea; color: #a9321f; }
.precedent-badge.precedent-unknown,
.precedent-badge.precedent-none     { background: #f1f3f5; color: #6b7280; }

.history-table .history-row {
    cursor: pointer;
    transition: background-color 0.15s;
}

.history-table .history-row:hover {
    background-color: rgba(234,170,0,.04);
}

.history-table .query-title {
    font-weight: 600;
    color: var(--wvcs-navy);
}

.history-table .query-date {
    font-size: 0.8rem;
    color: #999;
}

/* =============================================
   Profile Page
   ============================================= */
.profile-container {
    padding: 28px 32px;
}

.profile-card {
    background: var(--wvcs-white);
    border: 1px solid var(--wvcs-border);
    border-radius: 10px;
    padding: 28px;
    max-width: 700px;
}

.btn-wvcs-gold {
    background-color: var(--wvcs-gold);
    color: var(--wvcs-navy);
    border: none;
    padding: 10px 28px;
    font-weight: 700;
    border-radius: 6px;
    font-family: inherit;
    transition: background .15s;
}

.btn-wvcs-gold:hover {
    background-color: #d49900;
    color: var(--wvcs-navy);
}

/* =============================================
   Mobile Header (hidden on desktop)
   ============================================= */
.mobile-header {
    display: none;
}

.sidebar-backdrop {
    display: none;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 900px) {
    .results-container .row { flex-direction: column; }
}

@media (max-width: 768px) {
    /* Show mobile header */
    .mobile-header {
        display: flex;
        align-items: center;
        gap: 12px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 54px;
        background: var(--wvcs-navy);
        padding: 0 16px;
        z-index: 110;
    }

    .mobile-hamburger {
        background: none;
        border: none;
        color: rgba(255,255,255,.8);
        padding: 4px;
        cursor: pointer;
        line-height: 1;
    }

    .mobile-hamburger:hover {
        color: var(--wvcs-white);
    }

    .mobile-logo {
        height: 32px;
        width: auto;
    }

    /* Hide sidebar by default, slide in when open */
    .sidebar {
        transform: translateX(-100%);
        transition: transform .25s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    /* Hide the logo in sidebar on mobile — it's in the mobile header */
    .sidebar .sidebar-brand {
        display: none;
    }

    /* Backdrop */
    .sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        z-index: 99;
    }

    .sidebar-backdrop.visible {
        display: block;
    }

    /* Main content full-width, offset for mobile header */
    .main-wrap {
        margin-left: 0;
        padding-top: 54px;
    }

    /* Tighten spacing */
    .search-header {
        padding: 14px 16px;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-bar input {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .btn-search {
        padding: 10px 20px;
    }

    .results-container {
        padding: 16px;
    }

    .answer-panel {
        padding: 18px;
    }

    .history-container {
        padding: 16px;
    }

    .community-container {
        padding: 16px;
    }

    .profile-container {
        padding: 16px;
    }

    .wvcs-footer {
        padding: 12px 16px;
    }
}

/* =============================================
   Utilities
   ============================================= */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--wvcs-gold);
}

.text-navy {
    color: var(--wvcs-navy);
}

.text-gold {
    color: var(--wvcs-gold);
}

.bg-navy {
    background-color: var(--wvcs-navy);
}

/* ── Subscribe view ── */
.subscribe-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.subscribe-header {
    text-align: center;
    margin-bottom: 28px;
}

.non-admin-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--wvcs-white);
    border: 1px solid var(--wvcs-border);
    border-radius: 12px;
    color: var(--wvcs-gold);
}

.non-admin-message h4 {
    margin-top: 8px;
}

.billing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
}

.billing-toggle-label {
    font-weight: 600;
    color: var(--wvcs-text-muted);
    cursor: pointer;
    user-select: none;
}

.billing-toggle-label.active {
    color: var(--wvcs-navy);
}

.billing-toggle {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    cursor: pointer;
}

.billing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.billing-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--wvcs-border);
    border-radius: 24px;
    transition: background .2s ease;
}

.billing-toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: var(--wvcs-white);
    border-radius: 50%;
    transition: transform .2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.billing-toggle input:checked + .billing-toggle-slider {
    background: var(--wvcs-gold);
}

.billing-toggle input:checked + .billing-toggle-slider::before {
    transform: translateX(22px);
}

.billing-save-badge {
    background: #e6f4ea;
    color: #1e7e34;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.plan-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 992px) {
    .plan-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .plan-cards-grid {
        grid-template-columns: 1fr;
    }
}

.plan-card {
    background: var(--wvcs-white);
    border: 2px solid var(--wvcs-border);
    border-radius: 14px;
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    cursor: pointer;
}

.plan-card:hover:not(.plan-disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,40,85,.12);
}

.plan-card-selected {
    border-color: var(--wvcs-gold);
    box-shadow: 0 10px 30px rgba(234,170,0,.18);
}

.plan-card-featured {
    border-color: var(--wvcs-gold);
    border-width: 3px;
    box-shadow: 0 15px 40px rgba(0,40,85,.14);
}

.plan-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--wvcs-gold);
    color: var(--wvcs-navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-card-current {
    border-color: #1e7e34;
    box-shadow: 0 0 0 2px rgba(30,126,52,.15);
}

.plan-card-current::before {
    content: 'Current Plan';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e6f4ea;
    color: #1e7e34;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.plan-disabled {
    opacity: .5;
    cursor: not-allowed;
}

.plan-card-header {
    border-bottom: 1px solid var(--wvcs-border);
    padding-bottom: 14px;
    margin-bottom: 14px;
    text-align: center;
}

.plan-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--wvcs-navy);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wvcs-navy);
    line-height: 1.1;
}

.plan-period {
    font-size: 12px;
    color: var(--wvcs-text-muted);
    margin-bottom: 6px;
}

.plan-seats {
    font-size: 12px;
    color: var(--wvcs-text-muted);
    font-weight: 600;
}

.plan-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plan-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--wvcs-text);
}

.plan-card-body ul li {
    padding: 4px 0;
    border-bottom: 1px dashed var(--wvcs-border);
}

.plan-card-body ul li:last-child {
    border-bottom: none;
}

.plan-setup-fee {
    font-size: 11px;
    color: var(--wvcs-text-muted);
    text-align: center;
    margin-bottom: 12px;
    font-style: italic;
}

.plan-disabled-tip {
    font-size: 11px;
    color: #a9321f;
    text-align: center;
    margin-top: 10px;
}

.coupon-row {
    max-width: 520px;
    margin: 0 auto 28px;
    background: var(--wvcs-white);
    border: 1px solid var(--wvcs-border);
    border-radius: 10px;
    padding: 18px 20px;
}

.coupon-input-wrap {
    display: flex;
    gap: 10px;
}

.coupon-input-wrap .form-control {
    text-transform: uppercase;
}

.coupon-result {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    display: none;
}

.coupon-result.text-success,
.coupon-result.text-danger {
    display: block;
}

.subscribe-footer {
    text-align: center;
    color: var(--wvcs-text-muted);
    font-size: 13px;
    padding-top: 16px;
    border-top: 1px solid var(--wvcs-border);
}

/* ── Paywall banners ── */
.trial-banner,
.pastdue-banner,
.cancellation-banner {
    color: var(--wvcs-white);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    font-size: 14px;
    font-weight: 500;
}

.trial-banner {
    background: linear-gradient(135deg, var(--wvcs-navy), #003f7f);
    border-bottom: 3px solid var(--wvcs-gold);
}

.pastdue-banner {
    background: #7B2D2D;
    border-bottom: 3px solid #E85D4A;
}

.cancellation-banner {
    background: #6B4226;
    border-bottom: 3px solid var(--wvcs-gold);
}

.trial-banner-cta,
.cancellation-banner-cta {
    background: var(--wvcs-gold);
    color: var(--wvcs-navy);
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.trial-banner-cta:hover,
.cancellation-banner-cta:hover {
    background: #d4960a;
    color: var(--wvcs-navy);
}

.pastdue-banner-cta {
    background: var(--wvcs-white);
    color: #7B2D2D;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.pastdue-banner-cta:hover {
    background: #f5f5f5;
    color: #7B2D2D;
}

.trial-banner-dismiss {
    background: transparent;
    border: none;
    color: var(--wvcs-white);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    padding: 0 6px;
}

.trial-banner-dismiss:hover {
    opacity: 1;
}
