/* Cuerly - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

/* Auth Split Layout */
.auth-container {
    display: flex;
    min-height: 100vh;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.auth-left .logo {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    z-index: 1;
}

.auth-left .tagline {
    font-size: 1.25rem;
    font-weight: 300;
    text-align: center;
    max-width: 400px;
    line-height: 1.8;
    z-index: 1;
    opacity: 0.9;
}

.auth-left .features {
    margin-top: 2.5rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-left .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.auth-left .feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.auth-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    background: white;
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
}

.auth-form-container h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.auth-form-container .subtitle {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: #f9fafb;
}

.form-group input:focus {
    outline: none;
    border-color: #F97316;
    background: white;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #F97316;
}

.forgot-password {
    color: #F97316;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

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

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.auth-switch a {
    color: #F97316;
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Alert Messages */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    display: none;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Profile Setup */
.profile-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #FFF7ED 0%, #FEF3E2 100%);
    padding: 2rem;
}

.profile-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.profile-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-card .subtitle {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.profile-card .skip-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
}

.profile-card .skip-link:hover {
    color: #F97316;
}

.gender-options {
    display: flex;
    gap: 0.75rem;
}

.gender-option {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    background: #f9fafb;
}

.gender-option:hover {
    border-color: #F97316;
}

.gender-option.selected {
    border-color: #F97316;
    background: #FFF7ED;
    color: #F97316;
    font-weight: 600;
}

/* Dashboard */
.dashboard-container {
    min-height: 100vh;
    background: #f0f2f5;
}

.dashboard-header {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.dashboard-header .logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-header .user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-header .user-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.dashboard-header .user-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-logout {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #fee2e2;
    color: #dc2626;
}

.dashboard-welcome {
    padding: 2rem 2rem 1rem;
}

.dashboard-welcome h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.dashboard-welcome p {
    color: #64748b;
    margin-top: 0.25rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: 1rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--card-color);
}

.category-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.category-card .card-count {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

/* Settings Page */
.settings-container {
    min-height: 100vh;
}

.settings-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.settings-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.settings-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.settings-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #374151;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.setting-row:last-child {
    border-bottom: none;
}

.setting-info h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.setting-info p {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #cbd5e1;
    border-radius: 28px;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.settings-profile-form .form-group {
    margin-bottom: 1rem;
}

.btn-save {
    padding: 0.7rem 2rem;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #F97316;
}

.btn-settings {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.btn-settings:hover {
    background: #e2e8f0;
    color: #334155;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] body,
[data-theme="dark"] {
    background-color: #0f172a;
    color: #e2e8f0;
}

[data-theme="dark"] .auth-right {
    background: #1e293b;
}

[data-theme="dark"] .auth-form-container h2 {
    color: #f1f5f9;
}

[data-theme="dark"] .auth-form-container .subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .form-group label {
    color: #cbd5e1;
}

[data-theme="dark"] .form-group input {
    background: #334155;
    border-color: #475569;
    color: #f1f5f9;
}

[data-theme="dark"] .form-group input:focus {
    background: #1e293b;
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

[data-theme="dark"] .form-group input::placeholder {
    color: #64748b;
}

[data-theme="dark"] .remember-me {
    color: #94a3b8;
}

[data-theme="dark"] .auth-switch {
    color: #94a3b8;
}

[data-theme="dark"] .alert-error {
    background: #451a1a;
    color: #fca5a5;
    border-color: #7f1d1d;
}

[data-theme="dark"] .alert-success {
    background: #14532d;
    color: #86efac;
    border-color: #166534;
}

[data-theme="dark"] .dashboard-container,
[data-theme="dark"] .settings-container {
    background: #0f172a;
}

[data-theme="dark"] .dashboard-header {
    background: #1e293b;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

[data-theme="dark"] .dashboard-header .user-name {
    color: #e2e8f0;
}

[data-theme="dark"] .btn-logout,
[data-theme="dark"] .btn-settings {
    background: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .btn-logout:hover {
    background: #7f1d1d;
    color: #fca5a5;
}

[data-theme="dark"] .btn-settings:hover {
    background: #475569;
    color: #e2e8f0;
}

[data-theme="dark"] .dashboard-welcome h1 {
    color: #f1f5f9;
}

[data-theme="dark"] .dashboard-welcome p {
    color: #94a3b8;
}

[data-theme="dark"] .category-card {
    background: #1e293b;
}

[data-theme="dark"] .category-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

[data-theme="dark"] .category-card h3 {
    color: #f1f5f9;
}

[data-theme="dark"] .category-card p {
    color: #94a3b8;
}

[data-theme="dark"] .category-card .card-count {
    background: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .settings-section {
    background: #1e293b;
}

[data-theme="dark"] .settings-section h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .setting-row {
    border-bottom-color: #334155;
}

[data-theme="dark"] .setting-info h4 {
    color: #e2e8f0;
}

[data-theme="dark"] .setting-info p {
    color: #64748b;
}

[data-theme="dark"] .profile-container {
    background: linear-gradient(135deg, #0f172a 0%, #2a1708 100%);
}

[data-theme="dark"] .profile-card {
    background: #1e293b;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

[data-theme="dark"] .profile-card h2 {
    color: #f1f5f9;
}

[data-theme="dark"] .profile-card .subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .profile-card .skip-link {
    color: #64748b;
}

[data-theme="dark"] .gender-option {
    background: #334155;
    border-color: #475569;
    color: #cbd5e1;
}

[data-theme="dark"] .gender-option:hover {
    border-color: #F97316;
}

[data-theme="dark"] .gender-option.selected {
    background: #431407;
    border-color: #F97316;
    color: #FDBA74;
}

[data-theme="dark"] .settings-content h1 {
    color: #f1f5f9;
}

[data-theme="dark"] .btn-back {
    color: #94a3b8;
}

[data-theme="dark"] .btn-back:hover {
    color: #FDBA74;
}

/* ===== Module Pages (Appointments, Todos) ===== */
.module-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.module-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.module-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.btn-add {
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

/* Module Form */
.module-form {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 2px solid #F9731620;
}

.module-form h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #374151;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-cancel {
    padding: 0.7rem 1.5rem;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background: #e2e8f0;
}

/* Items List */
.items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.item-card {
    background: white;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    border-left: 4px solid transparent;
}

.item-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.item-card.upcoming {
    border-left-color: #06b6d4;
}

.item-card.past {
    border-left-color: #94a3b8;
    opacity: 0.7;
}

.item-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.item-info .item-meta {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.item-info .item-notes {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.35rem;
    font-style: italic;
}

.item-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-icon {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: #f1f5f9;
}

.btn-icon:hover {
    transform: scale(1.1);
}

.btn-icon.edit:hover {
    background: #dbeafe;
    color: #3b82f6;
}

.btn-icon.delete:hover {
    background: #fee2e2;
    color: #ef4444;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}

.empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.empty-hint {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Todo Specific */
.todo-add-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: center;
}

.todo-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: white;
}

.todo-input:focus {
    outline: none;
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.todo-select, .todo-date {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    background: white;
    color: #374151;
}

.todo-select:focus, .todo-date:focus {
    outline: none;
    border-color: #F97316;
}

.todo-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.filter-btn {
    padding: 0.45rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    background: white;
    color: #64748b;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active {
    border-color: #F97316;
    background: #FFF7ED;
    color: #F97316;
    font-weight: 600;
}

.filter-btn:hover {
    border-color: #F97316;
}

.todo-item {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.todo-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.todo-item.completed {
    opacity: 0.5;
}

.todo-item.completed .todo-title {
    text-decoration: line-through;
}

.todo-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.todo-checkbox:hover {
    border-color: #F97316;
}

.todo-checkbox.checked {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    border-color: transparent;
    color: white;
    font-size: 0.7rem;
}

.todo-info {
    flex: 1;
}

.todo-title {
    font-size: 0.95rem;
    font-weight: 500;
}

.todo-details {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.2rem;
    display: flex;
    gap: 0.75rem;
}

.priority-badge {
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-cok_onemli { background: #fef2f2; color: #ef4444; }
.priority-onemli { background: #fffbeb; color: #f59e0b; }
.priority-normal { background: #eff6ff; color: #3b82f6; }
.priority-onemsiz { background: #f1f5f9; color: #94a3b8; }

.todo-summary {
    text-align: center;
    padding: 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Dark mode - Module pages */
[data-theme="dark"] .module-content h1 {
    color: #f1f5f9;
}

[data-theme="dark"] .module-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .module-form {
    background: #1e293b;
    border-color: #F9731630;
}

[data-theme="dark"] .module-form h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .item-card,
[data-theme="dark"] .todo-item {
    background: #1e293b;
}

[data-theme="dark"] .item-info h4,
[data-theme="dark"] .todo-title {
    color: #f1f5f9;
}

[data-theme="dark"] .item-info .item-meta,
[data-theme="dark"] .todo-details {
    color: #64748b;
}

[data-theme="dark"] .btn-icon {
    background: #334155;
}

[data-theme="dark"] .todo-input {
    background: #1e293b;
    border-color: #475569;
    color: #f1f5f9;
}

[data-theme="dark"] .todo-input:focus {
    background: #0f172a;
    border-color: #F97316;
}

[data-theme="dark"] .todo-select,
[data-theme="dark"] .todo-date {
    background: #1e293b;
    border-color: #475569;
    color: #e2e8f0;
}

[data-theme="dark"] .filter-btn {
    background: #1e293b;
    border-color: #475569;
    color: #94a3b8;
}

[data-theme="dark"] .filter-btn.active {
    background: #431407;
    border-color: #F97316;
    color: #FDBA74;
}

[data-theme="dark"] .btn-cancel {
    background: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .btn-cancel:hover {
    background: #475569;
}

[data-theme="dark"] .todo-checkbox {
    border-color: #475569;
}

[data-theme="dark"] .empty-state {
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }
    .auth-left {
        padding: 2rem;
        min-height: auto;
    }
    .auth-left .features {
        display: none;
    }
    .auth-right {
        padding: 2rem;
    }
    .categories-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    .dashboard-header {
        padding: 1rem;
    }
    .dashboard-welcome {
        padding: 1.5rem 1rem 0.5rem;
    }
    .module-content {
        padding: 1rem;
    }
    .module-header {
        flex-direction: column;
        gap: 1rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .todo-add-bar {
        flex-wrap: wrap;
    }
    .todo-input {
        width: 100%;
    }
}
