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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1f1f1f 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

/* App Container */
.app-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 23px;
    min-height: 100vh;
}

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 32px;
}

.app-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    align-items: center;
}

/* Daily Progress Navigation */
.daily-progress-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 140px;
}

.daily-progress-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.daily-progress-nav-content {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.daily-progress-nav-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.daily-progress-nav-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.daily-progress-nav-fill.over-goal {
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.daily-progress-nav-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    min-width: 35px;
    text-align: center;
}

.nav-tab {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-tab.active {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: rgba(102, 126, 234, 0.8);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: rgba(102, 126, 234, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    color: #2d3748;
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.btn-success {
    background: rgba(16, 185, 129, 0.8);
    color: white;
}

.btn-success:hover:not(:disabled) {
    background: rgba(16, 185, 129, 1);
    transform: translateY(-2px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.8);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 1);
    transform: translateY(-2px);
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Projects Section */
.projects-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.project-form input, .project-form select {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 14px;
    color: #ffffff;
    flex: 1;
    min-width: 150px;
}

.project-form input:focus, .project-form select:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Project Filters */
.project-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: rgba(66, 153, 225, 0.8);
    color: white;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
    text-shadow: none;
}

/* Due Date Styling */
.project-due-date {
    font-size: 12px;
    color: #cccccc;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-due-date.overdue {
    color: #e53e3e;
    font-weight: 600;
}

.project-due-date.due-soon {
    color: #d69e2e;
    font-weight: 600;
}

/* Project Cards */
.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.project-stats {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-censayanime {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.tag-morecensay {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.tag-recorded {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.tag-need-record {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.tag-anime {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    color: #c4b5fd;
}

.recording-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #cccccc;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.recording-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.15);
}

.recording-checkbox {
    margin: 0;
    cursor: pointer;
}

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

.project-progress {
    margin-top: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #ea580c, #d97706, #16a34a);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #cccccc;
    margin-top: 4px;
}



.project-actions {
    display: flex;
    gap: 8px;
}

/* Subtasks */
.subtasks-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.subtasks-dropdown.expanded {
    max-height: 2000px;
}

.subtask-form {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.subtask-form input, .subtask-form select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    color: #2d3748;
}

.subtask-name-input {
    flex: 2;
    min-width: 120px;
}

.subtask-value-input {
    flex: 1;
    min-width: 80px;
}

.subtask-type-select {
    flex: 1;
    min-width: 100px;
}

.subtask-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    gap: 16px;
}

.subtask-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.subtask-item.active {
    background: rgba(102, 126, 234, 0.1);
    border-left: 3px solid #667eea;
}

.subtask-info {
    flex: 0 0 auto;
    min-width: 200px;
}

.subtask-name {
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
    font-size: 14px;
}

.subtask-stats {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.subtask-progress-center {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    gap: 12px;
}

.progress-percentage {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    min-width: 50px;
    text-align: right;
}

.subtask-progress-center .progress-bar {
    width: 100%;
    max-width: 300px;
    height: 12px;
}

.session-override-placeholder {
    width: 140px;
    height: 28px;
    margin-right: 8px;
}

.subtask-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.subtask-reorder-controls {
    display: flex;
    gap: 2px;
    margin-right: 4px;
}

.subtask-reorder-controls .btn-mini {
    padding: 2px 6px;
    font-size: 12px;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Timer Section */
.timer-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-display {
    margin-bottom: 32px;
}

.circular-progress {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-background {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 10;
}

.progress-ring-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 10;
    stroke-dasharray: 706.86;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.3s ease;
}

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

.timer-time {
    font-size: 3.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timer-info {
    font-size: 17.5px;
    color: rgba(255, 255, 255, 0.8);
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.session-nav-toggle {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}

.toggle-switch {
    position: relative;
    display: inline-block;
}

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

.toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.toggle-label:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 30px;
    height: 30px;
    background: #4CAF50;
    border-radius: 15px;
    transition: all 0.3s ease;
    transform: translateX(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-input:checked + .toggle-label .toggle-slider {
    transform: translateX(84px);
}

.toggle-text {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: all 0.3s ease;
}

.toggle-input:checked + .toggle-label .toggle-text {
    color: #4CAF50;
}

.timer-adjustments {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.timer-adjust-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timer-adjust-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Task Info Row - Side by Side Layout */
.task-info-row {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.current-task {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 20px;
    color: #ffffff;
    width: 276px;
    height: 138px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.current-task::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: -1;
    pointer-events: none;
}

.current-task h3 {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.current-task p {
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

/* Task display tinting based on project tags */
.current-task.tint-morecensay {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.current-task.tint-censayanime {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Pace Indicator Styles */
.pace-indicator {
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    min-width: 60px;
}

.pace-indicator.pace-ahead {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.pace-indicator.pace-behind {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.pace-indicator.pace-on-track {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

.pace-indicator.pace-waiting {
    background: #ffffff;
    color: #000000;
}

.expected-session-info {
    margin-top: 4px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Next Session white border when ahead of pace */
.next-session-tracker.ahead {
    border: 2px solid rgba(255, 255, 255, 0.3);
}





/* Next Session Tracker Schedule Status Tinting */
.next-session-tracker.ahead {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.next-session-tracker.current {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

.next-session-tracker.behind {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Next Session Tracker Styles */
.next-session-tracker {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 20px;
    color: #ffffff;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    width: 276px;
    height: 138px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.next-session-tracker::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: -1;
    pointer-events: none;
}

.next-session-header {
    margin-bottom: 12px;
}

.next-session-header h4 {
    margin: 0;
    color: #ffffff;
    font-size: 12.96px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.next-session-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.next-session-time {
    font-size: 11.34px;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.next-session-countdown {
    font-size: 19.44px;
    font-weight: 700;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    color: #ffffff;
    transition: color 0.3s ease;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.next-session-countdown.urgent {
    color: #dc2626;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    text-shadow: none;
}

.next-session-countdown.ahead {
    color: #065f46;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    text-shadow: none;
}

.timer.overtime .timer-time {
    color: #ef4444 !important;
}

.timer.overtime .progress-ring-circle {
    stroke: #ef4444 !important;
}

/* Session Override Controls */
.session-override-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
    box-sizing: border-box;
}

.session-override-controls label {
    color: #4a5568;
    font-weight: 500;
    font-size: 11px;
    margin: 0;
    white-space: nowrap;
    width: 50px;
    text-align: left;
    flex-shrink: 0;
}

.sessions-input {
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 11px;
    color: #2d3748;
    width: 40px;
    text-align: center;
}

.sessions-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.2);
}

.time-input {
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 11px;
    color: #2d3748;
    width: 40px;
    text-align: center;
}

.time-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.2);
}

.btn-mini {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
}

/* Timer Layout */
.timer-layout {
    display: flex;
    gap: 28px;
    height: calc((100vh - 180px) * 0.8);
    min-height: 322px;
    max-height: 644px;
    overflow: hidden;
}

.timer-sidebar {
    width: 322px;
    min-width: 288px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 0;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.sidebar-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.sidebar-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-tab.active {
    color: #ffffff;
    border-bottom-color: #4CAF50;
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-tab-content {
    display: none;
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.sidebar-tab-content.active {
    display: flex;
    flex-direction: column;
}

.video-timestamps-sidebar {
    color: #ffffff;
}

.video-timestamps-sidebar h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.timer-sidebar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: -1;
    pointer-events: none;
}

/* Timer Planner Sidebar */
.timer-planner-sidebar {
    width: 322px;
    min-width: 288px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.timer-planner-sidebar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: -1;
    pointer-events: none;
}

/* Planner Mini Stats */
.planner-mini-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.planner-mini-stats .session-progress {
    display: flex;
    align-items: center;
    gap: 8px;
}

.planner-mini-stats .progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.planner-mini-stats .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.planner-mini-stats .progress-text {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    min-width: 30px;
    text-align: right;
}

.planner-mini-stats .estimated-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.planner-mini-stats .time-value {
    font-size: 11px;
    font-weight: 600;
    color: #cccccc;
}

.planner-mini-stats .finish-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}



/* Planner Mini Content */
.planner-mini-content {
    flex: 1;
    margin-top: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.session-list-mini {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.session-list-mini::-webkit-scrollbar {
    width: 4px;
}

.session-list-mini::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.session-list-mini::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.session-list-mini::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Mini Session Items */
.session-item-mini {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.session-item-mini:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.session-item-mini.active-or-overdue {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
}

.session-item-mini.completed {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    opacity: 0.7;
}

.session-info-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.session-title-mini {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.session-details-mini {
    font-size: 10px;
    color: #cccccc;
    line-height: 1.2;
}

.session-meta-mini {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.session-duration-mini {
    font-size: 9px;
    color: #999999;
    font-weight: 600;
}

.session-time-mini {
    font-size: 9px;
    color: #999999;
    font-weight: 600;
}

.session-project-tag-mini {
    font-size: 8px;
    font-weight: 600;
    padding: 1px 3px;
    border-radius: 2px;
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-top: 2px;
    margin-right: 2px;
    margin-bottom: 0;
    align-self: flex-start;
    display: inline-block;
}

.session-project-tag-mini.project-1 { background: rgba(239, 68, 68, 0.2); border-color: rgba(239, 68, 68, 0.3); color: #fca5a5; }
.session-project-tag-mini.project-2 { background: rgba(59, 130, 246, 0.2); border-color: rgba(59, 130, 246, 0.3); color: #93c5fd; }
.session-project-tag-mini.project-3 { background: rgba(34, 197, 94, 0.2); border-color: rgba(34, 197, 94, 0.3); color: #86efac; }
.session-project-tag-mini.project-4 { background: rgba(245, 158, 11, 0.2); border-color: rgba(245, 158, 11, 0.3); color: #fcd34d; }
.session-project-tag-mini.project-5 { background: rgba(168, 85, 247, 0.2); border-color: rgba(168, 85, 247, 0.3); color: #c4b5fd; }
.session-project-tag-mini.project-6 { background: rgba(236, 72, 153, 0.2); border-color: rgba(236, 72, 153, 0.3); color: #f9a8d4; }

.timer-main {
    flex: 1;
    overflow-y: auto;
}

.timer-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.timer-main .timer-section {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

/* Info Button Styles */
.info-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.info-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.info-button i {
    font-size: 16px;
    font-style: normal;
}

/* Video Timestamps Styles */
.video-timestamps {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 24px;
    color: #1a202c;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.video-timestamps::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: -1;
    pointer-events: none;
}

.video-timestamps h4 {
    margin: 0 0 16px 0;
    color: #1a202c;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.timestamps-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timestamp-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timestamp-label {
    font-size: 12px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.timestamp-range {
    font-size: 18px;
    font-weight: 600;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    color: #1a202c;
    background: rgba(255, 255, 255, 0.25);
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-header {
    margin-bottom: 20px;
    text-align: center;
}

.sidebar-header h3 {
    color: #1a202c;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.current-time-display {
    margin-top: 4px;
    margin-bottom: 8px;
    text-align: center;
}

.current-time-display span {
    font-size: 12px;
    font-weight: 500;
    color: #cccccc;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.sidebar-projects {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    flex: 1;
    padding-right: 4px;
}

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

.sidebar-projects::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.sidebar-projects::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.sidebar-projects::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.sidebar-project {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sidebar-project:hover {
    background: rgba(255, 255, 255, 0.4);
}

.sidebar-project-header {
    padding: 4px 0;
    margin-bottom: 8px;
}

.sidebar-project-name {
    font-weight: 600;
    color: #1a202c;
    font-size: 14px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.sidebar-subtasks {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-subtask {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sidebar-subtask:hover {
    background: rgba(255, 255, 255, 0.4);
}

.sidebar-subtask.active {
    background: rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.5);
}

.sidebar-subtask.completed {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.sidebar-subtask-info {
    flex: 1;
    min-width: 0;
}

.sidebar-subtask-name {
    color: #1a202c;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.sidebar-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.sidebar-progress-bar {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.sidebar-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.sidebar-subtask.completed .sidebar-progress-fill {
    background: linear-gradient(90deg, #10b981, #059669);
}

.sidebar-progress-percent {
    font-size: 10px;
    color: #4a5568;
    font-weight: 600;
    min-width: 32px;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .timer-layout {
        height: calc((100vh - 160px) * 0.7);
        gap: 16px;
    }
    
    .timer-sidebar,
    .timer-planner-sidebar {
        width: 280px;
        min-width: 260px;
        padding: 12px;
    }
    
    .sidebar-header h3 {
        font-size: 1.1rem;
    }
    
    .sidebar-project-name {
        font-size: 13px;
    }
    
    .sidebar-subtask-name {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .timer-layout {
        flex-direction: column;
        height: calc((100vh - 140px) * 0.7);
        gap: 12px;
    }
    
    .timer-sidebar,
    .timer-planner-sidebar {
        width: 100%;
        min-width: unset;
        height: 140px;
        min-height: 125px;
        order: 2;
    }
    
    .timer-planner-sidebar {
        order: 3;
    }
    
    .timer-main {
        order: 1;
        min-height: 210px;
    }
    
    .timer-main .timer-section {
        padding: 16px;
    }
    
    .progress-ring {
        width: 160px;
        height: 160px;
    }
    
    .progress-ring-circle {
        r: 70;
        cx: 80;
        cy: 80;
    }
    
    .timer-time {
        font-size: 2rem;
    }
    
    .timer-info {
        font-size: 0.9rem;
    }
    
    .sidebar-header {
        margin-bottom: 12px;
    }
    
    .sidebar-projects {
        gap: 6px;
    }
    
    .sidebar-project {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .timer-layout {
        height: calc((100vh - 120px) * 0.7);
        gap: 8px;
    }
    
    .timer-sidebar {
        height: 112px;
        min-height: 98px;
        padding: 8px;
        border-radius: 16px;
    }
    
    .timer-main .timer-section {
        padding: 12px;
        border-radius: 16px;
    }
    
    .progress-ring {
        width: 140px;
        height: 140px;
    }
    
    .progress-ring-circle {
        r: 60;
        cx: 70;
        cy: 70;
    }
    
    .timer-time {
        font-size: 1.8rem;
    }
    
    .timer-info {
        font-size: 0.8rem;
    }
    
    .timer-controls {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .sidebar-header h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .sidebar-project {
        padding: 6px;
        border-radius: 8px;
    }
    
    .sidebar-project-name {
        font-size: 12px;
    }
    
    .sidebar-subtask {
        padding: 4px 6px;
        font-size: 11px;
    }
    
    .sidebar-progress-bar {
        width: 30px;
    }
    
    .sidebar-progress-percent {
        font-size: 9px;
        min-width: 24px;
    }
}

/* Keyboard Shortcuts */
.keyboard-shortcuts {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.keyboard-shortcuts h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 450px;
    margin: 0 auto;
}

.shortcut-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.shortcut-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.shortcut-item kbd {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: #1a202c;
    padding: 10px 16px;
    border-radius: 10px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.shortcut-item span {
    color: #1a202c;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    text-align: left;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Completion Checkbox */
.completion-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.completion-checkbox:hover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.completion-checkbox.completed {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.completion-checkbox.completed::after {
    content: '✓';
    font-size: 12px;
    font-weight: bold;
}

/* Completed Task Styling */
.subtask-item.completed {
    background: rgba(16, 185, 129, 0.2) !important;
    border-left: 3px solid #10b981 !important;
}

.subtask-item.completed .subtask-name {
    color: #065f46;
    font-weight: 600;
}

.subtask-item.completed .progress-fill {
    background: linear-gradient(90deg, #10b981, #059669) !important;
}

.project-card.completed {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.project-card.completed .progress-fill {
    background: linear-gradient(90deg, #10b981, #059669) !important;
}

/* Subtask Edit Form */
.subtask-edit-form {
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.edit-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.edit-name-input {
    flex: 2;
    min-width: 150px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 13px;
    color: #2d3748;
}

.edit-type-select {
    flex: 1;
    min-width: 100px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 13px;
    color: #2d3748;
}

.edit-value-input {
    flex: 1;
    min-width: 80px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 13px;
    color: #2d3748;
    text-align: center;
}

.edit-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.edit-name-input:focus,
.edit-type-select:focus,
.edit-value-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

/* Project Edit Form */
.project-edit-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin: 8px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}

.project-edit-form .edit-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.project-edit-form .edit-name-input,
.project-edit-form .edit-video-length-input,
.project-edit-form .edit-due-date-input {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    flex: 1;
    min-width: 120px;
}

.project-edit-form .edit-name-input:focus,
.project-edit-form .edit-video-length-input:focus,
.project-edit-form .edit-due-date-input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.project-edit-form .edit-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Templates Section */
.templates-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.template-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.template-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.7);
}

.template-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.template-details {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.template-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-option {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.settings-option h4 {
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.settings-option p {
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.template-form-view {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.form-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.template-form {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 14px;
    color: #2d3748;
}

.template-subtasks {
    margin-bottom: 12px;
}

.template-subtask-item {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.template-subtask-item input, .template-subtask-item select {
    margin: 0;
    flex: 1;
}

.remove-subtask {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 32px;
    max-width: 520px;
    width: 90%;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 25px 45px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: -1;
    pointer-events: none;
}

.modal-header h3 {
    color: #1a202c;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

/* ===== PLANNER STYLES ===== */

.planner-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.planner-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 25px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        rgba(255, 255, 255, 0.2) 100%
    );
    z-index: -1;
    pointer-events: none;
}

.planner-title-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    margin-bottom: 12px;
    width: 100%;
    gap: 16px;
}

.planner-title-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.planner-title-section h2 {
    margin: 0;
    font-size: 1.2rem;
    white-space: nowrap;
}

.planner-time-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.planner-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 0;
}

.session-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.estimated-time {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.time-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #cccccc;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.time-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 6px;
    padding: 2px 6px;
    min-width: 45px;
    text-align: center;
}

.progress-bar {
    width: 120px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #ea580c, #d97706, #16a34a);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: #cccccc;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    min-width: 70px;
    text-align: center;
}

.planner-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

.session-count-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.ca-sessions-control,
.mc-sessions-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ca-sessions-control label,
.mc-sessions-control label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    min-width: 80px;
}

#ca-session-count,
#mc-session-count {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #1a202c;
    font-size: 0.9rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#ca-session-count:focus,
#mc-session-count:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.total-sessions-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.total-sessions-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.total-sessions-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 30px;
    text-align: center;
}

.start-time-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.start-time-control label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a5568;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

#start-time {
    width: 140px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #1a202c;
    font-size: 0.9rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#start-time:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.start-date-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.start-date-control label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a5568;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

#start-date {
    width: 140px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #1a202c;
    font-size: 0.9rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#start-date:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}



.planner-content {
    margin-top: 12px;
}

/* Planner Sub-tabs */
.planner-sub-tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.planner-sub-tab {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.planner-sub-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #1a202c;
}

.planner-sub-tab.active {
    background: rgba(255, 255, 255, 0.9);
    color: #1a202c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.planner-sub-content {
    display: none;
}

.planner-sub-content.active {
    display: block;
}

.scheduling-settings-header {
    margin-bottom: 16px;
    display: flex;
    justify-content: flex-start;
}

.clear-time-date-control {
    display: flex;
    align-items: center;
}

.scheduling-settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scheduling-settings-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scheduling-settings-form .form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.scheduling-settings-form .form-group input,
.scheduling-settings-form .form-group select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #1a202c;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scheduling-settings-form .form-group input:focus,
.scheduling-settings-form .form-group select:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.scheduling-settings-form .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

/* Project Alternating Settings */
.project-alternating-settings {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-selector-container {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.project-selector {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-selector label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.project-selector select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #1a202c;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.project-selector select:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.2);
}

.form-help {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    font-style: italic;
}

/* History Section */
.history-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.history-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.history-stats {
    display: flex;
    gap: 20px;
}

.history-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: #cccccc;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.history-filters {
    margin-bottom: 20px;
}

.history-filter-select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #1a202c;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.history-filter-select:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.history-list {
    max-height: 400px;
    overflow-y: auto;
}

.history-list::-webkit-scrollbar {
    width: 6px;
}

.history-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.history-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.history-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.history-item-override {
    background: rgba(245, 158, 11, 0.2) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.history-item-override:hover {
    background: rgba(245, 158, 11, 0.3) !important;
}

.history-item-override .history-item-title {
    color: #fbbf24 !important;
}

.history-item-info {
    flex: 1;
}

.history-item-title {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.history-item-details {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #cccccc;
}

.history-item-project {
    font-weight: 500;
}

.history-item-time {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.history-item-date {
    font-size: 0.75rem;
    color: #999999;
    text-align: right;
    min-width: 80px;
}

/* Daily Progress Section */
.daily-progress-section {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.daily-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.daily-progress-header h4 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.daily-goal-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

#daily-goal-input {
    width: 60px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: #1a202c;
    font-size: 0.8rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#daily-goal-input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.daily-progress-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.daily-progress-bar {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.daily-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 6px;
    transition: width 0.3s ease;
    width: 0%;
}

.daily-progress-fill.over-goal {
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.daily-progress-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    min-width: 80px;
    text-align: right;
}

.session-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 6px;
}

.session-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.session-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.session-item.active-or-overdue {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
    opacity: 0.8;
}

.session-item.active-or-overdue .session-title {
    color: #fbbf24;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.session-item.active-or-overdue .session-details {
    color: #fcd34d;
}

.session-item.active-or-overdue .session-meta {
    color: #fde68a;
}

.session-item.completed {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
    opacity: 0.7;
}

.session-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.session-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
    line-height: 1.1;
}

.session-details {
    font-size: 0.7rem;
    color: #cccccc;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
    line-height: 1.1;
}

.session-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.7rem;
    color: #aaaaaa;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.session-duration {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 6px;
    padding: 2px 8px;
    font-weight: 500;
    color: #ffffff;
}

.session-time {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 6px;
    padding: 2px 8px;
    font-weight: 500;
    color: #e9d5ff;
    font-size: 0.7rem;
}

.session-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.session-complete-btn {
    background: rgba(34, 197, 94, 0.3);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: 6px;
    padding: 4px 8px;
    color: #065f46;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.session-complete-btn:hover {
    background: rgba(34, 197, 94, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.session-start-btn {
    background: rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 6px;
    padding: 4px 8px;
    color: #1e40af;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.session-start-btn:hover {
    background: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.session-project-tag {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 6px;
    padding: 2px 6px;
    font-weight: 500;
    color: #6b21a8;
    font-size: 0.7rem;
    display: inline-block;
    margin-right: 4px;
    margin-bottom: 0;
}

/* Project color variations for session tags */
.session-project-tag.project-1 { background: rgba(239, 68, 68, 0.2); border-color: rgba(239, 68, 68, 0.3); color: #991b1b; }
.session-project-tag.project-2 { background: rgba(59, 130, 246, 0.2); border-color: rgba(59, 130, 246, 0.3); color: #1e40af; }
.session-project-tag.project-3 { background: rgba(34, 197, 94, 0.2); border-color: rgba(34, 197, 94, 0.3); color: #065f46; }
.session-project-tag.project-4 { background: rgba(245, 158, 11, 0.2); border-color: rgba(245, 158, 11, 0.3); color: #92400e; }
.session-project-tag.project-5 { background: rgba(168, 85, 247, 0.2); border-color: rgba(168, 85, 247, 0.3); color: #6b21a8; }
.session-project-tag.project-6 { background: rgba(236, 72, 153, 0.2); border-color: rgba(236, 72, 153, 0.3); color: #be185d; }

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #6b7280;
}

.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #4a5568;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.empty-state p {
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-container {
        padding: 16px;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
    }
    
    .project-form {
        flex-direction: column;
    }
    
    .project-form input, .project-form select {
        min-width: auto;
    }
    
    .timer-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .subtask-form {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Anime Tracker Styles */
.anime-section {
    padding: 20px;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.anime-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    height: 100%;
}

.anime-column {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    height: 100%;
}

.anime-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.anime-column-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.anime-series-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.anime-series-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.anime-series-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.anime-series-item.selected {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.2);
}

.anime-series-item.archived {
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.05);
}

.anime-series-title {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.anime-series-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.anime-series-progress {
    color: #10b981;
    font-weight: 500;
}

.anime-series-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.anime-episodes-list {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
    padding: 8px 0;
}

.episode-button {
    aspect-ratio: 1;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.episode-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.episode-button.watched {
    background: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.episode-button.watched:hover {
    background: rgba(16, 185, 129, 0.4);
}

.anime-notes-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#anime-notes-textarea {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    resize: none;
    outline: none;
    transition: border-color 0.2s ease;
}

#anime-notes-textarea:focus {
    border-color: #3b82f6;
}

#anime-notes-textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.episodes-info, .notes-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.anime-series-section {
    margin-bottom: 16px;
}

.anime-series-section h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.episode-button.selected {
    border: 2px solid #fbbf24;
    background: rgba(251, 191, 36, 0.3);
    color: #1f2937;
}

.episode-button.watched.selected {
    border: 2px solid #059669;
    background: rgba(5, 150, 105, 0.3);
    color: white;
}

/* Edit Anime Modal Styles */
.edit-anime-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edit-anime-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edit-anime-form .form-group label {
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
}

.edit-anime-form .form-group input {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.edit-anime-form .form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.15);
}

.edit-anime-form .form-group small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-style: italic;
}

/* Anime Linking Form Styles */
.anime-linking-section {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
}

.anime-linking-section h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.edit-anime-select {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.2s ease;
    width: 100%;
}

.edit-anime-select:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.15);
}

.episode-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.episode-range-inputs input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.episode-range-inputs input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.15);
}

.episode-range-inputs span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Calendar Styles */
.calendar-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.calendar-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.month-display {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    min-width: 120px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 20px;
    width: 100%;
}



.calendar-day {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    min-height: 120px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}



.calendar-day:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.calendar-day.other-month {
    opacity: 0.4;
}

.calendar-day.today {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.calendar-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.day-number {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.add-project-btn {
    background: rgba(34, 197, 94, 0.3);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: 6px;
    padding: 4px 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-project-btn:hover {
    background: rgba(34, 197, 94, 0.4);
    transform: translateY(-1px);
}

.calendar-projects {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calendar-project {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 11px;
}

.calendar-project:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.calendar-project-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    line-height: 1.2;
}

.calendar-project-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.calendar-project-tag {
    font-size: 9px;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 3px;
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.calendar-project-tag.censayanime {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.calendar-project-tag.morecensay {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.calendar-project-tag.recorded {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.calendar-project-tag.need-record {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.calendar-project-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 2px;
}

.calendar-project-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.calendar-project-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calendar-project-time {
    font-size: 9px;
    color: #cccccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-project-sessions {
    font-size: 8px;
    color: #999999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-project.archived {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.calendar-project.archived:hover {
    background: rgba(34, 197, 94, 0.25);
}

.large-modal .modal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Modal height management and scrolling */
.modal-content {
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: calc(90vh - 120px); /* Account for header and footer */
}

.modal-header {
    flex-shrink: 0;
}

.modal-footer {
    flex-shrink: 0;
}

/* Ensure project details content is scrollable */
#project-details-content {
    max-height: 100%;
    overflow-y: auto;
}

/* Project edit form scrolling */
.project-edit-form {
    margin-bottom: 20px;
}

.project-details-subtasks {
    max-height: 400px;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
}

/* Custom scrollbar styling for better visibility */
.modal-body::-webkit-scrollbar,
#project-details-content::-webkit-scrollbar,
.project-details-subtasks::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track,
#project-details-content::-webkit-scrollbar-track,
.project-details-subtasks::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb,
#project-details-content::-webkit-scrollbar-thumb,
.project-details-subtasks::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover,
#project-details-content::-webkit-scrollbar-thumb:hover,
.project-details-subtasks::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.project-details-info {
    margin-bottom: 24px;
}

.project-details-header {
    margin-bottom: 16px;
}

.project-details-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #cccccc;
}

.project-details-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.project-details-subtasks {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
}

.project-details-subtasks h4 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 16px;
}

.subtask-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 8px;
}

.subtask-detail-info {
    flex: 1;
}

/* Notes Section Styles */
.notes-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.notes-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.notes-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    height: calc(100vh - 300px);
    min-height: 500px;
}

.notes-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.notes-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notes-list::-webkit-scrollbar {
    width: 6px;
}

.notes-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.notes-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.notes-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.note-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.note-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.note-item.selected {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.note-item-title {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.note-item-preview {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.note-item-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.notes-editor {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.note-editor-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#note-title {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

#note-title:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.note-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.note-editor-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#note-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    resize: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.2s ease;
}

#note-content:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

#note-content::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.empty-notes-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.empty-notes-state h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.empty-notes-state p {
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .notes-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 1fr;
        height: auto;
        min-height: 600px;
    }
    
    .notes-sidebar {
        max-height: 200px;
    }
    
    .note-editor-header {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    
    #note-title {
        font-size: 16px;
        padding: 10px 12px;
    }
    
    #note-content {
        font-size: 13px;
        padding: 12px;
    }
}

.subtask-detail-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.subtask-detail-type {
    font-size: 12px;
    color: #cccccc;
}

.subtask-detail-progress {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

.subtask-detail-actions {
    display: flex;
    gap: 4px;
    margin-left: 8px;
}

.subtask-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.subtask-detail-info {
    flex: 1;
    min-width: 0;
}