/**
 * AdvanceQuiz App Home CSS
 * Mobile/Tablet optimized - Desktop shows tablet view with max-width
 * Following the purple theme from app-auth.css
 */

/* CSS Variables - Purple Theme (same as app-auth.css) */
:root {
    /* Primary Purple Colors */
    --md-sys-color-primary: #6750A4;
    --md-sys-color-on-primary: #FFFFFF;
    --md-sys-color-primary-container: #EADDFF;
    --md-sys-color-on-primary-container: #21005D;

    /* Surface Colors */
    --md-sys-color-surface: #FFFFFF;
    --md-sys-color-on-surface: #1C1B1F;
    --md-sys-color-surface-variant: #F3EFFA;
    --md-sys-color-on-surface-variant: #49454F;
    --md-sys-color-surface-container: #F7F5FA;
    --md-sys-color-surface-container-high: #ECE6F0;

    /* Outline */
    --md-sys-color-outline: #79747E;
    --md-sys-color-outline-variant: #E0DAE8;

    /* Secondary */
    --md-sys-color-secondary: #625B71;
    --md-sys-color-on-secondary: #FFFFFF;
    --md-sys-color-secondary-container: #E8DEF8;

    /* Success */
    --md-sys-color-success: #22C55E;
    --md-sys-color-success-container: #DCFCE7;
    --md-sys-color-on-success-container: #166534;

    /* Error */
    --md-sys-color-error: #EF4444;
    --md-sys-color-error-container: #FEE2E2;

    /* Info Blue */
    --md-sys-color-info: #3B82F6;
    --md-sys-color-info-container: #DBEAFE;
    --md-sys-color-on-info-container: #1E40AF;

    /* Warning Orange */
    --md-sys-color-warning: #F97316;
    --md-sys-color-warning-container: #FFEDD5;

    /* Shadows */
    --md-sys-elevation-1: 0 2px 8px rgba(103, 80, 164, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06);
    --md-sys-elevation-2: 0 4px 16px rgba(103, 80, 164, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    --md-sys-elevation-3: 0 8px 32px rgba(103, 80, 164, 0.16), 0 4px 12px rgba(0, 0, 0, 0.1);

    /* Layout */
    --app-bar-height: 56px;
    --bottom-nav-height: 64px;
    --fab-bottom: 80px;
    --max-width: 600px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body.app-home-page {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--md-sys-color-surface-container);
    color: var(--md-sys-color-on-surface);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   APP CONTAINER (Max-width for tablet view on desktop)
   ============================================ */
.app-container {
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 100vh;
    background: var(--md-sys-color-surface);
    position: relative;
    box-shadow: 0 0 40px rgba(103, 80, 164, 0.08);
}

/* ============================================
   APP BAR
   ============================================ */
.app-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}

.app-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--app-bar-height);
    padding: 0 8px 0 16px;
}

.app-bar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.app-bar-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.app-bar-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.app-bar-icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    color: inherit;
}

.app-bar-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.app-bar-icon-btn:active {
    background: rgba(255, 255, 255, 0.25);
}

.app-bar-icon-btn svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-bar {
    display: none;
    padding: 0 16px 12px;
    background: var(--md-sys-color-primary);
}

.search-bar.active {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    color: var(--md-sys-color-outline);
}

.search-bar input {
    width: 100%;
    height: 44px;
    padding: 0 44px;
    font-size: 15px;
    font-weight: 400;
    color: var(--md-sys-color-on-surface);
    background: var(--md-sys-color-surface);
    border: none;
    border-radius: 22px;
    outline: none;
    font-family: inherit;
}

.search-bar input::placeholder {
    color: var(--md-sys-color-outline);
}

.search-clear-btn {
    position: absolute;
    right: 8px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--md-sys-color-outline);
    transition: background 0.2s ease;
}

.search-clear-btn:hover {
    background: var(--md-sys-color-surface-variant);
    color: var(--md-sys-color-on-surface);
}

.search-clear-btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   MENU DROPDOWN
   ============================================ */
.menu-wrapper {
    position: relative;
}

.menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 220px;
    background: var(--md-sys-color-surface);
    border-radius: 16px;
    box-shadow: var(--md-sys-elevation-3);
    overflow: hidden;
    z-index: 200;
    animation: menuIn 0.15s ease;
}

.menu-dropdown.show {
    display: block;
}

@keyframes menuIn {
    from { opacity: 0; transform: scale(0.95) translateY(-8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--md-sys-color-on-surface);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: left;
    font-family: inherit;
}

.menu-item:hover {
    background: var(--md-sys-color-surface-variant);
}

.menu-item svg {
    width: 20px;
    height: 20px;
    color: var(--md-sys-color-on-surface-variant);
}

.menu-item-danger {
    color: var(--md-sys-color-error);
}

.menu-item-danger svg {
    color: var(--md-sys-color-error);
}

.menu-divider {
    height: 1px;
    background: var(--md-sys-color-outline-variant);
    margin: 4px 0;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.app-main {
    min-height: calc(100vh - var(--app-bar-height) - var(--bottom-nav-height));
    padding: 16px;
    padding-bottom: calc(var(--bottom-nav-height) + 80px);
}

.spa-view-home {
    min-height: inherit;
}

.spa-panel {
    position: absolute;
    inset: 0;
    display: none;
    background: var(--md-sys-color-surface);
    z-index: 320;
    overflow-y: auto;
    animation: slideUpPanel 0.22s ease;
}

.spa-panel.show {
    display: block;
}

body.shell-view-open .bottom-nav,
body.shell-view-open .fab {
    opacity: 0;
    pointer-events: none;
}

@keyframes slideUpPanel {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 16px;
    color: var(--md-sys-color-on-surface-variant);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--md-sys-color-outline-variant);
    border-top-color: var(--md-sys-color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 32px;
    gap: 16px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: var(--md-sys-color-primary-container);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon svg {
    width: 40px;
    height: 40px;
    color: var(--md-sys-color-primary);
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--md-sys-color-on-surface);
}

.empty-state p {
    font-size: 14px;
    color: var(--md-sys-color-on-surface-variant);
    margin-bottom: 8px;
}

/* ============================================
   QUIZ LIST & CARDS
   ============================================ */
.quiz-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-card {
    background: var(--md-sys-color-surface);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: 16px;
    padding: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.quiz-card:hover {
    box-shadow: var(--md-sys-elevation-1);
}

.quiz-card:active {
    transform: scale(0.99);
}

.quiz-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.quiz-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
    line-height: 1.4;
    word-break: break-word;
    flex: 1;
}

.quiz-card-menu-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--md-sys-color-on-surface-variant);
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.quiz-card-menu-btn:hover {
    background: var(--md-sys-color-surface-variant);
}

.quiz-card-menu-btn svg {
    width: 20px;
    height: 20px;
}

/* Quiz Card Menu Dropdown */
.quiz-card-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 160px;
    background: var(--md-sys-color-surface);
    border-radius: 12px;
    box-shadow: var(--md-sys-elevation-3);
    overflow: hidden;
    z-index: 150;
    display: none;
}

.quiz-card-menu.show {
    display: block;
    animation: menuIn 0.15s ease;
}

.quiz-card-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--md-sys-color-on-surface);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: left;
    font-family: inherit;
}

.quiz-card-menu-item:hover {
    background: var(--md-sys-color-surface-variant);
}

.quiz-card-menu-item svg {
    width: 18px;
    height: 18px;
}

.quiz-card-menu-item.duplicate svg {
    color: var(--md-sys-color-info);
}

.quiz-card-menu-item.delete {
    color: var(--md-sys-color-error);
}

.quiz-card-menu-item.delete svg {
    color: var(--md-sys-color-error);
}

/* Quiz Stats */
.quiz-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.stat-chip svg {
    width: 14px;
    height: 14px;
}

.stat-chip.questions {
    background: var(--md-sys-color-info-container);
    color: var(--md-sys-color-on-info-container);
}

.stat-chip.submissions {
    background: var(--md-sys-color-success-container);
    color: var(--md-sys-color-on-success-container);
}

/* Best Score Section */
.quiz-card-score {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--md-sys-color-surface-container);
    border-radius: 10px;
    margin-bottom: 12px;
}

.score-icon {
    width: 24px;
    height: 24px;
    color: #F59E0B;
}

.score-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
}

.score-text span {
    font-weight: 400;
    color: var(--md-sys-color-on-surface-variant);
}

/* Quiz Card Actions */
.quiz-card-actions {
    display: flex;
    gap: 10px;
}

.quiz-card-actions button {
    flex: 1;
    height: 40px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.quiz-card-actions button svg {
    width: 18px;
    height: 18px;
}

.btn-play {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border: none;
}

.btn-play:hover {
    background: #5A45A0;
    box-shadow: var(--md-sys-elevation-1);
}

.btn-view {
    background: transparent;
    color: var(--md-sys-color-primary);
    border: 1.5px solid var(--md-sys-color-primary);
}

.btn-view:hover {
    background: var(--md-sys-color-primary-container);
}

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    height: var(--bottom-nav-height);
    background: var(--md-sys-color-surface);
    border-top: 1px solid var(--md-sys-color-outline-variant);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 100;
}

.nav-item {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--md-sys-color-on-surface-variant);
    transition: color 0.2s ease;
    font-family: inherit;
}

.nav-item:hover {
    color: var(--md-sys-color-primary);
}

.nav-item.active {
    color: var(--md-sys-color-primary);
}

.nav-icon {
    width: 24px;
    height: 24px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 600;
}

.nav-item.active .nav-icon {
    background: var(--md-sys-color-primary-container);
    padding: 4px 16px;
    border-radius: 16px;
    width: auto;
    height: 32px;
}

/* ============================================
   FAB (Floating Action Button)
   ============================================ */
.fab {
    position: fixed;
    bottom: var(--fab-bottom);
    right: 16px;
    height: 48px;
    padding: 0 20px;
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: var(--md-sys-elevation-3);
    transition: all 0.2s ease;
    font-family: inherit;
    z-index: 90;
}

.fab:hover {
    background: #5A45A0;
    box-shadow: 0 12px 40px rgba(103, 80, 164, 0.3);
    transform: translateY(-2px);
}

.fab:active {
    transform: translateY(0);
}

.fab svg {
    width: 24px;
    height: 24px;
}

/* Adjust FAB position for tablet/desktop centered container */
@media (min-width: 600px) {
    .fab {
        right: calc(50% - var(--max-width) / 2 + 16px);
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary:hover {
    background: #5A45A0;
    box-shadow: var(--md-sys-elevation-2);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

.btn-primary-small {
    padding: 10px 20px;
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary-small:hover {
    background: #5A45A0;
}

.btn-text {
    padding: 10px 16px;
    background: transparent;
    color: var(--md-sys-color-primary);
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
}

.btn-text:hover {
    background: var(--md-sys-color-primary-container);
}

.btn-danger-small {
    padding: 10px 20px;
    background: var(--md-sys-color-error);
    color: #FFFFFF;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-danger-small:hover {
    background: #DC2626;
}

/* ============================================
   DIALOGS
   ============================================ */
.dialog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.dialog-overlay.show {
    display: flex;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dialog {
    background: var(--md-sys-color-surface);
    border-radius: 24px;
    width: 100%;
    max-width: 360px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--md-sys-elevation-3);
    animation: dialogIn 0.2s ease;
}

.dialog-large {
    max-width: 480px;
}

@keyframes dialogIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 12px;
}

.dialog-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--md-sys-color-on-surface);
}

.dialog-close {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--md-sys-color-on-surface-variant);
    transition: background 0.2s ease;
}

.dialog-close:hover {
    background: var(--md-sys-color-surface-variant);
}

.dialog-close svg {
    width: 20px;
    height: 20px;
}

.dialog-content {
    padding: 8px 24px 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.dialog-content p {
    font-size: 15px;
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.6;
}

.dialog-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 24px 20px;
}

/* Radio Items */
.radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    cursor: pointer;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.radio-item:last-child {
    border-bottom: none;
}

.radio-item input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--md-sys-color-primary);
    cursor: pointer;
}

.radio-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--md-sys-color-on-surface);
}

/* Language Grid */
.language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--md-sys-color-surface-variant);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: var(--md-sys-color-surface-container-high);
}

.language-option.active {
    background: var(--md-sys-color-primary-container);
    border-color: var(--md-sys-color-primary);
}

.language-option-flag {
    font-size: 20px;
}

.language-option-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    top: calc(var(--app-bar-height) + 16px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: calc(100% - 32px);
    max-width: calc(var(--max-width) - 32px);
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--md-sys-color-on-surface);
    color: var(--md-sys-color-surface);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--md-sys-elevation-3);
    animation: toastIn 0.3s ease;
    pointer-events: auto;
}

.toast.success {
    background: var(--md-sys-color-success);
    color: #FFFFFF;
}

.toast.error {
    background: var(--md-sys-color-error);
    color: #FFFFFF;
}

.toast.warning {
    background: var(--md-sys-color-warning);
    color: #FFFFFF;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-16px); }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Small phones */
@media (max-width: 380px) {
    .app-bar-title span {
        display: none;
    }
    
    .fab span {
        display: none;
    }
    
    .fab {
        width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 16px;
    }
}

/* Tablets and larger */
@media (min-width: 600px) {
    :root {
        --max-width: 540px;
    }
    
    .quiz-card-actions button {
        height: 44px;
        font-size: 15px;
    }
}

/* Large tablets and small desktops */
@media (min-width: 768px) {
    :root {
        --max-width: 600px;
    }
    
    body.app-home-page {
        background: linear-gradient(135deg, #FAFAFF 0%, #F3EFFA 50%, #EADDFF 100%);
    }
}

/* Desktop - full height like mobile, no gap */
@media (min-width: 1024px) {
    .app-container {
        /* Full height, no margin/gap, no rounded corners on desktop */
        min-height: 100vh;
        overflow: hidden;
    }
}

/* Dark mode support (optional - follows system preference) */
@media (prefers-color-scheme: dark) {
    body.app-home-page[data-theme="system"] {
        --md-sys-color-surface: #1C1B1F;
        --md-sys-color-on-surface: #E6E1E5;
        --md-sys-color-surface-variant: #2D2B30;
        --md-sys-color-surface-container: #211F26;
        --md-sys-color-surface-container-high: #2D2B30;
        --md-sys-color-outline-variant: #49454F;
        background: #121212;
    }
}

body.app-home-page[data-theme="dark"] {
    --md-sys-color-surface: #1C1B1F;
    --md-sys-color-on-surface: #E6E1E5;
    --md-sys-color-surface-variant: #2D2B30;
    --md-sys-color-surface-container: #211F26;
    --md-sys-color-surface-container-high: #2D2B30;
    --md-sys-color-outline-variant: #49454F;
    background: #121212;
}
