/* ========================================
   Melancholy AI — Dashboard Styles
   ======================================== */

/* Reuse base variables from style.css */
:root {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-dark: #0a0a0a;
    --text-primary: #0a0a0a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --accent: #0a0a0a;
    --border-color: #e0e0e0;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.06);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --sidebar-width: 280px;
    --bg-body: #f5f5f5;
}

[data-theme="dark"] {
    --bg-primary: #141414;
    --bg-secondary: #0a0a0a;
    --bg-dark: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #777777;
    --accent: #ffffff;
    --border-color: #333333;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.4);
    --bg-body: #050505;
}

[data-theme="dark"] .moon-icon {
    display: none !important;
}

[data-theme="dark"] .sun-icon {
    display: block !important;
}

/* ========================================
   Dark Mode Overrides
   ======================================== */
[data-theme="dark"] .sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .sidebar-nav-item.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

[data-theme="dark"] .sidebar-nav-item.active svg {
    color: #fff;
}

[data-theme="dark"] .stat-card-icon {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .stat-card:hover .stat-card-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

[data-theme="dark"] .stat-card-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

[data-theme="dark"] .stat-card-badge.active {
    background: rgba(72, 187, 120, 0.15);
    color: #48bb78;
}

[data-theme="dark"] .profile-row {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .profile-row:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border-color);
}

[data-theme="dark"] .sidebar-user {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .sidebar-avatar {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

[data-theme="dark"] .topbar-btn-primary {
    background: #fff;
    color: #0a0a0a;
}

[data-theme="dark"] .topbar-btn-primary:hover {
    background: #e0e0e0;
}

[data-theme="dark"] .btn-upgrade {
    background: #fff;
    color: #0a0a0a;
}

[data-theme="dark"] .btn-upgrade:hover {
    background: #e0e0e0;
}

[data-theme="dark"] .subscription-status {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.07) 100%);
}

[data-theme="dark"] .subscription-expiry {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .setting-item {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .stat-card::before {
    background: #fff;
}

[data-theme="dark"] .quick-action-item {
    background: var(--bg-secondary);
}

[data-theme="dark"] .quick-action-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--text-primary);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition), color var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ========================================
   Dashboard Layout
   ======================================== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* ========================================
   Sidebar
   ======================================== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.sidebar-logo .logo-icon {
    font-size: 1.3rem;
}

.sidebar-logo .logo-ai {
    font-weight: 800;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.sidebar-section-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 12px 12px 8px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: var(--font);
}

.sidebar-nav-item:hover {
    background: rgba(10, 10, 10, 0.04);
    color: var(--text-primary);
}

.sidebar-nav-item.active {
    background: var(--text-primary);
    color: #fff;
}

.sidebar-nav-item.active svg {
    color: #fff;
}

.sidebar-nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.sidebar-nav-item:hover svg {
    color: var(--text-primary);
}

.sidebar-nav-item.danger {
    color: #e53e3e;
}

.sidebar-nav-item.danger:hover {
    background: rgba(229, 62, 62, 0.08);
    color: #c53030;
}

.sidebar-nav-item.danger svg {
    color: #e53e3e;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-xs);
    background: rgba(10, 10, 10, 0.03);
}

.sidebar-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--text-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.sidebar-user-info {
    overflow: hidden;
}

.sidebar-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-email {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   Main Content
   ======================================== */
.dashboard-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 32px 40px;
    min-height: 100vh;
}

/* ========================================
   Top Bar
   ======================================== */
.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    animation: fadeIn 0.6s ease;
}

.topbar-greeting h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.topbar-greeting p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.topbar-btn-primary {
    background: var(--text-primary);
    color: #fff;
}

.topbar-btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Dashboard Cards Grid
   ======================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

/* ========================================
   Stat Cards
   ======================================== */
.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease backwards;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--text-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-3px);
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xs);
    background: rgba(10, 10, 10, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.stat-card:hover .stat-card-icon {
    background: var(--text-primary);
    color: #fff;
}

.stat-card-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(10, 10, 10, 0.06);
    color: var(--text-muted);
}

.stat-card-badge.active {
    background: rgba(72, 187, 120, 0.12);
    color: #38a169;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================
   Trial Notification
   ======================================== */
.trial-notification {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.1) 0%, rgba(66, 153, 225, 0.05) 100%);
    border: 1px solid rgba(66, 153, 225, 0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
    animation: fadeInUp 0.5s ease backwards;
}

.trial-notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4299e1;
    font-weight: 600;
    font-size: 0.95rem;
}

.trial-notification-content svg {
    flex-shrink: 0;
}

/* ========================================
   Content Cards (Profile, Subscription, etc.)
   ======================================== */
.dashboard-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.content-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease 0.35s backwards;
}

.content-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.content-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.content-card-header svg {
    color: var(--text-primary);
}

.content-card-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Profile Card */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(10, 10, 10, 0.02);
    border-radius: var(--radius-xs);
    border: 1px solid transparent;
    transition: var(--transition);
}

.profile-row:hover {
    border-color: var(--border-color);
    background: rgba(10, 10, 10, 0.04);
}

.profile-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.profile-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Subscription Card */
.subscription-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.03) 0%, rgba(10, 10, 10, 0.06) 100%);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.subscription-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #48bb78;
    position: relative;
}

.subscription-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: #48bb78;
    animation: pulse-ring 2s ease infinite;
}

.subscription-plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.subscription-plan-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.subscription-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscription-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.subscription-feature svg {
    color: #48bb78;
    flex-shrink: 0;
}

.btn-upgrade {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 24px;
    border-radius: 100px;
    background: var(--text-primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.btn-upgrade:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Subscription Expiry */
.subscription-expiry {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(10, 10, 10, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xs);
}

.expiry-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.expiry-label {
    font-weight: 600;
    color: var(--text-muted);
}

.expiry-date {
    font-weight: 600;
    color: var(--text-primary);
}

.expiry-days {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.expiry-days.expiry-warning {
    color: #e53e3e;
    font-weight: 700;
}

/* Premium plan dot colors */
.subscription-dot.premium {
    background: #805ad5;
}

.subscription-dot.premium::after {
    background: #805ad5;
}

/* ========================================
   Settings Section
   ======================================== */
.settings-section {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.settings-section.active {
    display: block;
}

.settings-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease backwards;
}

.settings-card:nth-child(1) {
    animation-delay: 0.1s;
}

.settings-card:nth-child(2) {
    animation-delay: 0.2s;
}

.settings-card:nth-child(3) {
    animation-delay: 0.3s;
}

.settings-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.settings-card-header svg {
    color: var(--text-primary);
}

.settings-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.setting-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #d1d5db;
    border-radius: 100px;
    transition: 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--text-primary);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(22px);
}

/* Form Elements in Settings */
.settings-form-group {
    margin-bottom: 20px;
}

.settings-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.settings-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-family: var(--font);
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition);
    outline: none;
}

.settings-input:focus {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.settings-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-settings {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.btn-settings-primary {
    background: var(--text-primary);
    color: #fff;
}

.btn-settings-primary:hover {
    background: #333;
    transform: translateY(-1px);
}

.btn-settings-danger {
    background: none;
    color: #e53e3e;
    border: 1px solid rgba(229, 62, 62, 0.3);
}

.btn-settings-danger:hover {
    background: rgba(229, 62, 62, 0.08);
    border-color: #e53e3e;
}

.settings-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

/* ========================================
   Quick Actions
   ======================================== */
.quick-actions {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    animation: fadeInUp 0.6s ease 0.45s backwards;
}

.quick-actions h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
}

.quick-action-item:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

.quick-action-item svg {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.quick-action-item:hover svg {
    color: var(--text-primary);
}

.quick-action-item span {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

/* ========================================
   Mobile Sidebar Toggle
   ======================================== */
.mobile-sidebar-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 200;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-xs);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.mobile-sidebar-toggle:hover {
    box-shadow: var(--card-shadow-hover);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99;
    backdrop-filter: blur(4px);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-sidebar-toggle {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay.show {
        display: block;
    }

    .dashboard-main {
        margin-left: 0;
        padding: 24px 16px;
        padding-top: 72px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .topbar-greeting h1 {
        font-size: 1.4rem;
    }

    .dashboard-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .settings-actions {
        flex-direction: column;
    }
}