/* ===== DAILIK — Dark Theme, Mobile-First ===== */

:root {
    --bg-primary: #0d0d0f;
    --bg-secondary: #16161a;
    --bg-card: #1c1c21;
    --bg-elevated: #242429;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.4);
    --text-primary: #f0f0f5;
    --text-secondary: #8b8b9e;
    --text-muted: #55556a;
    --success: #00b894;
    --danger: #ff6b6b;
    --border: rgba(255,255,255,0.06);
    --radius: 16px;
    --radius-sm: 10px;
}

* { box-sizing: border-box; }

html {
    font-size: 15px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ===== BUTTONS ===== */

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
}

.btn-primary:hover, .btn-primary:focus {
    background: #5a4bd6;
    border-color: #5a4bd6;
}

.btn-glow {
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 6px 30px var(--accent-glow);
    transform: translateY(-1px);
}

.btn-ghost {
    color: var(--text-secondary);
    border: none;
    background: none;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.2);
    color: var(--text-primary);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

/* ===== AUTH PAGES ===== */

.auth-page {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-primary);
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 40px 30px;
    border: 1px solid var(--border);
}

.auth-logo {
    text-align: center;
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.auth-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.auth-form .form-control {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
}

.auth-form .form-control:focus {
    background: var(--bg-elevated);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    color: var(--text-primary);
}

.auth-form .form-floating label {
    color: var(--text-secondary);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
}

/* ===== LANDING PAGE ===== */

.landing {
    background: #09090b;
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
}

/* Gradient glow blob at top */
.hero-glow {
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 420px;
    background: radial-gradient(ellipse at center,
        rgba(59, 130, 246, 0.35) 0%,
        rgba(139, 92, 246, 0.3) 25%,
        rgba(217, 70, 239, 0.2) 45%,
        rgba(244, 63, 94, 0.1) 65%,
        transparent 80%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.hero-section {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 40px;
}

.hero-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #a0a0b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.hero-badge i {
    color: #a78bfa;
    font-size: 0.85rem;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 24px;
    color: #f0f0f5;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: normal;
}

.text-gradient-warm {
    background: linear-gradient(90deg, #f97316, #ec4899, #d946ef, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-purple {
    background: linear-gradient(90deg, #a855f7, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 0.3em;
}

.hero-desc {
    font-size: 1rem;
    color: #71717a;
    line-height: 1.7;
    margin: 0 auto 36px;
    max-width: 520px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #ffffff;
    color: #09090b;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid #ffffff;
}

.btn-hero-primary:hover {
    background: #e4e4e7;
    color: #09090b;
    transform: translateY(-1px);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: #d4d4d8;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 24px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-green { color: #4ade80; }
.stat-pink { color: #f472b6; }
.stat-purple { color: #a78bfa; }

.hero-stat-label {
    font-size: 0.78rem;
    color: #52525b;
    margin-top: 4px;
}

.hero-stats-line {
    width: 280px;
    height: 3px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, #7c3aed, #ec4899, #f97316, transparent);
    border-radius: 100px;
    opacity: 0.6;
}

.scroll-indicator {
    margin-top: 32px;
    text-align: center;
    color: #3f3f46;
    font-size: 1.4rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(8px); opacity: 0.8; }
}

/* ===== FEATURES ===== */
.features-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    background: #09090b;
}

.features-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    color: #f0f0f5;
}

.features-subtitle {
    text-align: center;
    color: #52525b;
    font-size: 0.95rem;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: #111113;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: left;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.feature-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.feature-icon-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.feature-icon-pink { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.feature-icon-violet { background: rgba(167, 139, 250, 0.15); color: #c4b5fd; }
.feature-icon-green { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.feature-icon-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.feature-icon-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f0f0f5;
}

.feature-card p {
    color: #52525b;
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 100px 0 80px;
}

.cta-inner {
    text-align: center;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
    color: #f0f0f5;
}

.cta-desc {
    color: #52525b;
    font-size: 1rem;
    margin-bottom: 36px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.4);
    color: #fff;
}

/* ===== FOOTER ===== */
.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 700;
    color: #a1a1aa;
}

.footer-brand i {
    color: #71717a;
}

.footer-copy {
    font-size: 0.8rem;
    color: #3f3f46;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-glow {
        width: 500px;
        height: 280px;
        top: -120px;
    }
    .hero-section {
        padding-top: 60px;
    }
    .hero-stats {
        gap: 36px;
    }
    .hero-stat-value {
        font-size: 1.4rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }
    .btn-hero-primary, .btn-hero-outline {
        justify-content: center;
    }
    .hero-stats {
        gap: 24px;
    }
}

/* ===== APP SHELL (Dashboard) ===== */

.app-shell {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
    min-height: 100dvh;
    padding-bottom: 100px;
}

.app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 13, 15, 0.9);
    backdrop-filter: blur(15px);
}

.app-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

/* Topbar buttons */
.topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.topbar-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.topbar-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.topbar-btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.app-logo i {
    color: var(--accent);
}

.topbar-title {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

/* ===== TODAY BUTTON ===== */

.today-btn {
    display: block;
    background: linear-gradient(135deg, var(--accent), #8b7cf7);
    border-radius: var(--radius);
    padding: 20px 24px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 30px var(--accent-glow);
}

.today-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--accent-glow);
    color: #fff;
}

.today-btn-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.today-icon {
    font-size: 2rem;
}

.today-label {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

.today-date {
    font-size: 1.15rem;
    font-weight: 700;
}

/* ===== CALENDAR ===== */

.calendar-container {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    touch-action: pan-y;
    user-select: none;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.calendar-month {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    gap: 2px;
}

.cal-day:not(.empty):hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.cal-day.today {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.cal-day.today:hover {
    background: #5a4bd6;
}

.cal-day.empty {
    pointer-events: none;
}

.cal-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: block;
}

.dot-done { background: var(--success); }
.dot-partial { background: #ffc107; }
.dot-pending { background: var(--danger); }
.dot-none { background: transparent; }

/* ===== DAY PAGE ===== */

.progress-section {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.progress-bar-wrap {
    height: 8px;
    background: var(--bg-elevated);
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--success));
    border-radius: 100px;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===== TASK CARDS ===== */

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    transition: all 0.3s ease;
}

.task-card.completed {
    opacity: 0.5;
}

.task-card.completed .task-title {
    text-decoration: line-through;
}

.task-check {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.task-card.completed .task-check {
    color: var(--success);
}

.task-info {
    flex: 1;
    min-width: 0;
}

.task-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.task-meta i {
    margin-right: 3px;
}

.task-delete {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 4px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.task-card:hover .task-delete {
    opacity: 1;
}

@media (hover: none) {
    .task-delete {
        opacity: 0.5;
    }
}

.task-delete:hover {
    color: var(--danger);
}

/* ===== FAB BUTTON ===== */

.fab-btn {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px var(--accent-glow);
    transition: all 0.3s ease;
    z-index: 60;
    cursor: pointer;
}

.fab-btn:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.fab-btn:active {
    transform: translateX(-50%) scale(0.95);
}

/* ===== MODAL ===== */

.modal-dark {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
}

.modal-dark .form-control {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
}

.modal-dark .form-control:focus {
    background: var(--bg-elevated);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    color: var(--text-primary);
}

.modal-dark .form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
}

.modal-dark .input-group-text {
    background: var(--bg-elevated);
    border-color: var(--border);
    color: var(--text-secondary);
}

.modal-sm-custom {
    max-width: 380px;
}

@media (max-width: 576px) {
    .modal-sm-custom {
        max-width: calc(100% - 32px);
        margin: 16px auto;
    }
}

/* ===== iOS PICKER ===== */

.ios-picker-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ios-picker {
    width: 70px;
    height: 120px;
    overflow: hidden;
    position: relative;
    cursor: grab;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
}

.ios-picker-window {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 40px;
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    pointer-events: none;
    z-index: 2;
    background: rgba(108, 92, 231, 0.08);
    border-radius: 4px;
}

.ios-picker-list {
    padding: 0;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.ios-picker-item {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease;
    user-select: none;
}

.ios-picker-item.selected {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.ios-picker-item.empty {
    visibility: hidden;
}

.ios-picker-sep {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* ===== RECURRING PAGE ===== */

.recurring-info {
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.recurring-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.recurring-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.recurring-card-title {
    font-weight: 600;
    font-size: 1rem;
}

.recurring-card-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.recurring-card-meta i {
    margin-right: 3px;
}

.recurring-days {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.day-badge {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--bg-elevated);
    color: var(--text-muted);
}

.day-badge.active {
    background: var(--accent);
    color: #fff;
}

/* Days selector in modal */
.days-selector {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.day-toggle {
    cursor: pointer;
}

.day-toggle input {
    display: none;
}

.day-toggle span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--bg-elevated);
    color: var(--text-muted);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.day-toggle input:checked + span {
    background: rgba(108, 92, 231, 0.2);
    color: var(--accent-light);
    border-color: var(--accent);
}

/* ===== EMPTY STATE ===== */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.empty-state p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.empty-state small {
    font-size: 0.85rem;
}

/* ===== FORM OVERRIDES ===== */

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control:focus, .form-check-input:focus {
    border-color: var(--accent);
}

/* ===== SCROLLBAR ===== */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== ANIMATIONS ===== */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.task-card, .recurring-card {
    animation: fadeInUp 0.3s ease forwards;
}

.hero-center {
    animation: fadeInUp 0.6s ease;
}

/* ===== RESPONSIVE (App) ===== */

@media (max-width: 576px) {
    .app-shell {
        padding: 0 12px;
    }
    .today-btn {
        padding: 16px 18px;
    }
    .calendar-container {
        padding: 14px;
    }
    .cal-day {
        font-size: 0.82rem;
    }
}