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

/* CSS Variables for better maintainability */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --success-color: #51cf66;
    --warning-color: #ffd43b;
    --error-color: #ff6b6b;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --text-muted: #868e96;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --background-overlay: rgba(0, 0, 0, 0.5);
    --border-color: #e9ecef;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --z-index-dropdown: 1000;
    --z-index-modal: 2000;
    --z-index-notification: 3000;
    --z-index-focus: 10000;
}

/* Dark mode variables */
[data-theme="dark"] {
    --text-dark: #ffffff;
    --text-light: #b8c5d1;
    --text-muted: #868e96;
    --background-light: #1a1a1a;
    --background-white: #2d2d2d;
    --background-overlay: rgba(0, 0, 0, 0.7);
    --border-color: #404040;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Accessibility Utilities */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    z-index: var(--z-index-focus);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: var(--z-index-focus);
    transition: opacity var(--transition-slow);
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    font-size: 4rem;
    color: white;
    animation: spin 2s linear infinite;
    margin-bottom: 1rem;
}

.loading-screen p {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

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

/* Focus and reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 0 0 2px currentColor;
        --shadow-lg: 0 0 0 2px currentColor;
        --shadow-xl: 0 0 0 2px currentColor;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    transition: all var(--transition-base);
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Improved focus styles for better accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .header {
    background: rgba(45, 45, 45, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo i {
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Dark Mode Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

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

.theme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
}

.theme-slider:before {
    position: absolute;
    content: "☀️";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

input:checked + .theme-slider {
    background-color: var(--primary-color);
}

input:checked + .theme-slider:before {
    transform: translateX(30px);
    content: "🌙";
}

.theme-slider:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Accessibility - minimum touch target */
    min-width: 44px;
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff5252);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff5252, #e53e3e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

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

.btn-secondary {
    background: var(--background-white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--background-light);
    transform: translateY(-1px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

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

/* Button loading state */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Disabled state */
.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Icon buttons */
.btn-icon {
    padding: 0.75rem;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
}

/* Timer Section */
.timer-section {
    background: var(--background-white);
    padding: 4rem 0;
    flex: 1;
    min-height: 80vh;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.timer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.session-counters {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.counter {
    text-align: center;
}

.counter-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.counter-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Timer and Tasks Container */
.timer-tasks-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 2rem auto;
    max-width: 1400px;
    position: relative;
}

/* Task Sidebar - Version 2.0 - Debug */
.task-sidebar {
    position: fixed !important;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--background-white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
    border-left: 3px solid var(--primary-color);
}

/* FORCE HIDE OLD TASK LIST SIDEBAR */
.task-list-sidebar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

[data-theme="dark"] .task-sidebar {
    background: rgba(45, 45, 45, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.task-sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.sidebar-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.sidebar-close:hover {
    background: var(--background-light);
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Sidebar Toggle Button - Debug */
.sidebar-toggle {
    position: fixed !important;
    top: 50% !important;
    right: 20px !important;
    transform: translateY(-50%);
    background: var(--primary-color) !important;
    color: white !important;
    border: none;
    padding: 1rem;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: -3px 0 15px rgba(255, 107, 107, 0.3);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.sidebar-toggle:hover {
    background: #ff5252;
    transform: translateY(-50%) translateX(-5px);
    box-shadow: -5px 0 20px rgba(255, 107, 107, 0.4);
}

.sidebar-toggle i {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.sidebar-toggle span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Task Input in Sidebar */
.task-sidebar .task-input {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.task-sidebar #task-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--background-light);
    color: var(--text-dark);
}

.task-sidebar #task-input:focus {
    border-color: var(--primary-color);
    outline: none;
    background: var(--background-white);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.task-sidebar .add-task-btn {
    padding: 1rem;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    font-size: 1.1rem;
}

.task-sidebar .add-task-btn:hover {
    background: #40c057;
    transform: translateY(-2px);
}

/* Tasks List in Sidebar */
.task-sidebar .tasks {
    list-style: none;
    margin-bottom: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.task-sidebar .tasks::-webkit-scrollbar {
    width: 6px;
}

.task-sidebar .tasks::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 3px;
}

.task-sidebar .tasks::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* Task Counter in Sidebar */
.task-sidebar .task-counter {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem;
    border-top: 2px solid var(--border-color);
    background: var(--background-light);
    border-radius: 8px;
    margin-top: 1rem;
}

.task-sidebar .task-counter .completed-count {
    color: var(--success-color);
    font-weight: 700;
}

.task-sidebar .task-counter .total-count {
    color: var(--primary-color);
    font-weight: 700;
}

/* Desktop layout - centered timer */
@media (min-width: 1024px) {
    .timer-tasks-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .timer-display {
        text-align: center;
    }
}

/* Timer Display */
.timer-display {
    flex: 0 0 auto;
    position: relative;
    text-align: center;
}

.timer-circle {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.timer-circle:hover {
    transform: scale(1.02);
}

.timer-circle.active {
    animation: pulse 3s infinite;
}

.progress-ring {
    transform: rotate(-90deg);
    filter: drop-shadow(0 10px 30px rgba(255, 107, 107, 0.3));
}

.progress-ring-background {
    opacity: 0.15;
    stroke-width: 12;
}

.progress-ring-progress {
    stroke-dasharray: 1256.636;
    stroke-dashoffset: 1256.636;
    transition: stroke-dashoffset 1s ease-in-out;
    stroke-linecap: round;
    stroke-width: 12;
    filter: drop-shadow(0 0 10px currentColor);
}

.timer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.time-display {
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    letter-spacing: -2px;
    font-family: 'Inter', monospace;
}

.timer-mode {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* OLD Task List Sidebar styles - HIDE COMPLETELY */
.task-list-sidebar {
    display: none !important;
    visibility: hidden !important;
}
*/

.task-list-sidebar h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
    position: relative;
}

.task-list-sidebar h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.task-list-sidebar .task-input {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.task-list-sidebar #task-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--background-light);
    color: var(--text-dark);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.task-list-sidebar #task-input:focus {
    border-color: var(--primary-color);
    outline: none;
    background: var(--background-white);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
    transform: translateY(-1px);
}

.task-list-sidebar .add-task-btn {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--success-color), #40c057);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(81, 207, 102, 0.3);
}

.task-list-sidebar .add-task-btn:hover {
    background: linear-gradient(135deg, #40c057, #37b24d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(81, 207, 102, 0.4);
}

.task-list-sidebar .add-task-btn:active {
    transform: translateY(0);
}

.task-list-sidebar .tasks {
    list-style: none;
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.task-list-sidebar .tasks::-webkit-scrollbar {
    width: 8px;
}

.task-list-sidebar .tasks::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 4px;
}

.task-list-sidebar .tasks::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.task-list-sidebar .tasks::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff5252, #4ecdc4);
}

/* Individual Task Items */
.task-item {
    background: var(--background-light);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.task-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.task-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.task-item:hover::before {
    width: 8px;
}

.task-item.completed {
    background: rgba(81, 207, 102, 0.1);
    border-color: var(--success-color);
}

.task-item.completed::before {
    background: var(--success-color);
    width: 4px;
}

.task-item.completed .task-text {
    text-decoration: line-through;
    opacity: 0.7;
}

.task-content {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1rem;
}

.task-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background: var(--background-white);
}

.task-checkbox:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.task-checkbox.checked {
    background: var(--success-color);
    border-color: var(--success-color);
}

.task-checkbox.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.task-text {
    flex: 1;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

.task-actions {
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.task-item:hover .task-actions {
    opacity: 1;
}

.task-delete {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.task-delete:hover {
    background: rgba(231, 76, 60, 0.1);
    transform: scale(1.1);
}

.task-list-sidebar .task-counter {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    padding: 1.5rem 0;
    border-top: 2px solid var(--border-color);
    background: var(--background-light);
    border-radius: 12px;
    margin-top: 1rem;
}

.task-counter .completed-count {
    color: var(--success-color);
    font-weight: 700;
}

.task-counter .total-count {
    color: var(--primary-color);
    font-weight: 700;
}

/* Empty state */
.tasks-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.tasks-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.tasks-empty p {
    font-size: 1.1rem;
    margin: 0;
}

/* Dark mode task improvements */
[data-theme="dark"] .task-list-sidebar {
    background: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .task-item {
    background: rgba(64, 64, 64, 0.5);
    border-color: transparent;
}

[data-theme="dark"] .task-item:hover {
    background: rgba(64, 64, 64, 0.8);
    border-color: var(--primary-color);
}

[data-theme="dark"] .task-item.completed {
    background: rgba(81, 207, 102, 0.15);
}

[data-theme="dark"] .task-checkbox {
    background: rgba(64, 64, 64, 0.8);
    border-color: #555;
}

[data-theme="dark"] .task-input #task-input {
    background: rgba(64, 64, 64, 0.6);
    border-color: #555;
    color: var(--text-dark);
}

[data-theme="dark"] .task-input #task-input:focus {
    background: rgba(64, 64, 64, 0.9);
    border-color: var(--primary-color);
}

.start-btn {
    background: linear-gradient(145deg, var(--primary-color), #ff5252);
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 60px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.start-btn:hover::before {
    left: 100%;
}

.start-btn:hover {
    background: linear-gradient(145deg, #ff5252, #ff4444);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6);
}

.start-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.start-btn.pause {
    background: linear-gradient(145deg, var(--warning-color), #fcc419);
    box-shadow: 0 8px 25px rgba(255, 212, 59, 0.4);
}

.start-btn.pause:hover {
    background: linear-gradient(145deg, #fcc419, #fab005);
    box-shadow: 0 15px 35px rgba(255, 212, 59, 0.6);
}

/* Timer Controls */
.timer-controls {
    margin-top: 2rem;
}

.control-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.test-sound-btn {
    padding: 0.5rem;
    min-width: auto;
    margin-left: 0.5rem;
}

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

.toggle {
    appearance: none;
    width: 50px;
    height: 25px;
    background: var(--border-color);
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle:checked {
    background: var(--primary-color);
}

.toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle:checked::before {
    transform: translateX(25px);
}

/* Features Section */
.features-section {
    background: var(--background-light);
    padding: 3rem 0;
}

.features-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
}

.music-player {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    flex: 1;
    max-width: 400px;
}

.music-player h3, .task-list h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Music Player */
.music-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#music-select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#volume-slider {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    outline: none;
    appearance: none;
}

#volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.music-btn {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-btn:hover {
    background: #45b7aa;
}

/* Existing task styles are now in .task-list-sidebar */

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--background-white);
    margin: 5% auto;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 2rem;
}

.setting-group {
    margin-bottom: 1.5rem;
}

.setting-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.setting-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Info Section */
.info-section {
    background: var(--background-white);
    padding: 4rem 0;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-image {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.info-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: var(--background-light);
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-container h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.faq-item {
    background: var(--background-white);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-item h4 {
    padding: 1.5rem;
    margin: 0;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    user-select: none;
}

.faq-content {
    padding: 1.5rem;
    display: none;
}

.faq-item.active .faq-content {
    display: block;
}

.faq-content ol, .faq-content ul {
    padding-left: 1.5rem;
}

.faq-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (min-width: 1200px) {
    .timer-tasks-container {
        gap: 5rem;
    }
    .task-list-sidebar {
        max-width: 450px;
        width: 450px;
    }
}

@media (max-width: 768px) {
    .session-counters {
        gap: 1.5rem;
    }
    
    .timer-tasks-container {
        flex-direction: column;
        gap: 2rem;
        justify-content: center;
    }
    
    .timer-display {
        text-align: center;
    }
    
    .task-list-sidebar {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .time-display {
        font-size: 3.5rem;
    }
    
    .timer-mode {
        font-size: 1.3rem;
    }
    
    .start-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
    }
    
    .progress-ring {
        width: 350px;
        height: 350px;
    }
    
    .progress-ring-background,
    .progress-ring-progress {
        r: 150;
        cx: 175;
        cy: 175;
    }
    
    .features-container {
        padding: 0 1rem;
    }
    
    .info-container {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .theme-toggle {
        order: -1;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .timer-circle svg {
        width: 280px;
        height: 280px;
        padding-left: 0;
    }
    .task-list-sidebar {
        position: static;
        transform: none;
        top: 0;
    }
    
    .progress-ring-background,
    .progress-ring-progress {
        r: 120;
        cx: 140;
        cy: 140;
    }
    
    .time-display {
        font-size: 2.8rem;
    }
    
    .timer-mode {
        font-size: 1.1rem;
    }
    
    .start-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .session-counters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .task-list-sidebar {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 10px 30px rgba(255, 107, 107, 0.3));
    }
    50% {
        transform: scale(1.02);
        filter: drop-shadow(0 15px 40px rgba(255, 107, 107, 0.5));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 30px rgba(255, 107, 107, 0.3));
    }
}

.timer-circle.active {
    animation: pulse 3s infinite;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--background-white);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    max-width: 300px;
    animation: slideInRight 0.3s ease;
}

.notification.success {
    border-left-color: var(--success-color);
}

.notification.info {
    border-left-color: var(--secondary-color);
}

.notification.warning {
    border-left-color: var(--warning-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    border-left-color: var(--success-color);
}

.notification.warning {
    border-left-color: var(--warning-color);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Dark mode improvements for inputs and buttons */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] select {
    background-color: var(--background-light);
    color: var(--text-dark);
    border-color: var(--border-color);
}

[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="number"]:focus,
[data-theme="dark"] select:focus {
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-secondary {
    background: var(--background-light);
    color: var(--text-dark);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--border-color);
}

/* Progress ring for dark mode */
[data-theme="dark"] .progress-ring-background {
    stroke: #404040;
}

/* Focus states for accessibility */
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Focus Mode - Hide everything except timer */
body.focus-mode .header,
body.focus-mode .session-counters,
body.focus-mode .task-list-sidebar,
body.focus-mode .task-sidebar,
body.focus-mode .sidebar-toggle,
body.focus-mode .sidebar-overlay,
body.focus-mode .timer-controls,
body.focus-mode .features-section,
body.focus-mode .info-section,
body.focus-mode .faq-section,
body.focus-mode .footer {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

body.focus-mode {
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

/* Dark theme focus mode has even darker background */
[data-theme="dark"] body.focus-mode {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%) !important;
}

body.focus-mode .timer-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
}

body.focus-mode .timer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body.focus-mode .timer-tasks-container {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

body.focus-mode .timer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

body.focus-mode .timer-display {
    transform: scale(1.2);
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.focus-mode .timer-circle {
    position: relative;
    display: inline-block;
}

body.focus-mode .progress-ring {
    width: 470px !important;
    height: 470px !important;
    filter: drop-shadow(0 20px 50px rgba(255, 107, 107, 0.4));
}

body.focus-mode .progress-ring-background,
body.focus-mode .progress-ring-progress {
    r: 205 !important;
    cx: 235 !important;
    cy: 235 !important;
    stroke-width: 10 !important;
}

body.focus-mode .time-display {
    font-size: 5.2rem !important;
    font-weight: 900 !important;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -1.5px;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

body.focus-mode .timer-mode {
    font-size: 1.5rem !important;
    margin-bottom: 1.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #e0e0e0;
}

body.focus-mode .start-btn {
    padding: 1.2rem 2.6rem !important;
    font-size: 1.3rem !important;
    border-radius: 40px !important;
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5) !important;
    font-weight: 600 !important;
}

/* Focus mode hint */
.focus-hint {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    opacity: 0;
    animation: fadeInOut 3s infinite;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

body.focus-mode .focus-hint {
    opacity: 0.7;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Focus mode responsive */
@media (max-width: 768px) {
    body.focus-mode .timer-display {
        transform: scale(1.2);
    }
    
    body.focus-mode .progress-ring {
        width: 450px !important;
        height: 450px !important;
    }
    
    body.focus-mode .progress-ring-background,
    body.focus-mode .progress-ring-progress {
        r: 200 !important;
        cx: 225 !important;
        cy: 225 !important;
        stroke-width: 14 !important;
    }
    
    body.focus-mode .time-display {
        font-size: 5rem !important;
    }
    
    body.focus-mode .timer-mode {
        font-size: 1.8rem !important;
    }
    
    body.focus-mode .start-btn {
        padding: 1.5rem 3rem !important;
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    body.focus-mode .timer-display {
        transform: scale(1);
    }
    
    body.focus-mode .progress-ring {
        width: 350px !important;
        height: 350px !important;
    }
    
    body.focus-mode .progress-ring-background,
    body.focus-mode .progress-ring-progress {
        r: 150 !important;
        cx: 175 !important;
        cy: 175 !important;
        stroke-width: 12 !important;
    }
    
    body.focus-mode .time-display {
        font-size: 4rem !important;
    }
    
    body.focus-mode .timer-mode {
        font-size: 1.5rem !important;
    }
}

/* Additional responsive improvements */
@media (max-width: 1023px) {
    .header-content {
        padding: 0 1.5rem;
    }
    
    .timer-tasks-container {
        flex-direction: column !important;
        gap: 2rem;
        align-items: center;
    }
    
    .task-list-sidebar {
        max-width: none;
        width: 100%;
        max-width: 600px;
    }
    
    .info-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .timer-section {
        padding: 2rem 1rem;
    }
    
    .session-counters {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .progress-ring {
        width: 400px;
        height: 400px;
    }
    
    .progress-ring-background,
    .progress-ring-progress {
        r: 180;
        cx: 200;
        cy: 200;
    }
    
    .time-display {
        font-size: 3.5rem;
    }
    
    .features-container {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.25rem;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .session-counters {
        margin-bottom: 1.5rem;
    }
    
    .counter {
        padding: 1rem;
    }
    
    .counter-value {
        font-size: 1.8rem;
    }
    
    .progress-ring {
        width: 350px;
        height: 350px;
    }
    
    .progress-ring-background,
    .progress-ring-progress {
        r: 150;
        cx: 175;
        cy: 175;
        stroke-width: 10;
    }
    
    .time-display {
        font-size: 3rem;
    }
    
    .timer-mode {
        font-size: 1.1rem;
    }
    
    .start-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .task-list-sidebar h3 {
        font-size: 1.1rem;
    }
    
    .info-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .faq-container {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .timer-section {
        padding: 1.5rem 0.5rem;
    }
    
    .session-counters {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .counter {
        padding: 0.75rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .counter-label {
        margin-bottom: 0;
        font-size: 0.9rem;
    }
    
    .counter-value {
        font-size: 1.5rem;
    }
    
    .progress-ring {
        width: 280px;
        height: 280px;
    }
    
    .progress-ring-background,
    .progress-ring-progress {
        r: 120;
        cx: 140;
        cy: 140;
        stroke-width: 8;
    }
    
    .time-display {
        font-size: 2.5rem;
    }
    
    .timer-mode {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .start-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .timer-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .control-group {
        justify-content: space-between;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    
    .task-input {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .task-input input {
        width: 100%;
    }
    
    .add-task-btn {
        width: 100%;
        justify-content: center;
    }
    
    .task-item {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .task-content {
        width: 100%;
    }
    
    .task-actions {
        align-self: flex-end;
    }
    
    .features-section {
        padding: 1.5rem 0;
    }
    
    .music-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .volume-control {
        width: 100%;
    }
    
    .info-section {
        padding: 1.5rem 0;
    }
    
    .info-card {
        padding: 1.25rem;
        text-align: center;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
    
    .faq-section {
        padding: 1.5rem 0;
    }
    
    .faq-item h4 {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq-content {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .modal-content {
        margin: 2% auto;
        width: 98%;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .setting-group {
        margin-bottom: 1rem;
    }
    
    .setting-group label {
        font-size: 0.9rem;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .modal-footer .btn-primary,
    .modal-footer .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .timer-section {
        padding: 1rem 0;
    }
    
    .session-counters {
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 1rem;
    }
    
    .timer-tasks-container {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .progress-ring {
        width: 250px;
        height: 250px;
    }
    
    .progress-ring-background,
    .progress-ring-progress {
        r: 100;
        cx: 125;
        cy: 125;
        stroke-width: 6;
    }
    
    .time-display {
        font-size: 2rem;
    }
    
    .timer-mode {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .start-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .task-list-sidebar {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .info-section,
    .faq-section {
        display: none;
    }
}

/* Individual Task Items (used in sidebar) */
.task-item {
    background: var(--background-light);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.task-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.task-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.task-item:hover::before {
    width: 8px;
}

.task-item.completed {
    background: rgba(81, 207, 102, 0.1);
    border-color: var(--success-color);
}

.task-item.completed::before {
    background: var(--success-color);
    width: 4px;
}

.task-item.completed .task-text {
    text-decoration: line-through;
    opacity: 0.7;
}

.task-content {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1rem;
}

.task-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background: var(--background-white);
}

.task-checkbox:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.task-checkbox.checked {
    background: var(--success-color);
    border-color: var(--success-color);
}

.task-checkbox.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.task-text {
    flex: 1;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

.task-actions {
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.task-item:hover .task-actions {
    opacity: 1;
}

.task-delete {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.task-delete:hover {
    background: rgba(231, 76, 60, 0.1);
    transform: scale(1.1);
}

/* Empty state */
.tasks-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.tasks-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.tasks-empty p {
    font-size: 1.1rem;
    margin: 0;
}

/* Hide cursor for ultimate focus */
body.hide-cursor,
body.hide-cursor * {
    cursor: none !important;
}

/* Responsive adjustments for sidebar */
@media (max-width: 768px) {
    .task-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .sidebar-toggle {
        right: 10px;
    }
}
