:root {
    /* Main color options */
    --primary: 20, 170, 255; /* Neon blue */
    --background: 10, 15, 25; /* Dark background */
    --surface: rgba(30, 35, 45, 0.85);
    --on-surface: rgba(255, 255, 255, 0.95);
    --on-surface-dim: rgba(255, 255, 255, 0.7);
    
    /* Effects */
    --blur-amount: 15px;
    --noise-opacity: 0.03;
    --neon-spread: 15px;
    
    /* Animations */
    --speed-slow: 2.5s;
    --speed-medium: 1.2s;
    --speed-fast: 0.6s;
}

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



body {
    font-family: 'Outfit', sans-serif;
    color: var(--on-surface);
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, rgb(var(--background)) 0%, rgba(15, 20, 30, 1) 100%);
    margin: 0;
    padding: 0;
}



.stage {
    position: relative;
    width: 100vw;
    z-index: 1;
    margin-top: 80px;
}

.card {
    position: relative;
    width: 100vw;
}

.card-face {
    position: relative;
    width: 100vw !important;
    max-width: none !important;
    min-height: 100vh;
    padding: 2.5rem;
    background: var(--surface);
    border-radius: 0;
    overflow: hidden;
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: none;
    box-shadow: none;
    margin: 0;
}

/* HabiTodo App Styles */
.habitodo-container {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.5rem;
    z-index: 1;
}

/* App Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-title h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--on-surface);
    margin: 0;
    background: linear-gradient(135deg, rgba(var(--primary), 1), rgba(var(--primary), 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-subtitle {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    margin: 0.5rem 0 0 0;
    opacity: 0.8;
}

.app-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

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

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--on-surface-variant);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
}

/* Quick Add */
.quick-add-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-add-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--on-surface);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.quick-add-input:focus {
    outline: none;
    border-color: rgba(var(--primary), 0.8);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(var(--primary), 0.2);
}

.quick-add-input::placeholder {
    color: var(--on-surface-variant);
}

.quick-add-btn {
    padding: 1rem;
    border: none;
    border-radius: 12px;
    background: rgba(var(--primary), 0.8);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.quick-add-btn:hover {
    background: rgba(var(--primary), 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary), 0.3);
}

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

/* Filters and Tags */
.filters-container {
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.filters-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--on-surface);
    white-space: nowrap;
}

.tag-filters, .urgency-filters, .importance-filters, .task-type-filters, .time-filters, .column-buttons, .urgency-buttons, .importance-buttons, .date-filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-filter, .urgency-filter, .importance-filter, .task-type-filter, .time-filter, .column-btn, .urgency-btn, .importance-btn, .date-filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--on-surface-variant);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tag-filter:hover, .urgency-filter:hover, .importance-filter:hover, .task-type-filter:hover, .time-filter:hover, .column-btn:hover, .urgency-btn:hover, .importance-btn:hover, .date-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.tag-filter.active, .urgency-filter.active, .importance-filter.active, .task-type-filter.active, .time-filter.active, .column-btn.active, .urgency-btn.active, .importance-btn.active, .date-filter-btn.active {
    background: rgba(var(--primary), 0.8);
    border-color: rgba(var(--primary), 1);
    color: white;
}

.manage-tags-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--on-surface-variant);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.manage-tags-btn:hover {
    background: rgba(var(--primary), 0.2);
    color: rgba(var(--primary), 1);
    transform: scale(1.1);
}

.clear-filters-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 8px;
    background: rgba(255, 59, 48, 0.1);
    color: rgba(255, 59, 48, 0.8);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.clear-filters-btn:hover {
    background: rgba(255, 59, 48, 0.2);
    color: rgba(255, 59, 48, 1);
    border-color: rgba(255, 59, 48, 0.5);
}

/* Search Container */
.search-container {
    margin-top: 0.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within,
.search-input-wrapper.has-content {
    border-color: rgba(var(--primary), 0.8);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(var(--primary), 0.2);
}

.search-icon {
    font-size: 1.2rem;
    color: var(--on-surface-variant);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    padding: 1rem 0;
    border: none;
    background: transparent;
    color: var(--on-surface);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
}

.search-input::placeholder {
    color: var(--on-surface-variant);
    opacity: 0.7;
}

.search-clear-btn {
    background: none;
    border: none;
    color: #ef4444; /* Kırmızı renk */
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.search-clear-btn:hover {
    background: rgba(239, 68, 68, 0.1); /* Kırmızı hover arka plan */
    color: #dc2626; /* Daha koyu kırmızı hover */
}

.search-results-info {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.search-results-count {
    font-weight: 600;
    color: rgba(var(--primary), 1);
}

/* Search Container Responsive */
@media (max-width: 768px) {
    .search-container {
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .search-input-wrapper {
        padding: 0 0.75rem;
    }
    
    .search-icon {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }
    
    .search-input {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .search-container {
        padding: 0.75rem;
    }
    
    .search-input-wrapper {
        padding: 0 0.5rem;
    }
    
    .search-input {
        padding: 0.6rem 0;
        font-size: 0.85rem; /* Mobile'de daha küçük font */
    }
    
    .search-input::placeholder {
        font-size: 0.85rem; /* Placeholder font boyutunu da küçült */
    }
}

/* Kanban Board */
.kanban-board {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 1.5rem !important;
    min-height: 600px;
    width: 100% !important;
}

.kanban-column {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 600px;
}

.column-header {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.column-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.column-icon {
    font-size: 1.25rem;
}

.column-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--on-surface);
}

.column-count {
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-surface-variant);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.column-add-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-surface-variant);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.column-add-btn:hover {
    background: rgba(var(--primary), 0.2);
    color: rgba(var(--primary), 1);
    transform: scale(1.1);
}

.column-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: calc(600px - 80px); /* Total height minus header height */
}

.column-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    text-align: center;
    color: var(--on-surface-variant);
    opacity: 0.6;
}

.column-empty-state .empty-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.column-empty-state .empty-text {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Column scrollbar */
.column-content::-webkit-scrollbar {
    width: 6px;
}

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

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

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

/* Responsive Design */
/* Top Mode Toggle */
.top-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 8px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.top-mode-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.mode-display {
    font-size: 12px;
    font-weight: 600;
    color: var(--on-surface);
    letter-spacing: 0.5px;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Mode toggle button */
.mode-toggle-btn {
    position: relative;
    width: 80px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mode-toggle-track {
    position: relative;
    width: 64px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.mode-toggle-thumb {
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 50%;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Habits mode active */
.mode-toggle-btn.habits-mode .mode-toggle-thumb {
    transform: translateX(36px);
    background: linear-gradient(135deg, #4ecdc4, #44b3aa);
}

.mode-toggle-btn.habits-mode .mode-toggle-track {
    background: rgba(78, 205, 196, 0.2);
    border-color: rgba(78, 205, 196, 0.4);
}

/* Hover effects */
.mode-toggle-btn:hover .mode-toggle-track {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.mode-toggle-btn:hover .mode-toggle-thumb {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1000px) {
    .kanban-board {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .app-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .habitodo-container {
        padding: 1rem;
    }
    
    .app-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .app-title h1 {
        font-size: 2rem;
    }
    
    .app-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .quick-add-container {
        padding: 0.75rem 1rem;
    }
    
    .kanban-board {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .kanban-column {
        height: 500px; /* Slightly smaller for mobile */
    }
    
    .column-content {
        max-height: calc(500px - 80px); /* Adjust for mobile column height */
    }
    
    .top-mode-toggle {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        border-radius: 20px;
    }
    
    .mode-display {
        font-size: 10px;
        min-width: 70px;
    }
    
    .mode-toggle-btn {
        width: 70px;
        height: 32px;
    }
    
    .mode-toggle-track {
        width: 56px;
        height: 24px;
    }
    
    .mode-toggle-thumb {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .mode-toggle-btn.habits-mode .mode-toggle-thumb {
        transform: translateX(32px);
    }
}

@media (max-width: 480px) {
    .habitodo-container {
        padding: 0.5rem;
    }
    
    .app-header {
        padding: 1rem;
    }
    
    .app-title h1 {
        font-size: 1.75rem;
    }
    
    .quick-add-input {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .column-header {
        padding: 1rem;
    }
    
    .column-name {
        font-size: 0.9rem;
    }
}

/* Temp Chart Placeholder Styles */
.temp-chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-height: 200px;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.placeholder-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 0.5rem;
}

.placeholder-subtitle {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    opacity: 0.7;
}

/* General Modal Responsive */
.modal-content {
    margin: 1rem;
}

@media (max-width: 600px) {
    .modal-content {
        margin: 0.5rem;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 0.25rem;
        border-radius: 6px;
    }
}

/* Tag Management Modal */
.tag-modal-content {
    max-width: 600px;
    width: 90vw;
}

/* Filter Modal (mobile-first) */
.filter-modal-content {
    max-width: 640px;
    width: 92vw;
    display: flex;
    flex-direction: column;
}
.filter-modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 8px;
    position: sticky;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.add-tag-inline-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--on-surface);
    padding: 8px 10px;
    border-radius: 8px;
}

#filter-clear-btn {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.45);
    color: #ef4444;
}
#filter-clear-btn:hover {
    background: rgba(239, 68, 68, 0.25);
}

/* Mobile filter trigger */
.mobile-filter-bar {
    display: none;
    margin-bottom: 8px;
}
.mobile-filter-btn {
    background: rgba(var(--primary), 1);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
}
.mobile-filter-btn .filter-icon { display: inline-flex; margin-right: 0; }

@media (max-width: 820px) {
    .mobile-filter-bar { display: flex; justify-content: center; }
    .filters-section { display: none; }
}

/* Filter modal body & sections */
#filter-modal .modal-body {
    padding: 12px 4px 8px 4px;
    overflow-y: auto;
}
#filter-modal .filter-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    margin: 8px 8px 10px 8px;
}
#filter-modal .filter-label {
    display: block;
    margin-bottom: 8px;
    color: var(--on-surface);
}
#filter-modal .tag-filters,
#filter-modal .urgency-filters,
#filter-modal .importance-filters,
#filter-modal .time-filters {
    gap: 8px;
}
#filter-modal .tag-filter,
#filter-modal .urgency-filter,
#filter-modal .importance-filter,
#filter-modal .time-filter {
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.95rem;
}

/* Add tag inline button visual */
.add-tag-inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Footer buttons sizing */
#filter-modal .filter-modal-footer .btn {
    flex: 1;
    height: 44px;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .tag-modal-content {
        width: 95vw;
    }
}

.add-tag-section, .existing-tags-section {
    margin-bottom: 2rem;
}

.add-tag-section h3, .existing-tags-section h3 {
    font-size: 1.1rem;
    color: var(--on-surface);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.add-tag-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tag-name-input {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--on-surface);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
}

.tag-name-input:focus {
    outline: none;
    border-color: rgba(var(--primary), 0.8);
    background: rgba(255, 255, 255, 0.08);
}

.color-picker {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.color-picker label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--on-surface);
}

.color-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-option {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-option:hover, .color-option.selected {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.custom-color-input {
    width: 60px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.add-tag-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: rgba(var(--primary), 0.8);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.add-tag-btn:hover {
    background: rgba(var(--primary), 1);
    transform: translateY(-2px);
}

.tags-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tag-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.tag-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tag-color-preview {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag-name {
    font-weight: 500;
    color: var(--on-surface);
}

.tag-actions {
    display: flex;
    gap: 0.5rem;
}

.tag-action-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.tag-action-btn.edit {
    color: #3b82f6;
}

.tag-action-btn.delete {
    color: #ef4444;
}

.tag-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Task Detail Modal - Removed size restrictions to allow fullscreen from modals.css */

.task-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--on-surface);
}

.form-help {
    font-size: 0.75rem;
    color: var(--on-surface-variant);
    opacity: 0.7;
    margin-top: 0.25rem;
}

.form-input, .form-textarea, .form-select, .form-control {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--on-surface);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

input[type="datetime-local"] {
    color-scheme: dark;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.form-checkbox {
    margin-right: 0.5rem;
}

.recurring-options {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    max-height: 400px;
    overflow-y: auto;
}

@media (max-width: 600px) {
    .recurring-options {
        padding: 0.75rem;
        max-height: 350px;
    }
}

.interval-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.interval-input input {
    width: 80px;
}

.interval-input span {
    color: var(--on-surface-variant);
    font-size: 0.9rem;
}

.days-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

@media (max-width: 480px) {
    .days-selector {
        gap: 0.25rem;
        justify-content: space-between;
    }
}

.day-checkbox {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.day-checkbox:hover {
    background: rgba(255, 255, 255, 0.05);
}

.day-checkbox input[type="checkbox"] {
    margin-right: 0.25rem;
}

.day-checkbox input[type="checkbox"]:checked + * {
    color: var(--primary);
}


.visualization-container {
    margin-bottom: 2rem;
    overflow: hidden;
}

.viz-panel {
    display: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.viz-panel.active {
    display: block !important;
}

/* Ensure history modal panels work correctly */
#visualization-container-history .viz-panel {
    display: none;
}

#visualization-container-history .viz-panel.active {
    display: block !important;
}

.panel-header {
    margin-bottom: 1.5rem;
}

.panel-header h3 {
    margin: 0 0 0.5rem 0;
    color: var(--on-surface);
    font-size: 1.2rem;
}

.panel-header p {
    margin: 0;
    color: var(--on-surface-variant);
    font-size: 0.9rem;
}

/* Heatmap Styles */
.heatmap-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--on-surface-variant);
}

.legend-squares {
    display: flex;
    gap: 2px;
}

.legend-square {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-square.level-0 {
    background: rgba(255, 255, 255, 0.1);
}

.legend-square.level-1 {
    background: rgba(34, 197, 94, 0.3);
}

.legend-square.level-2 {
    background: rgba(34, 197, 94, 0.5);
}

.legend-square.level-3 {
    background: rgba(34, 197, 94, 0.7);
}

.legend-square.level-4 {
    background: rgba(34, 197, 94, 0.9);
}

.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(53, 1fr);
    gap: 2px;
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .heatmap-grid {
        grid-template-columns: repeat(53, minmax(8px, 1fr));
        gap: 1px;
        max-width: 100%;
    }
    
    .heatmap-day {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .heatmap-grid {
        grid-template-columns: repeat(53, minmax(6px, 1fr));
        gap: 1px;
    }
    
    .heatmap-day {
        width: 6px;
        height: 6px;
    }
}

.heatmap-day {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.heatmap-day:hover {
    transform: scale(1.2);
    z-index: 10;
    position: relative;
}

/* Calendar Styles */
.calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--on-surface);
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.current-month {
    font-weight: 600;
    color: var(--on-surface);
    min-width: 120px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    color: var(--on-surface);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day:hover {
    background: rgba(255, 255, 255, 0.1);
}

.calendar-day.other-month {
    color: var(--on-surface-variant);
    opacity: 0.5;
}

.calendar-day.today {
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 600;
}

.calendar-day.has-tasks::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 4px;
    height: 4px;
    background: #22c55e;
    border-radius: 50%;
}

/* Stats Dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}

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

.stat-icon {
    font-size: 2rem;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.25rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
}

.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-label {
    min-width: 120px;
    font-size: 0.9rem;
    color: var(--on-surface-variant);
}

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

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #10b981);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-value {
    min-width: 40px;
    text-align: right;
    font-size: 0.9rem;
    color: var(--on-surface);
    font-weight: 600;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: rgba(var(--primary), 0.8);
    background: rgba(255, 255, 255, 0.08);
}

/* Fix for select option visibility - ensure text is visible in dropdown */
.form-select option {
    background: var(--surface);
    color: var(--on-surface);
    padding: 0.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.task-tags-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-height: 120px;
    overflow-y: auto;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.tag-checkbox:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tag-checkbox.selected {
    background: rgba(var(--primary), 0.2);
    border-color: rgba(var(--primary), 0.5);
}

.tag-checkbox input {
    margin: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background: rgba(var(--primary), 1);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-surface-variant);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--on-surface);
}


.status-count-container {
    position: relative;
    margin-left: 0.7rem;
    display: inline-flex;
    align-items: center;
}

.status-count {
    font-size: 2.2rem;
    opacity: 0.9;
}



.time-separator {
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { opacity: 1; }
    to { opacity: 0.5; }
}

.progress-container {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin: 0.5rem 0 1rem;
    position: relative;
}


.glow-effect {
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right,
        rgba(var(--primary), 0.1),
        rgba(var(--primary), 0.8) 50%,
        rgba(var(--primary), 0.1)
    );
    box-shadow: 
        0 0 10px rgba(var(--primary), 0.5),
        0 0 20px rgba(var(--primary), 0.3);
    border-radius: 1px;
}

/* Daily Goal Mini Progress */
.daily-goal-mini-progress {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem 0;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.daily-goal-mini-progress:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(var(--primary), 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mini-progress-icon {
    font-size: 1.2rem;
    opacity: 0.9;
}

.mini-progress-info {
    flex: 1;
    min-width: 0;
}

.mini-progress-label {
    font-size: 0.75rem;
    color: var(--on-surface-dim);
    font-weight: 500;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mini-progress-value {
    font-size: 0.85rem;
    color: var(--on-surface);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.mini-progress-bar {
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(var(--session), 0.7) 0%, 
        rgba(var(--session), 1) 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
}

.mini-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Goal completed state */
.daily-goal-mini-progress.completed {
    background: linear-gradient(135deg, rgba(0, 220, 130, 0.15), rgba(0, 220, 130, 0.08));
    border-color: rgba(0, 220, 130, 0.3);
}

.daily-goal-mini-progress.completed .mini-progress-fill {
    background: linear-gradient(90deg, 
        rgba(0, 220, 130, 0.7) 0%, 
        rgba(0, 220, 130, 1) 100%);
}

.daily-goal-mini-progress.completed .mini-progress-icon {
    animation: bounce 1s ease-in-out infinite alternate;
}

@keyframes bounce {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}



/* Control buttons */
.control-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ======================================
   SIDEBAR MENU STYLES
   ====================================== */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 70px;
    background: rgba(20, 25, 35, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
}

.sidebar:hover {
    width: 220px;
    background: rgba(25, 30, 40, 0.98);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem 0;
}

.sidebar-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 1rem 0;
}

.sidebar-divider {
    height: 1px;
    background: linear-gradient(
        to right, 
        transparent 20%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 80%
    );
    margin: 1rem 0.5rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    padding: 0 1rem;
    background: transparent;
    border: none;
    color: var(--on-surface);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: rgba(var(--primary), 1);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.sidebar-item:hover::before {
    transform: scaleY(1);
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(var(--primary), 1);
}

.sidebar-item:active {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(2px);
}

.sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sidebar-item:hover .sidebar-icon {
    background: rgba(var(--primary), 0.15);
    transform: scale(1.05);
}

.sidebar-label {
    margin-left: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.sidebar:hover .sidebar-label {
    opacity: 1;
    transform: translateX(0);
}

/* Special styling for settings button */
.sidebar-item#settings-btn:hover {
    color: rgba(var(--session), 1);
}

.sidebar-item#settings-btn:hover::before {
    background: rgba(var(--session), 1);
}

.sidebar-item#settings-btn:hover .sidebar-icon {
    background: rgba(var(--session), 0.15);
    transform: scale(1.05) rotate(90deg);
}

/* Special styling for user button */
.sidebar-item#user-btn:hover {
    color: rgba(var(--break), 1);
}

.sidebar-item#user-btn:hover::before {
    background: rgba(var(--break), 1);
}

.sidebar-item#user-btn:hover .sidebar-icon {
    background: rgba(var(--break), 0.15);
}

/* Logged in state for user button */
.sidebar-item#user-btn.logged-in .sidebar-icon {
    background: rgba(0, 220, 130, 0.2);
    color: rgba(0, 220, 130, 1);
}

.sidebar-item#user-btn.logged-in:hover .sidebar-icon {
    background: rgba(0, 220, 130, 0.3);
}

/* Disabled state for buttons */
.sidebar-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.sidebar-item.disabled:hover {
    background: transparent;
    color: var(--on-surface);
}

.sidebar-item.disabled .sidebar-icon {
    background: rgba(255, 255, 255, 0.03);
}

/* Auth required styles removed - auth-only mode */

/* ======================================
   SIDEBAR RESPONSIVE DESIGN
   ====================================== */

@media (max-width: 768px) {
    .sidebar {
        width: 60px;
        background: rgba(15, 20, 30, 0.98);
    }
    
    .sidebar:hover {
        width: 200px;
        background: rgba(20, 25, 35, 0.98);
    }
    
    .sidebar-item {
        height: 45px;
    }
    
    .sidebar-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .sidebar-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 50px;
    }
    
    .sidebar:hover {
        width: 180px;
    }
    
    .sidebar-item {
        height: 40px;
        padding: 0 0.8rem;
    }
    
    .sidebar-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .sidebar-label {
        font-size: 0.85rem;
        margin-left: 0.8rem;
    }
    
    .sidebar-content {
        padding: 0.8rem 0;
    }
    
    .sidebar-main {
        padding: 0.8rem 0;
        gap: 0.3rem;
    }
    
    .sidebar-bottom {
        padding: 0.8rem 0;
    }
}

/* Main content padding will be handled by responsive navigation rules */

/* ======================================
   BOTTOM NAVIGATION BAR STYLES (MOBILE)
   ====================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(20, 25, 35, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
    display: none; /* Hidden by default, shown on mobile */
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
}

.bottom-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    padding: 0 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--on-surface);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 12px;
    position: relative;
    flex: 1;
    max-width: 80px;
    height: 60px;
}

.bottom-nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(var(--primary), 1);
    transform: translateY(-2px);
}

.bottom-nav-item:active {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(0);
}

.bottom-nav-icon {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    transition: all 0.3s ease;
}

.bottom-nav-item:hover .bottom-nav-icon {
    transform: scale(1.1);
}

.bottom-nav-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    text-align: center;
    white-space: nowrap;
    opacity: 0.8;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.bottom-nav-item:hover .bottom-nav-label {
    opacity: 1;
    color: rgba(var(--primary), 1);
}

/* Special styling for settings button in bottom nav */
.bottom-nav-item#settings-btn-mobile:hover {
    color: rgba(var(--session), 1);
}

.bottom-nav-item#settings-btn-mobile:hover .bottom-nav-icon {
    color: rgba(var(--session), 1);
    transform: scale(1.1) rotate(90deg);
}

.bottom-nav-item#settings-btn-mobile:hover .bottom-nav-label {
    color: rgba(var(--session), 1);
}

/* Active/Selected state for bottom nav items */
.bottom-nav-item.active {
    background: rgba(var(--primary), 0.15);
    color: rgba(var(--primary), 1);
}

.bottom-nav-item.active .bottom-nav-icon {
    transform: scale(1.1);
    color: rgba(var(--primary), 1);
}

.bottom-nav-item.active .bottom-nav-label {
    opacity: 1;
    color: rgba(var(--primary), 1);
}

/* Disabled state for bottom nav buttons */
.bottom-nav-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.bottom-nav-item.disabled:hover {
    background: transparent;
    color: var(--on-surface);
    transform: none;
}

/* Auth required state for bottom nav buttons */
/* Auth required styles removed - auth-only mode */

/* User button overlay (floating) */
.bottom-nav-user-overlay {
    position: fixed;
    bottom: 88px; /* Same height as floating add button */
    left: 1rem;
    z-index: 1002;
    display: none; /* Show only when needed */
}

.bottom-nav-user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; /* Same as floating button mobile size */
    height: 52px; /* Same as floating button mobile size */
    background: rgba(25, 30, 40, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--on-surface);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bottom-nav-user-btn:hover {
    background: rgba(var(--break), 0.2);
    color: rgba(var(--break), 1);
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.bottom-nav-user-btn .bottom-nav-icon {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Logged in state for user button */
.bottom-nav-user-btn.logged-in {
    background: rgba(0, 220, 130, 0.2);
    border-color: rgba(0, 220, 130, 0.3);
    color: rgba(0, 220, 130, 1);
}

.bottom-nav-user-btn.logged-in:hover {
    background: rgba(0, 220, 130, 0.3);
    transform: scale(1.05);
}

/* ======================================
   RESPONSIVE NAVIGATION DESIGN
   ====================================== */

/* Desktop: Show sidebar, hide bottom nav */
@media (min-width: 769px) {
    .sidebar {
        display: block;
    }
    
    .bottom-nav {
        display: none;
    }
    
    body {
        padding-left: 0;
        padding-bottom: 0;
    }
    
    .card-face {
        padding-left: 70px !important;
    }
}

/* Mobile: Hide sidebar, show bottom nav */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    
    .bottom-nav {
        display: block;
    }
    
    .bottom-nav-user-overlay {
        display: block;
    }
    
    body {
        padding-left: 0;
        padding-bottom: 0;
    }
    
    .card-face {
        padding-left: 2.5rem !important;
        padding-bottom: 70px !important; /* Space for bottom nav */
    }
    
    /* Smaller bottom nav for smaller screens */
    .bottom-nav {
        height: 65px;
    }
    
    .bottom-nav-item {
        height: 55px;
        max-width: 70px;
    }
    
    .bottom-nav-icon {
        font-size: 1.1rem;
    }
    
    .bottom-nav-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .bottom-nav {
        height: 60px;
    }
    
    .bottom-nav-item {
        height: 50px;
        max-width: 65px;
        padding: 0.3rem;
    }
    
    .bottom-nav-icon {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }
    
    .bottom-nav-label {
        font-size: 0.6rem;
    }
    
    body {
        padding-bottom: 0;
    }
    
    .card-face {
        padding-bottom: 60px !important; /* Space for bottom nav */
    }
}


/* Auth Modal Override - Modal Container yapısı */
.auth-modal {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex !important;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auth-modal .modal-content {
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.auth-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

/* Auth Forgot Password Link */
.auth-forgot-password {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-forgot-password a {
    color: rgba(var(--primary), 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.auth-forgot-password a:hover {
    color: rgba(var(--primary), 1);
    text-decoration: underline;
}

/* Auth Divider */
.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    background: var(--surface);
    padding: 0 1rem;
    color: var(--on-surface-dim);
    font-size: 0.9rem;
}

/* Google Auth Button */
.btn-google {
    background: rgba(255, 255, 255, 0.95);
    color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    margin-bottom: 1rem;
    font-weight: 500;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 1);
    color: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-google svg {
    flex-shrink: 0;
}

/* User Menu Modal Styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(var(--primary), 0.2);
    border: 2px solid rgba(var(--primary), 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: rgba(var(--primary), 1);
}

.user-details {
    flex: 1;
}

.user-email {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 0.5rem;
}

.user-since {
    font-size: 0.9rem;
    color: var(--on-surface-dim);
}

.user-verification-status {
    margin-bottom: 1.5rem;
}

.verification-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.verification-warning p {
    color: rgba(255, 193, 7, 1);
    margin-bottom: 1rem;
    font-weight: 500;
}

.btn-warning {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.4);
    color: rgba(255, 193, 7, 1);
}

.btn-warning:hover {
    background: rgba(255, 193, 7, 0.3);
    border-color: rgba(255, 193, 7, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.user-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.user-menu-actions .btn {
    justify-content: flex-start;
    gap: 0.5rem;
}

.btn-danger {
    background: rgba(255, 70, 70, 0.2);
    border: 1px solid rgba(255, 70, 70, 0.3);
    color: rgba(255, 70, 70, 1);
}

.btn-danger:hover {
    background: rgba(255, 70, 70, 0.3);
    border-color: rgba(255, 70, 70, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 70, 70, 0.3);
}

#password-reset-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#password-reset-form h3 {
    margin-bottom: 1rem;
    color: var(--on-surface);
}

#password-reset-form p {
    margin-bottom: 1.5rem;
    color: var(--on-surface-dim);
    line-height: 1.5;
}

.password-reset-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.password-reset-actions .btn {
    flex: 1;
    min-width: 140px;
}

/* Password Reset Modal Styles */
.password-reset-info {
    margin-bottom: 1.5rem;
    color: var(--on-surface-dim);
    text-align: center;
    line-height: 1.5;
}

#password-reset-form-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#password-reset-form-main input {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--on-surface);
    font-size: 1rem;
}

#password-reset-form-main input:focus {
    outline: none;
    border-color: rgba(var(--primary), 0.5);
    box-shadow: 0 0 0 3px rgba(var(--primary), 0.1);
}

#password-reset-form-main .btn {
    margin-top: 0.5rem;
}

/* History Modal Styles */
.history-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.stat-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--on-surface-dim);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--on-surface);
}

.history-section {
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

.history-section h3 {
    color: var(--on-surface);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}



/* Pomodoro Settings Grid Styles */
.pomodoro-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.setting-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.setting-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.setting-icon {
    font-size: 1.25rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
}

.session-setting .setting-icon {
    background: rgba(var(--session), 0.2);
}

.break-setting .setting-icon {
    background: rgba(var(--break), 0.2);
}

.long-break-setting .setting-icon,
.lunch-setting .setting-icon {
    background: rgba(var(--long-break), 0.2);
}

.setting-info {
    flex: 1;
}

.setting-label {
    font-size: 0.75rem;
    color: var(--on-surface-dim);
    font-weight: 500;
    margin-bottom: 0.125rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.setting-value {
    font-size: 0.9rem;
    color: var(--on-surface);
    font-weight: 600;
}

/* Responsive adjustments for settings grid */
@media (max-width: 768px) {
    .pomodoro-settings-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .setting-card {
        padding: 0.625rem;
        gap: 0.625rem;
    }
    
    .setting-icon {
        font-size: 1.1rem;
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .setting-label {
        font-size: 0.7rem;
    }
    
    .setting-value {
        font-size: 0.85rem;
    }
}

/* Button Loading Styles */
.btn-text, .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Disable buttons during loading */
.transition-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.transition-btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}

.loading-message, .empty-message {
    text-align: center;
    padding: 2rem;
    color: var(--on-surface-dim);
    font-style: italic;
}

.history-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .history-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
}


/* Daily Goal Modal Styles */
.daily-goal-modal-content {
    max-width: 900px;
    width: 95vw;
    max-height: 95vh;
    overflow-y: auto;
}

.goal-settings-section, .goal-progress-section {
    margin-bottom: 2.5rem;
}

.goal-progress-section {
    margin-bottom: 3rem;
}

.goal-setting-card, .goal-progress-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.goal-progress-card {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(56, 142, 60, 0.08) 100%);
    border: 1px solid rgba(76, 175, 80, 0.3);
}


.goal-setting-header, .goal-progress-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.goal-setting-header::after, .goal-progress-header::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    opacity: 0.7;
}

.goal-setting-header h3, .goal-progress-header h3 {
    color: rgba(var(--primary), 1);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.goal-setting-header p, .goal-progress-header p {
    color: var(--on-surface-dim);
    font-size: 1.05rem;
    font-weight: 400;
    opacity: 0.9;
}

.goal-input-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.goal-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.goal-input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--on-surface);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.goal-number-input {
    background: transparent;
    border: none;
    color: var(--on-surface);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    width: 60px;
    padding: 0.5rem;
}

.goal-number-input:focus {
    outline: none;
}

.goal-total-display {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(var(--session), 0.1);
    border-radius: 12px;
    border: 1px solid rgba(var(--session), 0.2);
}

.goal-total-label {
    font-size: 1rem;
    color: var(--on-surface-dim);
    margin-right: 0.5rem;
}

.goal-total-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(var(--session), 1);
    font-family: 'Courier New', monospace;
}

.goal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Circular Progress Styles */
.circular-progress-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 1rem;
}

.circular-progress {
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.circular-progress:hover {
    transform: scale(1.05);
}

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

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

.progress-ring-fill {
    fill: none;
    stroke: rgba(var(--session), 1);
    stroke-linecap: round;
    stroke-width: 12;
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.4));
}

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

.progress-percentage {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(var(--session), 1);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, rgba(var(--session), 1), rgba(var(--session), 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.progress-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    font-family: 'Courier New', monospace;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-label {
    font-size: 1rem;
    color: var(--on-surface-dim);
    font-family: 'Courier New', monospace;
    opacity: 0.85;
    font-weight: 500;
}

.progress-label span {
    color: rgba(var(--session), 1);
    font-weight: 600;
}

/* Progress Stats */
.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.progress-stat-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-stat-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.progress-stat-item:hover::before {
    opacity: 1;
}

.progress-stat-icon {
    font-size: 2rem;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.progress-stat-item:hover .progress-stat-icon {
    transform: scale(1.1);
}

.progress-stat-info {
    flex: 1;
}

.progress-stat-label {
    font-size: 0.9rem;
    color: var(--on-surface-dim);
    margin-bottom: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.progress-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--on-surface);
    font-family: 'Courier New', monospace;
}

/* Motivational Message */
.motivational-message {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(var(--session), 0.1), rgba(var(--primary), 0.05));
    border-radius: 12px;
    border: 1px solid rgba(var(--session), 0.2);
}

.motivation-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.motivation-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--on-surface);
}

/* Goal Loading and Error States */
.goal-loading, .goal-error {
    text-align: center;
    padding: 3rem;
    color: var(--on-surface-dim);
}

.goal-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(var(--primary), 0.3);
    border-top: 3px solid rgba(var(--primary), 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.goal-error .error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

/* Statistics Modal Styles */
.statistics-modal-content {
    max-width: 1200px;
    width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
}

/* Charts Control Header */
.charts-control-header {
    background: linear-gradient(135deg, rgba(var(--primary), 0.1), rgba(var(--session), 0.05));
    border: 1px solid rgba(var(--primary), 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.charts-control-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary), 0.5), transparent);
}

.control-header-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.control-header-info h3 {
    color: rgba(var(--primary), 1);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.control-header-info p {
    color: var(--on-surface-dim);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.time-range-selector {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.time-range-btn {
    padding: 0.8rem 1.8rem;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--on-surface-dim);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    user-select: none;
    -webkit-user-select: none;
}

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

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

.time-range-btn.active {
    background: rgba(var(--primary), 0.2);
    color: rgba(var(--primary), 1);
    border-color: rgba(var(--primary), 0.4);
}

.time-range-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.12);
    color: var(--on-surface);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Charts Connector */
.charts-connector {
    margin-top: 1.5rem;
    text-align: center;
    position: relative;
}

.connector-line {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, rgba(var(--primary), 0.6), rgba(var(--primary), 0.3));
    margin: 0 auto;
    border-radius: 2px;
}

.connector-arrow {
    font-size: 1.2rem;
    color: rgba(var(--primary), 0.8);
    margin: 0.25rem 0;
    animation: bounce 2s infinite;
}

.connector-text {
    font-size: 0.8rem;
    color: var(--on-surface-dim);
    opacity: 0.8;
    font-weight: 500;
    font-style: italic;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Summary Stats */
.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.summary-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.summary-info {
    flex: 1;
}

.summary-label {
    font-size: 0.85rem;
    color: var(--on-surface-dim);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.summary-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--on-surface);
}

/* Chart Tabs */
.chart-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.chart-tab {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--on-surface-dim);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.chart-tab.active {
    background: rgba(var(--primary), 0.2);
    border-color: rgba(var(--primary), 0.4);
    color: rgba(var(--primary), 1);
}

.chart-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-surface);
}

/* Chart Panels */
.chart-content {
    position: relative;
}

.chart-panel {
    display: none;
}

.chart-panel.active {
    display: block;
}

.chart-header {
    text-align: center;
    margin-bottom: 2rem;
}

.chart-header h3 {
    color: var(--on-surface);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.chart-header p {
    color: var(--on-surface-dim);
    font-size: 0.9rem;
}

.chart-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pie-chart-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

/* Loading, Error, Empty States */
.stats-loading, .stats-error, .stats-empty {
    text-align: center;
    padding: 3rem;
    color: var(--on-surface-dim);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(var(--primary), 0.3);
    border-top: 3px solid rgba(var(--primary), 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.error-icon, .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    max-width: 600px;
    margin: 0 auto;
}

.calendar-day {
    aspect-ratio: 1;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--on-surface-dim);
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover {
    border-color: rgba(var(--primary), 0.5);
}

.calendar-day.has-data {
    background: rgba(var(--primary), 0.3);
    border-color: rgba(var(--primary), 0.5);
    color: var(--on-surface);
}

.calendar-day.high-activity {
    background: rgba(var(--session), 0.4);
    border-color: rgba(var(--session), 0.6);
}

/* Heatmap Grid */
.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 2px;
    max-width: 800px;
    margin: 0 auto;
}

.heatmap-hour {
    aspect-ratio: 1;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--on-surface-dim);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.heatmap-hour:hover {
    border-color: rgba(var(--primary), 0.5);
}

.heatmap-hour.activity-1 {
    background: rgba(var(--session), 0.2);
}

.heatmap-hour.activity-2 {
    background: rgba(var(--session), 0.4);
}

.heatmap-hour.activity-3 {
    background: rgba(var(--session), 0.6);
}

.heatmap-hour.activity-4 {
    background: rgba(var(--session), 0.8);
}

.heatmap-hour.activity-5 {
    background: rgba(var(--session), 1);
}

/* Responsive styles */
@media (max-width: 768px) {
    .stage {
        margin-top: 70px;
    }
    
    .timer-display {
        font-size: 5rem;
    }
    
    .status-indicator {
        font-size: 1.8rem;
        padding: 0.6rem 2rem;
    }
    
    .status-count {
        font-size: 1.8rem;
    }
    
    .card-face {
        padding: 2rem;
    }
    
    .control-buttons {
        gap: 0.8rem;
    }
    
    .control-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    

    /* Daily Goal Modal Mobile */
    .daily-goal-modal-content {
        width: 98vw;
        max-height: 95vh;
        padding: 1rem;
    }

    .goal-setting-card, .goal-progress-card {
        padding: 1.5rem;
    }

    .goal-input-section {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .goal-input-group {
        width: 100%;
        max-width: 200px;
    }

    .progress-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .progress-stat-item {
        padding: 0.8rem;
    }

    .circular-progress {
        transform: scale(0.8);
    }

    /* Mini Progress Mobile */
    .daily-goal-mini-progress {
        padding: 0.6rem 1rem;
        gap: 0.6rem;
        margin: 0.8rem 0;
    }

    .mini-progress-label {
        font-size: 0.7rem;
    }

    .mini-progress-value {
        font-size: 0.8rem;
    }

    .mini-progress-bar {
        width: 50px;
        height: 5px;
    }

    /* Statistics Modal Mobile */
    .statistics-modal-content {
        width: 98vw;
        max-height: 95vh;
        padding: 1rem;
    }

    .summary-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .summary-card {
        padding: 1.2rem;
    }

    .chart-tabs {
        gap: 0.3rem;
    }

    .chart-tab {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .chart-wrapper {
        padding: 1rem;
        min-height: 250px;
    }

    /* Mobile responsive for control header */
    .charts-control-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .control-header-info h3 {
        font-size: 1.1rem;
    }

    .control-header-info p {
        font-size: 0.85rem;
    }

    .time-range-selector {
        flex-direction: column;
        gap: 8px;
    }

    .time-range-btn {
        padding: 0.8rem 1.4rem;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .connector-text {
        font-size: 0.75rem;
    }

    .calendar-grid {
        max-width: 100%;
        gap: 2px;
    }

    .heatmap-grid {
        max-width: 100%;
        gap: 1px;
    }

    .heatmap-hour {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .timer-display {
        font-size: 3.5rem;
    }
    
    .status-indicator {
        font-size: 1.4rem;
        padding: 0.4rem 1.5rem;
        min-width: 200px;
    }
    
    .status-count {
        font-size: 1.4rem;
    }
    
    .card-face {
        padding: 1.5rem;
    }
    
    .control-buttons {
        gap: 0.6rem;
        flex-direction: column;
        align-items: center;
    }
    
    .control-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Settings container */
.settings-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 25px;
    margin-top: 35px;
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 2;
    justify-items: center;
}

.settings-pill {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-radius: 50px;
    background: rgba(20, 25, 35, 0.9);
    border: 3px solid rgba(255, 255, 255, 0.25);
    transition: all var(--speed-medium) ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 200px;
    width: 100%;
    max-width: 350px;
    animation: fadeIn 0.5s ease backwards;
    position: relative;
}

.quick-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--speed-fast) ease;
}

.settings-pill:hover .quick-controls {
    opacity: 1;
    transform: translateX(0);
}

.quick-adjust {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toggle-btn {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-surface);
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--speed-fast) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
}

.toggle-btn:hover {
    border-color: rgba(var(--primary), 0.6);
    background: rgba(var(--primary), 0.2);
    color: rgba(var(--primary), 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(var(--primary), 0.3);
}

.toggle-btn.active {
    border-color: rgba(var(--session), 0.8);
    background: rgba(var(--session), 0.3);
    color: rgba(var(--session), 1);
    box-shadow: 0 0 15px rgba(var(--session), 0.4);
}

.toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
}

.toggle-btn.inactive {
    border-color: rgba(255, 80, 80, 0.6);
    background: rgba(255, 80, 80, 0.2);
    color: rgba(255, 80, 80, 1);
    opacity: 0.7;
}

.toggle-icon {
    transition: transform var(--speed-fast) ease;
}

.quick-btn {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-surface);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--speed-fast) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.quick-btn:hover {
    border-color: rgba(var(--primary), 0.6);
    background: rgba(var(--primary), 0.2);
    color: rgba(var(--primary), 1);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(var(--primary), 0.3);
}

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

.quick-btn.minus:hover {
    border-color: rgba(255, 150, 50, 0.6);
    background: rgba(255, 150, 50, 0.2);
    color: rgba(255, 150, 50, 1);
    box-shadow: 0 2px 8px rgba(255, 150, 50, 0.3);
}

.quick-btn.plus:hover {
    border-color: rgba(0, 220, 130, 0.6);
    background: rgba(0, 220, 130, 0.2);
    color: rgba(0, 220, 130, 1);
    box-shadow: 0 2px 8px rgba(0, 220, 130, 0.3);
}

/* Quick Notification Styles */
/* Beautiful Notification System - Unified */
.quick-notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    padding: 0.8rem 1.2rem;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--on-surface);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    z-index: 10002;
    max-width: 280px;
    transform: translateX(calc(100% + 2rem));
    transition: transform 0.4s cubic-bezier(0.17, 0.84, 0.44, 1);
    pointer-events: auto;
}

.quick-notification.show {
    transform: translateX(0);
}

.quick-notification.hide {
    transform: translateX(calc(100% + 2rem)) !important;
}

.quick-notification-success {
    border-left: 3px solid rgba(16, 185, 129, 1);
    background: rgba(16, 185, 129, 0.1);
}

.quick-notification-warning {
    border-left: 3px solid rgba(255, 150, 50, 1);
    background: rgba(255, 150, 50, 0.1);
}

.quick-notification-info {
    border-left: 3px solid rgba(var(--primary), 1);
    background: rgba(var(--primary), 0.1);
}

.quick-notification-error {
    border-left: 3px solid rgba(255, 80, 80, 1);
    background: rgba(255, 80, 80, 0.1);
}

/* Special styling for auth-required notifications */
.quick-notification.auth-required {
    border: 2px solid rgba(255, 193, 7, 0.6);
    background: rgba(255, 193, 7, 0.15);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 1rem 1.5rem;
    max-width: 320px;
    animation: authPulse 2s ease-in-out;
    transition: all 0.3s ease;
}

.quick-notification.auth-required:hover {
    background: rgba(255, 193, 7, 0.25);
    border-color: rgba(255, 193, 7, 0.8);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
    transform: translateX(0) translateY(-2px);
}

@keyframes authPulse {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
        border-color: rgba(255, 193, 7, 0.6);
    }
    50% { 
        box-shadow: 0 6px 16px rgba(255, 193, 7, 0.5);
        border-color: rgba(255, 193, 7, 0.8);
    }
}

.settings-pill:nth-child(1) {
    animation-delay: 0.1s;
}

.settings-pill:nth-child(2) {
    animation-delay: 0.2s;
}

.settings-pill:nth-child(3) {
    animation-delay: 0.3s;
}

.settings-pill:nth-child(4) {
    animation-delay: 0.4s;
}

/* Top Mode Toggle */
.top-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 8px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer; /* Make entire area clickable */
}

.top-mode-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.mode-display {
    font-size: 12px;
    font-weight: 600;
    color: var(--on-surface);
    letter-spacing: 0.5px;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Mode toggle button */
.mode-toggle-btn {
    position: relative;
    width: 80px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mode-toggle-track {
    position: relative;
    width: 64px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center; /* Dikey ortalama için */
}

.mode-toggle-thumb {
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 50%;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center; /* Emojiyi dikey ortala */
    justify-content: center; /* Emojiyi yatay ortala */
    font-size: 14px;
}

/* Stopwatch mode active */
.mode-toggle-btn.stopwatch-mode .mode-toggle-thumb {
    transform: translateX(36px);
    background: linear-gradient(135deg, #4ecdc4, #44b3aa);
}

.mode-toggle-btn.stopwatch-mode .mode-toggle-track {
    background: rgba(78, 205, 196, 0.2);
    border-color: rgba(78, 205, 196, 0.4);
}

/* Hover effects */
.mode-toggle-btn:hover .mode-toggle-track {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.mode-toggle-btn:hover .mode-toggle-thumb {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

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

/* Session mode active */
.session #settings-container .session-pill {
    border-color: rgba(var(--session), 0.8);
    background: rgba(var(--session), 0.5);
    box-shadow: 0 6px 20px rgba(var(--session), 0.3);
}

.session #settings-container .session-pill .settings-value {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Break mode active */
.break #settings-container .break-pill {
    border-color: rgba(var(--break), 0.8);
    background: rgba(var(--break), 0.5);
    box-shadow: 0 6px 20px rgba(var(--break), 0.3);
}

.break #settings-container .break-pill .settings-value {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Long break mode active */
.long-break #settings-container .longbreak-pill {
    border-color: rgba(var(--break), 0.8);
    background: rgba(var(--break), 0.5);
    box-shadow: 0 6px 20px rgba(var(--break), 0.3);
}

.long-break #settings-container .longbreak-pill .settings-value {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Lunch mode active */
.lunch #settings-container .lunch-pill {
    border-color: rgba(var(--lunch), 0.8);
    background: rgba(var(--lunch), 0.5);
    box-shadow: 0 6px 20px rgba(var(--lunch), 0.3);
}

.lunch #settings-container .lunch-pill .settings-value {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.settings-icon {
    font-size: 2.4rem;
    margin-right: 18px;
    opacity: 1;
}

.settings-text {
    display: flex;
    flex-direction: column;
}

.settings-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4px;
    white-space: nowrap;
}

.settings-value {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.settings-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subtitle-controls {
    display: flex;
    gap: 4px;
    margin-left: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all var(--speed-fast) ease;
}

.settings-pill:hover .subtitle-controls {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.subtitle-btn {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-surface);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--speed-fast) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.subtitle-btn:hover {
    border-color: rgba(var(--primary), 0.6);
    background: rgba(var(--primary), 0.2);
    color: rgba(var(--primary), 1);
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(var(--primary), 0.3);
}

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

@media (max-width: 768px) {
    .settings-container {
        padding: 0 15px;
        gap: 20px;
    }
    
    .quick-controls {
        margin-left: 8px;
        gap: 6px;
    }
    
    .quick-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    
    .toggle-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .quick-notification {
        top: 80px;
        right: 1rem;
        max-width: 280px;
        transform: translateX(calc(100% + 1rem));
    }
    
    .quick-notification.show {
        transform: translateX(0);
    }
    
    .quick-notification.hide {
        transform: translateX(calc(100% + 1rem)) !important;
    }

    /* Auth required notification styles removed - auth-only mode */
}

/* ======================================
   MODAL OVERLAY STYLES
   ====================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--on-surface-variant);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.modal-body {
    padding: 2rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ======================================
   AUTH INFO MODAL STYLES
   ====================================== */

.auth-info-modal {
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.auth-info-content {
    text-align: center;
    padding: 1rem 0;
}

.auth-info-text {
    font-size: 1.1rem;
    color: var(--on-surface);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.auth-info-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.auth-info-warning h4 {
    color: rgba(255, 193, 7, 1);
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.auth-info-warning ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

.auth-info-warning li {
    margin-bottom: 0.5rem;
}

.modal-footer .btn {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-surface);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, rgba(var(--primary), 1), rgba(var(--primary), 0.8));
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(var(--primary), 0.3);
}

.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, rgba(var(--primary), 0.9), rgba(var(--primary), 0.7));
    box-shadow: 0 6px 16px rgba(var(--primary), 0.4);
    transform: translateY(-1px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .auth-info-modal {
        max-width: 95%;
        margin: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        min-width: auto;
    }
    
    .auth-info-warning {
        padding: 1rem;
        margin: 1rem 0;
    }
}

@media (max-width: 600px) {
    .stage {
        margin-top: 60px;
    }
    
    .settings-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        gap: 20px;
        margin-top: 40px;
    }
    
    .top-mode-toggle {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        border-radius: 20px;
    }
    
    .mode-display {
        font-size: 10px;
        min-width: 70px;
    }
    
    .mode-toggle-btn {
        width: 70px;
        height: 32px;
    }
    
    .mode-toggle-track {
        width: 56px;
        height: 24px;
    }
    
    .mode-toggle-thumb {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .mode-toggle-btn.stopwatch-mode .mode-toggle-thumb {
        transform: translateX(32px);
    }
    
    .settings-pill {
        width: 100%;
        max-width: 350px;
        justify-content: flex-start;
        padding: 16px 24px;
    }
    
    .settings-pill:hover .quick-controls {
        opacity: 1;
        transform: translateX(0);
    }
    
    .quick-controls {
        opacity: 0.7;
        transform: translateX(0);
    }
    
    .settings-icon {
        font-size: 2.6rem;
        margin-right: 20px;
    }
    
    .settings-label {
        font-size: 1.2rem;
    }
    
    .settings-value {
        font-size: 2rem;
    }
}

.next-session-info {
    margin-top: 15px;
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    transition: all var(--speed-medium) ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.break .next-session-info,
.long-break .next-session-info,
.lunch .next-session-info {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.session .next-session-info {
    display: none;
}

.break .next-session-info {
    color: rgba(255, 255, 255, 1);
    background: rgba(var(--break), 0.25);
    border: 2px solid rgba(var(--break), 0.5);
    box-shadow: 0 4px 12px rgba(var(--break), 0.3);
}

.long-break .next-session-info {
    color: rgba(255, 255, 255, 1);
    background: rgba(var(--break), 0.25);
    border: 2px solid rgba(var(--break), 0.5);
    box-shadow: 0 4px 12px rgba(var(--break), 0.3);
}

.lunch .next-session-info {
    color: rgba(255, 255, 255, 1);
    background: rgba(var(--lunch), 0.25);
    border: 2px solid rgba(var(--lunch), 0.5);
    box-shadow: 0 4px 12px rgba(var(--lunch), 0.3);
}

@media (max-width: 768px) {
    .next-session-info {
        font-size: 1.8rem;
        padding: 10px 24px;
    }
}

/* Floating Add Button */
.floating-add-button-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-add-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary), 1), rgba(var(--primary), 0.8));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 16px rgba(var(--primary), 0.3),
        0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-add-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-add-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(var(--primary), 0.4),
        0 12px 40px rgba(0, 0, 0, 0.3);
}

.floating-add-btn:hover::before {
    opacity: 1;
}

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

.floating-add-icon {
    font-size: 24px;
    font-weight: 300;
    color: white;
    line-height: 1;
    z-index: 1;
    position: relative;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .floating-add-button-container {
        bottom: 88px; /* Above bottom navigation */
        right: 20px;
    }
    
    .floating-add-btn {
        width: 52px;
        height: 52px;
    }
    
    .floating-add-icon {
        font-size: 22px;
    }
}

/* Hide when bottom nav user overlay is visible */
.bottom-nav-user-overlay.visible ~ .floating-add-button-container {
    transform: translateX(100px);
    opacity: 0;
}

/* ======================================
   DATETIME INPUT FIXES
   ====================================== */

/* Fix datetime-local input calendar/clock icon visibility */
input[type="datetime-local"] {
    color-scheme: light !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--on-surface) !important;
    position: relative;
}

/* Force white calendar icon with multiple approaches */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1) !important;
    -webkit-filter: invert(1) !important;
    background: none !important;
    color: white !important;
    cursor: pointer !important;
    opacity: 1 !important;
    width: 20px !important;
    height: 20px !important;
    padding: 2px !important;
    margin: 0 4px !important;
}

/* Alternative SVG approach */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3e%3cline x1='16' y1='2' x2='16' y2='6'/%3e%3cline x1='8' y1='2' x2='8' y2='6'/%3e%3cline x1='3' y1='10' x2='21' y2='10'/%3e%3c/svg%3e") !important;
    background-size: 16px 16px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    filter: none !important;
    -webkit-filter: none !important;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    opacity: 0.8 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
}

/* Text color fixes */
input[type="datetime-local"]::-webkit-datetime-edit {
    color: var(--on-surface) !important;
}

input[type="datetime-local"]::-webkit-datetime-edit-fields-wrapper {
    color: var(--on-surface) !important;
}

input[type="datetime-local"]::-webkit-datetime-edit-text {
    color: var(--on-surface-variant) !important;
}

input[type="datetime-local"]::-webkit-datetime-edit-month-field,
input[type="datetime-local"]::-webkit-datetime-edit-day-field,
input[type="datetime-local"]::-webkit-datetime-edit-year-field,
input[type="datetime-local"]::-webkit-datetime-edit-hour-field,
input[type="datetime-local"]::-webkit-datetime-edit-minute-field {
    color: var(--on-surface) !important;
}

/* For Firefox */
@-moz-document url-prefix() {
    input[type="datetime-local"] {
        color: var(--on-surface) !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }
}

/* ======================================
   ARCHIVE BUTTON AND PENDING HABITS BUTTON STYLES
   ====================================== */

.archive-button,
.pending-habits-button {
    margin-top: 1rem;
    padding: 0 1rem;
}

/* Make pending area boundaries clear like the archive area */
.pending-habits-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.archive-btn,
.pending-habits-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--on-surface);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.archive-btn:hover,
.pending-habits-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.archive-icon,
.pending-icon {
    font-size: 1.1rem;
    opacity: 0.9;
}

.archive-text,
.pending-text {
    flex: 1;
    text-align: center;
}

/* Pending Habits Section */
.pending-habits-section {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    animation: slideDown 0.3s ease;
    max-height: 400px;
    overflow-y: auto;
}

.pending-habits-header {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pending-habits-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--on-surface-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pending-habits-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
}

.pending-habit-card {
    opacity: 0.8;
    transform: scale(0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.5rem;
}

.pending-habit-card:hover {
    opacity: 1;
    transform: scale(1);
}

/* State for column showing pending habits */
.kanban-column.showing-pending {
    min-height: auto;
}

.kanban-column.showing-pending .column-header {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(107, 114, 128, 0.05) 100%);
    border-color: rgba(107, 114, 128, 0.2);
}

/* Animation for slide down */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .archive-btn,
    .pending-habits-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .pending-habits-section {
        padding: 0.75rem;
    }
    
    .pending-habits-content {
        gap: 0.5rem;
    }
}

/* ========================================
   BADGE SYSTEM STYLES
   ======================================== */

/* Badge Modal - Wider for grid layout */
.badges-modal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Mobile: Keep narrower */
@media (max-width: 767px) {
    .badges-modal-content {
        max-width: 95vw;
    }
}

.badges-container {
    padding: 1rem 0;
}

.badges-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.badges-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.5rem;
}

.badges-header p {
    color: var(--on-surface-dim);
    font-size: 0.95rem;
}

/* Badge List - Responsive Grid */
.badges-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Tablet: 2 columns */
@media (min-width: 768px) {
    .badges-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Desktop: 3 columns */
@media (min-width: 1200px) {
    .badges-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 1199px) {
    .badge-item {
        min-height: 150px;
    }
    
    .badge-icon {
        font-size: 2.25rem;
    }
    
    .badge-habit-name {
        font-size: 1.05rem;
    }
}

/* Badge Item - Compact Design */
.badge-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
}

.badge-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #f97316, #ef4444);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.badge-item:hover::before {
    opacity: 1;
}

/* Badge Content - Compact Layout */
.badge-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex: 1;
}

.badge-icon {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: badgeGlow 2s ease-in-out infinite alternate;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

@keyframes badgeGlow {
    0% { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) brightness(1); }
    100% { filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.2)) brightness(1.1); }
}

.badge-info {
    flex: 1;
}

.badge-habit-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-streak-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}

.badge-level {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.badge-streak {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--on-surface-dim);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.badge-streak.completed-today {
    color: #ef4444;
    font-weight: 700;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.badge-title {
    font-size: 0.75rem;
    color: var(--on-surface-dim);
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Badge Progress - Compact */
.badge-progress {
    margin-top: auto;
    padding-top: 0.75rem;
}

.badge-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.badge-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
    border-radius: 2px;
    transition: width 0.5s ease;
    position: relative;
}

.badge-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.badge-next-level {
    font-size: 0.7rem;
    color: var(--on-surface-dim);
    text-align: center;
    line-height: 1.2;
}

/* Badge Loading States */
.badges-loading {
    text-align: center;
    padding: 3rem 1rem;
}

.badges-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.badges-loading p {
    color: var(--on-surface-dim);
    font-size: 0.9rem;
}

/* Badge Empty State */
.badges-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.badges-empty .empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.badges-empty p {
    color: var(--on-surface-dim);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.badges-empty .empty-subtitle {
    font-size: 0.85rem;
    color: var(--on-surface-dim);
    opacity: 0.8;
}

/* Badge Error State */
.badges-error {
    text-align: center;
    padding: 3rem 1rem;
}

.badges-error .error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ef4444;
}

.badges-error p {
    color: var(--on-surface-dim);
    margin-bottom: 1rem;
}

/* Mobile Responsive - Grid already handles mobile with 1 column */
@media (max-width: 767px) {
    /* Removed size restrictions to allow fullscreen from modals.css */
    
    .badge-item {
        padding: 0.875rem;
        min-height: 120px;
    }
    
    .badge-content {
        flex-direction: row;
        text-align: left;
        gap: 0.75rem;
    }
    
    .badge-icon {
        font-size: 1.75rem;
    }
    
    .badge-habit-name {
        font-size: 0.9rem;
    }
    
    .badge-level, .badge-streak {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
    }
    
    .badge-title {
        font-size: 0.7rem;
    }
    
    .badges-header h3 {
        font-size: 1.25rem;
    }
    
    .badges-header p {
        font-size: 0.9rem;
    }
}

/* Badge Level Specific Colors */
.badge-item[data-level="diamond"] .badge-level {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.badge-item[data-level="gold"] .badge-level {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.badge-item[data-level="silver"] .badge-level {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
}

.badge-item[data-level="bronze"] .badge-level {
    background: linear-gradient(135deg, #cd7f32, #d97706);
}

.badge-item[data-level="fire"] .badge-level {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.badge-item[data-level="star"] .badge-level {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}