.ttc-dashboard-v3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--ttc-bg-page);
    color: var(--ttc-text-main);
    padding: 40px 20px;
    min-height: 100vh;
    border-radius: var(--ttc-radius);
    transition: var(--ttc-transition);
}

.ttc-premium-card {
    background: var(--ttc-card-bg);
    -webkit-backdrop-filter: var(--ttc-glass-blur);
    backdrop-filter: var(--ttc-glass-blur);
    border: 1px solid var(--ttc-glass-border);
    border-radius: var(--ttc-radius);
    padding: 32px;
    box-shadow: var(--ttc-shadow);
    transition: var(--ttc-transition);
}

.ttc-premium-card:hover {
    transform: translateY(-5px);
    border-color: var(--ttc-primary);
}

.ttc-premium-card h3 {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ttc-text-main);
    font-family: 'Outfit', sans-serif;
}

.ttc-premium-card h3 span {
    font-size: 13px;
    font-weight: 500;
    color: var(--ttc-primary);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Dashboard Navigation Bar ── */
.ttc-dashboard-v3 .ttc-db-nav,
.ttc-db-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 32px !important;
    padding: 10px 4px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--ttc-primary) rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 90;
    -webkit-overflow-scrolling: touch;
}

.ttc-db-nav::-webkit-scrollbar {
    height: 4px !important;
    display: block !important;
}

.ttc-db-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03) !important;
    border-radius: 10px !important;
}

.ttc-db-nav::-webkit-scrollbar-thumb {
    background: var(--ttc-primary) !important;
    border-radius: 10px !important;
}

/* ── Individual Tab ── */
.ttc-dashboard-v3 .ttc-db-tab,
.ttc-db-tab {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 40px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    color: #64748b !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

/* Text label inside tab */
.ttc-db-tab span {
    display: inline-block !important;
    line-height: 1 !important;
}

.ttc-dashboard-v3 .ttc-db-tab:hover,
.ttc-db-tab:hover {
    color: #1e293b !important;
    background: rgba(99, 102, 241, 0.06) !important;
    border-color: rgba(99, 102, 241, 0.15) !important;
}

.ttc-dashboard-v3 .ttc-db-tab.active,
.ttc-db-tab.active {
    background: var(--ttc-grad-main, linear-gradient(135deg, #6366f1, #8b5cf6)) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px -3px rgba(99, 102, 241, 0.4) !important;
    border-color: transparent !important;
    font-weight: 700 !important;
}

.ttc-btn-wow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ttc-grad-main);
    color: #fff;
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.ttc-btn-wow:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 10px 20px -5px rgba(var(--ttc-primary-rgb), 0.4);
    color: #fff;
}

.ttc-stat-premium {
    background: var(--ttc-grad-surface);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--ttc-glass-border);
    box-shadow: var(--ttc-shadow);
    transition: var(--ttc-transition);
}

.ttc-stat-premium:hover {
    transform: translateY(-5px);
    border-color: var(--ttc-primary);
}

.ttc-stat-premium .label {
    color: var(--ttc-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ... rest of the file ... */
.ttc-wow-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.ttc-wow-table th {
    text-align: left;
    padding: 0 20px;
    color: var(--ttc-text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.ttc-wow-table td {
    background: var(--ttc-card-bg);
    padding: 16px 20px;
    vertical-align: middle;
    color: var(--ttc-text-main);
}

.ttc-wow-table tr td:first-child {
    border-radius: 14px 0 0 14px;
}

.ttc-wow-table tr td:last-child {
    border-radius: 0 14px 14px 0;
}

/* Request Cards */
.ttc-request-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--ttc-grad-surface);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--ttc-glass-border);
    box-shadow: var(--ttc-shadow);
    transition: var(--ttc-transition);
}

.ttc-request-card:hover {
    border-color: var(--ttc-primary);
}

.ttc-request-badge {
    font-size: 11px;
    color: var(--ttc-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    display: inline-block;
}

.ttc-request-name {
    font-weight: 800;
    font-size: 18px;
    color: var(--ttc-text-main);
    margin-bottom: 4px;
}

/* Notification Bell */
.ttc-notif-btn {
    background: var(--ttc-card-bg);
    border: 1px solid var(--ttc-glass-border);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--ttc-text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    transition: var(--ttc-transition);
}

.ttc-notif-btn:hover {
    background: var(--ttc-border-subtle);
    transform: scale(1.05);
}

.ttc-notif-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--ttc-danger);
    color: white;
    font-size: 10px;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ttc-bg-page);
}

/* Legacy Aliases & Utilities */
.ttc-panel {
    background: var(--ttc-card-bg);
    -webkit-backdrop-filter: var(--ttc-glass-blur);
    backdrop-filter: var(--ttc-glass-blur);
    border: 1px solid var(--ttc-glass-border);
    border-radius: var(--ttc-radius);
    padding: 32px;
    box-shadow: var(--ttc-shadow);
    margin-bottom: 30px;
}

.ttc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.ttc-table th {
    text-align: left;
    padding: 12px 20px;
    color: var(--ttc-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ttc-table td {
    background: var(--ttc-card-bg);
    padding: 16px 20px;
    vertical-align: middle;
    color: var(--ttc-text-main);
    border-top: 1px solid var(--ttc-glass-border);
    border-bottom: 1px solid var(--ttc-glass-border);
}

.ttc-table tr td:first-child {
    border-left: 1px solid var(--ttc-glass-border);
    border-radius: 12px 0 0 12px;
}

.ttc-table tr td:last-child {
    border-right: 1px solid var(--ttc-glass-border);
    border-radius: 0 12px 12px 0;
}

.ttc-status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ttc-status-badge.pending {
    background: rgba(var(--ttc-primary-rgb), 0.1);
    color: var(--ttc-primary);
}

.ttc-status-badge.accepted {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.ttc-status-badge.declined {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.ttc-input-inline {
    background: var(--ttc-bg-page);
    border: 1px solid var(--ttc-glass-border);
    color: var(--ttc-text-main);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: var(--ttc-transition);
}

.ttc-input-inline:focus {
    border-color: var(--ttc-primary);
    box-shadow: 0 0 0 4px rgba(var(--ttc-primary-rgb), 0.1);
}

/* Mode Toggle Styles */
.ttc-filter-mode {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttc-mode-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(125, 125, 125, 0.1);
    padding: 4px;
    border-radius: 99px;
    /* Pill shape */
    border: 1px solid var(--ttc-glass-border);
    vertical-align: middle;
}

.ttc-mode-btn {
    background: transparent;
    border: none;
    color: var(--ttc-text-muted);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Circle shape */
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    padding: 0;
    line-height: 1;
}

.ttc-mode-btn:hover {
    color: var(--ttc-text-main);
    background: rgba(125, 125, 125, 0.1);
}

.ttc-mode-btn.active {
    background: var(--ttc-primary);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(var(--ttc-primary-rgb), 0.4);
    transform: scale(1.05);
}

/* Specific Context Colors */
/* In Light Mode: Inactive buttons should be dark-ish grey */
.ttc-mode-light .ttc-mode-btn:not(.active) {
    color: #64748b;
}

/* In Dark Mode: Inactive buttons should be light-ish grey */
.ttc-mode-dark .ttc-mode-btn:not(.active) {
    color: #94a3b8;
}

/* Button Variants */
.ttc-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ttc-card-bg);
    color: var(--ttc-text-main);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--ttc-glass-border);
    cursor: pointer;
    transition: var(--ttc-transition);
    font-size: 13px;
}

.ttc-btn-secondary:hover {
    background: var(--ttc-border-subtle);
    border-color: var(--ttc-primary);
    transform: translateY(-2px);
}

.ttc-btn-destructive {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--ttc-danger-rgb, 239, 68, 68), 0.1);
    color: var(--ttc-danger);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(var(--ttc-danger-rgb, 239, 68, 68), 0.2);
    cursor: pointer;
    transition: var(--ttc-transition);
    font-size: 13px;
}

.ttc-btn-destructive:hover {
    background: var(--ttc-danger);
    color: #fff;
    transform: translateY(-2px);
}

/* Layout Utilities */
.ttc-flex {
    display: flex;
}

.ttc-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ttc-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttc-gap-mini {
    gap: 8px;
}

.ttc-gap-small {
    gap: 12px;
}

.ttc-gap-med {
    gap: 24px;
}

.ttc-mb-mini {
    margin-bottom: 8px;
}

.ttc-mb-small {
    margin-bottom: 16px;
}

.ttc-mb-med {
    margin-bottom: 32px;
}

.ttc-mb-large {
    margin-bottom: 48px;
}

/* Typography Utilities */
.ttc-text-primary {
    color: var(--ttc-primary);
}

.ttc-text-muted {
    color: var(--ttc-text-muted);
}

.ttc-text-main {
    color: var(--ttc-text-main);
}

.ttc-font-outfit {
    font-family: 'Outfit', sans-serif;
}

.ttc-uppercase-ls {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ttc-h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
}

.ttc-h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.ttc-label-mini {
    font-size: 12px;
    font-weight: 700;
}

/* Custom Scrollbar */
.ttc-dashboard-v3 ::-webkit-scrollbar {
    width: 6px;
}

.ttc-dashboard-v3 ::-webkit-scrollbar-track {
    background: transparent;
}

.ttc-dashboard-v3 ::-webkit-scrollbar-thumb {
    background: var(--ttc-glass-border);
    border-radius: 10px;
}


/* =====================================================
 *  EXTRACTED FROM INLINE STYLES — Student Dashboard
 * ===================================================== */

/* ── Section Header Pattern ── */
.ttc-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--ttc-space-md, 16px);
}

.ttc-section-header__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ttc-section-header__icon {
    font-size: 24px;
    line-height: 1;
}

.ttc-section-header__title {
    color: var(--ttc-text-main);
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--ttc-font-heading, 'Outfit', sans-serif);
}

.ttc-section-header__subtitle {
    font-size: 11px;
    color: var(--ttc-text-muted);
    margin: 0;
}

.ttc-section-header__right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Mini Progress Bar ── */
.ttc-mini-progress {
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.ttc-mode-light .ttc-mini-progress {
    background: rgba(0, 0, 0, 0.06);
}

.ttc-mini-progress__fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s var(--ttc-ease-out, ease);
}

.ttc-mini-progress__fill--gold {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.ttc-mini-progress__label {
    font-size: 11px;
    font-weight: 700;
    color: #fbbf24;
}


/* ── Badge Grid ── */
.ttc-badge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (min-width: 768px) {
    .ttc-badge-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .ttc-badge-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.ttc-badge-cell {
    text-align: center;
    padding: 10px 6px;
    border-radius: var(--ttc-radius-md, 12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    opacity: 0.4;
    transition: all 0.3s;
    cursor: default;
}

.ttc-mode-light .ttc-badge-cell {
    border-color: rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.01);
}

.ttc-badge-cell--earned {
    background: rgba(255, 255, 255, 0.04);
    opacity: 1;
}

.ttc-mode-light .ttc-badge-cell--earned {
    background: rgba(0, 0, 0, 0.02);
}

.ttc-badge-cell__icon {
    font-size: 22px;
    margin-bottom: 3px;
    line-height: 1;
}

.ttc-badge-cell__icon--locked {
    filter: grayscale(1);
}

.ttc-badge-cell__name {
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #64748b;
}

.ttc-badge-cell__status {
    font-size: 7px;
    margin-top: 2px;
    font-weight: 600;
}

.ttc-badge-cell__status--earned {
    color: var(--ttc-success, #10b981);
}

.ttc-badge-cell__status--locked {
    color: #64748b;
}


/* ── Latest Achievement Highlight ── */
.ttc-achievement-highlight {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ttc-achievement-highlight__icon {
    font-size: 20px;
    line-height: 1;
}

.ttc-achievement-highlight__label {
    font-size: 10px;
    color: #fbbf24;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ttc-achievement-highlight__name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ttc-text-main);
}


/* ── Timeline ── */
.ttc-progress-timeline {
    position: relative;
    padding-left: 24px;
}

.ttc-timeline-line {
    position: absolute;
    left: 8px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.4), rgba(99, 102, 241, 0.05));
    border-radius: 1px;
}

.ttc-timeline-item {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 16px;
}

.ttc-timeline-item:last-child {
    padding-bottom: 0;
}

.ttc-timeline-dot {
    position: absolute;
    left: -20px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--ttc-card-bg, #1e293b);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttc-timeline-dot__inner {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.ttc-timeline-content {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.2s;
}

.ttc-mode-light .ttc-timeline-content {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.05);
}

.ttc-timeline-content:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ttc-mode-light .ttc-timeline-content:hover {
    background: rgba(0, 0, 0, 0.03);
}

.ttc-timeline-content__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ttc-timeline-content__title {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.ttc-timeline-content__time {
    font-size: 9px;
    color: var(--ttc-text-muted);
    white-space: nowrap;
    margin-left: 8px;
}

.ttc-timeline-content__detail {
    font-size: 11px;
    margin-top: 2px;
    font-weight: 600;
}


/* ── Quick Actions Grid ── */
.ttc-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .ttc-quick-actions {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ttc-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px;
    border-radius: var(--ttc-radius-lg, 16px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--ttc-text-main);
    text-align: center;
}

.ttc-mode-light .ttc-quick-action {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

.ttc-quick-action:hover {
    transform: translateY(-3px);
    border-color: var(--ttc-primary, #6366f1);
    box-shadow: 0 8px 20px -4px rgba(var(--ttc-primary-rgb, 99, 102, 241), 0.15);
    color: var(--ttc-text-main);
}

.ttc-quick-action__icon {
    font-size: 28px;
    line-height: 1;
}

.ttc-quick-action__label {
    font-size: 12px;
    font-weight: 600;
}


/* ── Stats Grid ── */
.ttc-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .ttc-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ttc-stat-mini {
    padding: 20px;
    border-radius: var(--ttc-radius-lg, 16px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    transition: all 0.3s;
}

.ttc-mode-light .ttc-stat-mini {
    background: var(--ttc-card-bg);
    border-color: var(--ttc-glass-border);
    box-shadow: var(--ttc-shadow-sm);
}

.ttc-stat-mini:hover {
    transform: translateY(-3px);
    border-color: var(--ttc-primary, #6366f1);
}

.ttc-stat-mini__value {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--ttc-font-heading, 'Outfit', sans-serif);
    color: var(--ttc-text-main);
    margin-bottom: 4px;
}

.ttc-stat-mini__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ttc-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ── Study Streak ── */
.ttc-streak-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.ttc-streak-day {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    border-radius: var(--ttc-radius-sm, 8px);
    font-size: 10px;
    font-weight: 600;
    transition: all 0.2s;
}

.ttc-streak-day--active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--ttc-success, #10b981);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.ttc-streak-day--inactive {
    background: rgba(255, 255, 255, 0.03);
    color: var(--ttc-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ttc-mode-light .ttc-streak-day--inactive {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

.ttc-streak-day--today {
    border-color: var(--ttc-primary, #6366f1) !important;
    box-shadow: 0 0 8px rgba(var(--ttc-primary-rgb, 99, 102, 241), 0.2);
}


/* ── Recommendation Card ── */
.ttc-rec-card {
    padding: 14px;
    border-radius: var(--ttc-radius-md, 12px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
    transition: all 0.3s;
}

.ttc-mode-light .ttc-rec-card {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.06);
}

.ttc-rec-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--ttc-primary, #6366f1);
    transform: translateX(4px);
}

.ttc-mode-light .ttc-rec-card:hover {
    background: rgba(0, 0, 0, 0.03);
}

.ttc-rec-card__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ttc-text-main);
    margin-bottom: 4px;
}

.ttc-rec-card__meta {
    font-size: 11px;
    color: var(--ttc-text-muted);
}


/* ── Role Badge (Dashboard Header) ── */
.ttc-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--ttc-radius-pill, 999px);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ── Modal Overlay (Unified) ── */
.ttc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--ttc-z-modal, 1000);
    padding: var(--ttc-space-lg, 24px);
}

.ttc-modal-overlay.active {
    display: flex;
}

.ttc-modal-box {
    background: var(--ttc-card-bg-solid, #1e293b);
    border: 1px solid var(--ttc-glass-border);
    border-radius: var(--ttc-radius-xl, 20px);
    padding: var(--ttc-space-xl, 32px);
    width: 100%;
    max-width: 500px;
    box-shadow: var(--ttc-shadow-xl);
    animation: ttcScaleIn 0.3s var(--ttc-ease-spring, ease) forwards;
}


/* =====================================================
 *  RESPONSIVE — Dashboard
 * ===================================================== */
@media (max-width: 768px) {
    .ttc-dashboard-v3 {
        padding: 16px 12px;
    }

    .ttc-premium-card {
        padding: 20px;
    }

    .ttc-db-nav {
        gap: 4px !important;
        padding: 8px 2px !important;
    }

    .ttc-db-tab {
        padding: 0 10px !important;
        font-size: 11px !important;
        height: 36px !important;
    }

    .ttc-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ttc-badge-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ttc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ttc-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ttc-dashboard-v3 {
        padding: 12px 8px;
    }

    .ttc-h1 {
        font-size: 22px !important;
    }

    .ttc-badge-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .ttc-streak-bar {
        gap: 3px;
    }

    .ttc-streak-day {
        padding: 6px 2px;
        font-size: 8px;
    }
}