/*
 * Focus of Today - styles
 *
 * Sections, in order:
 *   Base and color tokens, Views, Header, Assistant, Dialogs, Toast,
 *   Task input and lists, Task rows, Archive, Settings, Help, Footer,
 *   Bottom navigation, Dark mode overrides
 * Colors are CSS variables in :root; dark mode redefines them under body.dark-mode.
 */

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

:root {
    /* Custom Teal Color Scheme */
    --primary-teal: #66b2b2;        /* Active buttons - medium teal */
    --primary-teal-dark: #008080;   /* Active menu items - classic teal */
    --primary-teal-light: #99cccc;  /* Light accents */
    --focus-teal: #e6f2f2;          /* Very light teal background */
    --header-teal: #006666;         /* Header background - deep teal */
    --help-bg-teal: #b2d8d8;        /* Help section backgrounds */

    /* Neutrals */
    --text-dark: #1F2937;           /* Dark gray text */
    --text-light: #6B7280;          /* Medium gray text */
    --text-on-teal: #FFFFFF;        /* White text on teal */
    --border-light: #E5E7EB;        /* Light border */
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;             /* Softer gray background */

    /* Accent Colors */
    --archive-green: #10B981;       /* Emerald green */
    --backlog-purple: #8B5CF6;      /* Violet purple */
    --delete-red: #EF4444;          /* Modern red */

    --assistant-accent: #9A3412;    /* Stands out on the help background */
    --nav-height: 70px;
}

html {
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: fixed;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gray);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: fixed;
    -webkit-overflow-scrolling: touch;
}

body.dark-mode {
    /* Dark Mode Teal Adjustments */
    --primary-teal: #66b2b2;        /* Keep same for consistency */
    --primary-teal-dark: #008080;   /* Classic teal */
    --primary-teal-light: #99cccc;  /* Light teal */
    --focus-teal: #003333;          /* Dark teal background */
    --header-teal: #004d4d;         /* Darker header for dark mode */
    --help-bg-teal: #336666;        /* Darker help backgrounds */

    --text-dark: #F3F4F6;
    --text-light: #9CA3AF;
    --text-on-teal: #FFFFFF;
    --border-light: #374151;
    --bg-white: #1F2937;
    --bg-gray: #111827;

    --archive-green: #34D399;
    --backlog-purple: #A78BFA;
    --delete-red: #F87171;
    --assistant-accent: #FCD34D;
}

.app-container {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/* Views */
/* A view whose content must fill the height (Settings: footer stays at the bottom) */
.view-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

.view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: var(--nav-height);
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    transform: translateX(20px);
    transition: none;
    z-index: -1;
    background: var(--bg-white);
    pointer-events: none;
    width: 100%;
}

.view.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto;
}

/* Header */
.app-header {
    padding: 20px 16px 16px;
    background: var(--header-teal);
    border-bottom: 1px solid var(--primary-teal-dark);
}

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

.app-header h1 {
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-on-teal);
}

.header-subtitle {
    font-size: clamp(14px, 3.5vw, 18px);
    font-weight: 400;
    opacity: 0.85;
}

/* The header icon takes the text color (its strokes use currentColor) */
.app-header svg {
    color: var(--text-on-teal);
}

/* Assistant Section (step-by-step helper) */
.assistant-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 16px 12px;
    background: var(--help-bg-teal);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    }

.assistant-section.hidden {
    display: none;
}

.assistant-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 24px;
}

/* < ••• > centered under the tagline */
.assistant-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 24px;
}

/* Same width as the close button so the < ••• > group is truly centered */
.assistant-top-spacer {
    width: 28px;
    flex-shrink: 0;
}

/* Headset icon: marks this box as the help function */
.assistant-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal-dark);
}

body.dark-mode .assistant-icon {
    color: var(--primary-teal-light);
}

.assistant-btn {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s;
}

.assistant-btn:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.assistant-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.assistant-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.assistant-btn svg {
    stroke: currentColor;
}

/* Progress dots between the arrows and the close button */
.assistant-dots {
    display: flex;
    gap: 6px;
}

.assistant-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-light);
    opacity: 0.35;
    transition: opacity 0.2s, transform 0.2s;
}

.assistant-dot.active {
    opacity: 1;
    transform: scale(1.3);
    background: var(--primary-teal-dark);
}

/* Fixed height: always exactly 3 lines so the box never resizes */
.assistant-viewport {
    overflow: hidden;
    height: 4.2em;
    font-size: 14px;
    line-height: 1.4;
}

/* Fixed tagline at the top of the box (not part of the sliding step) */
.assistant-tagline {
    flex: 1;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    color: var(--assistant-accent);
    letter-spacing: 0.3px;
}

.assistant-slide {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.assistant-step-circle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-teal-dark);
    color: var(--text-on-teal);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assistant-step-circle:empty {
    display: none;
}

.assistant-message {
    flex: 1;
    color: var(--text-dark);
}

/* Dark mode adjustments for assistant */
body.dark-mode .assistant-section {
    background: var(--help-bg-teal);
}

body.dark-mode .assistant-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

/* Dialogs (<dialog class="modal">) */
.modal {
    width: calc(100% - 40px);
    max-width: 440px;
    margin: auto;
    padding: 32px 24px;
    border: none;
    border-radius: 16px;
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal[open] {
    animation: modalFadeIn 0.3s ease-out;
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

body.dark-mode .modal::backdrop {
    background: rgba(0, 0, 0, 0.8);
}

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

/* Toast notifications (js/ui/toast.js) */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 12px 24px;
    border-radius: 24px;
    background: #333;
    color: white;
    animation: fadeInOut 2s ease; /* the duration is set from JavaScript */
}

.toast-with-action {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
}

.toast-action {
    padding: 4px 8px;
    border: none;
    background: transparent;
    color: var(--primary-teal-light);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    10%, 90% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Confetti when a task is done (js/ui/celebration.js) */
.confetti-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2000;
}

/* Icons that sit inside a sentence (see js/ui/icons.js) */
.inline-icon,
.inline-icon svg {
    display: inline-block;
    vertical-align: middle;
}

.inline-icon svg {
    margin: 0 2px;
}

.empty-state .inline-icon {
    margin-right: 6px;
}

/* Keyboard focus: always visible */
:focus-visible {
    outline: 2px solid var(--primary-teal-dark);
    outline-offset: 2px;
}

.modal-button {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-button-primary {
    background: var(--primary-teal);
    color: white;
}

.modal-button-primary:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.modal-button-primary:active {
    transform: translateY(0);
}

/* Task Input */
.task-input-container {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    background: var(--bg-white);
    margin-bottom: 20px;
}

#taskInput {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 16px;
    background: var(--bg-white);
    color: var(--text-dark);
}

#taskInput:focus {
    outline: none;
    border-color: var(--primary-teal);
}

/* Task Edit Input */
.task-edit-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 16px;
    background: var(--bg-white);
    color: var(--text-dark);
    margin-left: 8px;
}

.task-edit-input:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.btn-add {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    color: var(--primary-teal);
    margin-right: -4px;
}

.btn-add:hover {
    opacity: 0.8;
}

.btn-add:active {
    transform: scale(0.95);
}

.btn-add svg {
    width: 28px;
    height: 28px;
}

/* Task Sections */
.task-section {
    background: var(--bg-white);
}

/* The "Add new task" section sits directly under the assistant box */
.task-section-input {
    padding-top: 0;
}

.focus-section {
    background: var(--focus-teal);
}

.section-title {
    padding: 12px 16px;
    font-size: clamp(14px, 3.5vw, 17px);
    font-weight: 600;
    color: var(--primary-teal-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title span {
    font-weight: normal;
    color: var(--text-light);
}

/* x/6 counter behind "Today's Focus Tasks" */
.section-title .focus-counter {
    margin-left: 6px;
    font-weight: 700;
    color: var(--primary-teal-dark);
    letter-spacing: 0;
}

/* Task List */
.task-list {
    position: relative;
}

.task-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--bg-white);
    touch-action: pan-y;
    transition: transform 0.3s ease, background 0.2s;
    user-select: none;
}

/* Priority number in the focus list (replaces the star) */
.priority-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-teal-dark);
    color: var(--text-on-teal);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-priority:hover {
    background: rgba(0, 0, 0, 0.05);
}

.task-done {
    color: var(--text-light);
}

.task-done:hover {
    color: var(--primary-teal-dark);
}

/* Done tasks stay on the list for the rest of the day */
.task-item.task-done-state .task-text {
    text-decoration: line-through;
    color: var(--text-light);
}

.task-item.task-done-state .task-edit {
    opacity: 0.5;
}

.priority-badge-done {
    /* Outlined = finished, filled = still to do */
    background: transparent;
    border: 1px solid var(--primary-teal-dark);
    color: var(--primary-teal-dark);
    box-sizing: border-box;
}

.task-priority:disabled {
    cursor: default;
}

.task-done.is-done {
    color: var(--primary-teal-dark);
}

/* New-day review dialog */
.newday-title {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: var(--primary-teal-dark);
}

.newday-text {
    margin: 0 0 16px 0;
    line-height: 1.5;
    color: var(--text-dark);
}

.newday-list {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newday-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-dark);
}

.newday-list label span {
    flex: 1;
}

.newday-list label small {
    color: var(--text-light);
    white-space: nowrap;
}

.newday-list input[type="checkbox"] {
    accent-color: var(--primary-teal-dark);
    width: 18px;
    height: 18px;
}

.focus-section .task-item {
    background: var(--focus-teal);
}

.task-text {
    flex: 1;
    font-size: clamp(14px, 3.5vw, 17px);
    color: var(--text-dark);
    margin-left: 8px;
}

/* Task Action Buttons - Base Styles */
.task-star,
.task-edit,
.task-done,
.task-delete {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.task-star:hover,
.task-edit:hover,
.task-done:hover,
.task-delete:hover {
    transform: scale(1.1);
}

/* Star Button - Specific Styles */
.task-star {
    color: var(--text-dark);
    /* 32px button with a 24px icon/badge: -4px puts it on the 16px gutter,
       in line with the step circle in the assistant box */
    margin-left: -4px;
    margin-right: 4px;
}

.task-star:hover {
    background: rgba(255, 193, 7, 0.1);
}

.task-star svg {
    width: 24px;
    height: 24px;
}

/* Edit Button - Specific Styles */
.task-edit {
    color: var(--text-light);
    margin-right: 8px;
}

.task-edit:hover {
    color: var(--primary-teal);
    background: rgba(102, 178, 178, 0.1);
}

.task-edit svg {
    width: 20px;
    height: 20px;
}

/* Delete Button - Specific Styles */
.task-delete {
    color: var(--text-light);
}

.task-delete:hover {
    color: var(--delete-red);
    background: rgba(244, 67, 54, 0.1);
}

.task-delete svg {
    width: 20px;
    height: 20px;
}

/* Swipe Background for task-item-wrapper */
.task-item-wrapper {
    position: relative;
    transition: margin 0.2s ease;
}

/* Drop zone highlighting for vertical reordering */
.task-item-wrapper.drop-zone-above {
    margin-top: 50px;
}

.task-item-wrapper.drop-zone-below {
    margin-bottom: 50px;
}

.swipe-background {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 0;
    pointer-events: none;
}

.swipe-background.left {
    background: var(--archive-green);
    justify-content: flex-end;
    padding-right: 20px;
}

.swipe-background.right {
    background: var(--backlog-purple);
    justify-content: flex-start;
    padding-left: 20px;
}

.swipe-background-text {
    color: white;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

/* Archive List */
.archive-list {
    padding: 0;
}

.archive-task-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.archive-task-item .archive-date {
    font-size: 11px;
    color: var(--text-light);
    white-space: nowrap;
    min-width: 90px;
}

.archive-task-item .task-text {
    cursor: default;
    flex: 1;
    font-size: 16px;
    color: var(--text-dark);
}

/* Settings */
.settings-container {
    padding: 0;
}

.setting-item {
    padding: 16px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.setting-item label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.setting-item input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-light);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.setting-item input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-teal);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(102, 178, 178, 0.3);
    transition: all 0.2s;
}

.setting-item input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(102, 178, 178, 0.5);
}

.setting-item input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-teal);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(102, 178, 178, 0.3);
    transition: all 0.2s;
}

.setting-item input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(102, 178, 178, 0.5);
}

.setting-item input[type="range"]::-moz-range-track {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-light);
}

.setting-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    accent-color: var(--primary-teal);
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.setting-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-teal);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-light);
}

.setting-item-last {
    border-bottom: none;
}

.theme-toggle {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.theme-toggle label {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.theme-toggle label:hover {
    border-color: var(--primary-teal);
    background: rgba(102, 178, 178, 0.05);
}

.theme-toggle input[type="radio"] {
    display: none;
}

.theme-toggle input[type="radio"]:checked + label,
.theme-toggle label:has(input[type="radio"]:checked) {
    border-color: var(--primary-teal);
    background: var(--primary-teal);
    color: white;
    font-weight: 600;
}

.theme-toggle label:has(input[type="radio"]:checked) svg {
    stroke: white;
    color: white;
}

.theme-button {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 16px;
    font-weight: normal;
}

.theme-button:hover {
    border-color: var(--primary-teal);
    background: rgba(102, 178, 178, 0.1);
}

.theme-button:active {
    transform: scale(0.98);
}

/* Help view */
.help-content {
    padding: 10px 20px 80px;
}

.help-intro,
.help-tips {
    padding: 20px;
    border-radius: 12px;
    background: var(--help-bg-teal);
}

.help-intro {
    margin-bottom: 20px;
}

.help-intro h2 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--text-dark);
}

.help-section {
    margin-bottom: 24px;
}

.help-section h3,
.help-tips h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.help-tips h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-card {
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-white);
}

.help-intro p,
.help-card p {
    margin: 0 0 12px;
    line-height: 1.6;
    color: var(--text-dark);
}

.help-card-compact p {
    margin-bottom: 8px;
}

.help-intro p:last-child,
.help-card p:last-child {
    margin-bottom: 0;
}

.help-tips ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Version and copyright at the bottom of Settings */
.app-footer {
    margin-top: 10px;
    padding: 20px 20px 10px;
    text-align: center;
    font-size: 10px;
    line-height: 1.6;
    color: var(--text-light);
}

.app-footer p {
    margin: 4px 0;
}

.app-footer .app-footer-copyright {
    margin-top: 12px;
}

.app-footer a {
    color: inherit;
    text-decoration: none;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: var(--nav-height);
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    margin: 0;
    padding: 5px 0 0 0;
    padding-bottom: env(safe-area-inset-bottom); /* For devices with notch/home indicator */
}

@media (min-width: 768px) {
    .bottom-nav {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.nav-btn {
    flex: 1;
    height: 100%;
    border: none;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
}

.nav-btn.active {
    color: var(--primary-teal-dark);
}

.nav-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.nav-label {
    font-size: 11px;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive */
@media (min-width: 768px) {
    .app-container {
        max-width: 480px;
        margin: 0 auto;
        border-left: 1px solid var(--border-light);
        border-right: 1px solid var(--border-light);
    }
}

/* Dark Mode Specific Overrides */
body.dark-mode .task-star {
    color: #b2d8d8;
}

