/* ========== RESET & VARIABLES ========== */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #2ed573;
    --warning-color: #ffb347;
    --danger-color: #ff4757;
    --info-color: #1e90ff;
    --dark-color: #2f3542;
    --light-color: #f1f2f6;
    --gray-color: #a4b0be;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 30px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --box-shadow-lg: 0 20px 60px rgba(0,0,0,0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Dark Theme */
.dark-theme {
    --primary-color: #5a67d8;
    --secondary-color: #6b46c1;
    --text-color: #f0f0f0;
    --text-light: #cbd5e0;
    --bg-color: #1a202c;
    --dark-color: #f0f0f0;
    --light-color: #2d3748;
    --white: #2d3748;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    color: var(--text-color);
    transition: var(--transition);
    overflow-x: hidden;
}

.hidden { display: none !important; }

/* ========== YÜKLEME EKRANI ========== */
.loading-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

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

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.loading-progress {
    width: 300px;
    height: 4px;
    background: var(--light-color);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s ease;
}

/* ========== AUTH MODAL ========== */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(0,0,0,0.5);
}

.auth-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--box-shadow-lg);
    animation: slideUp 0.5s ease;
    position: relative;
}

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

.logo {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.logo i {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.logo h1 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.logo p { color: var(--text-light); }

.version-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--box-shadow);
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: var(--light-color);
    padding: 5px;
    border-radius: var(--border-radius-md);
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--box-shadow);
}

.auth-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

.auth-form.active { display: block; }

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

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    font-size: 18px;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius-md);
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-color);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-options a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.terms { margin-bottom: 20px; }

.auth-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102,126,234,0.3);
}

/* ========== MAIN APP ========== */
.main-app {
    display: flex;
    min-height: 100vh;
    background: var(--bg-color);
}

/* ========== SIDEBAR ========== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--white);
    box-shadow: var(--box-shadow-lg);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: var(--transition);
    left: 0;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar.collapsed .sidebar-header span,
.sidebar.collapsed .user-profile-mini div,
.sidebar.collapsed .nav-menu a span,
.sidebar.collapsed .sidebar-progress h4,
.sidebar.collapsed .sidebar-progress .progress-text,
.sidebar.collapsed .mode-selector h4,
.sidebar.collapsed .mode-selector select,
.sidebar.collapsed .volume-control span,
.sidebar.collapsed .daily-quote p,
.sidebar.collapsed .logout-btn span,
.sidebar.collapsed .theme-switch span {
    display: none;
}

.sidebar.collapsed .sidebar-header { justify-content: center; padding: 20px 10px; }
.sidebar.collapsed .sidebar-header i { margin-right: 0; font-size: 30px; }
.sidebar.collapsed .user-profile-mini { justify-content: center; }
.sidebar.collapsed .user-profile-mini img { width: 40px; height: 40px; }
.sidebar.collapsed .nav-menu a { justify-content: center; padding: 15px; }
.sidebar.collapsed .nav-menu a i { margin-right: 0; font-size: 20px; }
.sidebar.collapsed .sidebar-progress { padding: 10px; }
.sidebar.collapsed .progress-bar-container { width: 100%; }
.sidebar.collapsed .mode-selector { padding: 10px; text-align: center; }
.sidebar.collapsed .mode-selector i { font-size: 20px; }
.sidebar.collapsed .daily-quote { padding: 10px; text-align: center; }
.sidebar.collapsed .daily-quote i { position: static; font-size: 24px; }
.sidebar.collapsed .logout-btn { justify-content: center; }

.sidebar-header {
    padding: 30px 20px;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 1px solid var(--light-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-header i { font-size: 30px; animation: rotate 10s linear infinite; }

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

.user-profile-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid var(--light-color);
    cursor: pointer;
    transition: var(--transition);
}

.user-profile-mini:hover { background: var(--light-color); }

.user-profile-mini img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.user-profile-mini h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.user-profile-mini p {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-progress {
    padding: 15px 20px;
    border-bottom: 1px solid var(--light-color);
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-progress:hover { background: var(--light-color); }

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

.progress-header h4 {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.progress-header h4 i { color: var(--primary-color); }

.progress-percent {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.progress-bar-container { width: 100%; }

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--light-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: var(--text-light);
}

.nav-menu {
    list-style: none;
    padding: 20px;
    flex: 1;
}

.nav-menu li {
    margin-bottom: 10px;
    animation: slideInRight 0.5s ease forwards;
    opacity: 0;
    cursor: pointer;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }

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

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    position: relative;
}

.nav-menu a i {
    width: 20px;
    color: var(--primary-color);
    font-size: 18px;
}

.nav-menu li:hover a,
.nav-menu li.active a {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: translateX(5px);
    box-shadow: var(--box-shadow);
}

.nav-menu li:hover a i,
.nav-menu li.active a i { color: var(--white); }

.badge {
    position: absolute;
    right: 15px;
    background: var(--danger-color);
    color: var(--white);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.mode-selector {
    padding: 15px 20px;
    border-bottom: 1px solid var(--light-color);
}

.mode-selector h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mode-selector h4 i { color: var(--primary-color); }

.mode-selector select {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius-md);
    background: var(--white);
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
}

.volume-control {
    margin: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--light-color);
    border-radius: var(--border-radius-md);
}

.volume-control i {
    color: var(--primary-color);
    width: 20px;
}

.volume-control input[type="range"] {
    flex: 1;
    height: 5px;
    -webkit-appearance: none;
    background: var(--gray-color);
    border-radius: 5px;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.volume-control span {
    font-size: 12px;
    color: var(--text-light);
    min-width: 35px;
}

.daily-quote {
    margin: 0 20px 15px 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1));
    border-radius: var(--border-radius-md);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.daily-quote:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.daily-quote i {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary-color);
    opacity: 0.3;
}

.daily-quote p {
    font-style: italic;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-color);
    padding-right: 25px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--light-color);
}

.theme-switch {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.theme-btn, .collapse-btn {
    flex: 1;
    padding: 10px;
    background: var(--light-color);
    border: none;
    border-radius: var(--border-radius-md);
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 13px;
}

.theme-btn:hover, .collapse-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.logout-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--danger-color);
    color: var(--danger-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.logout-btn:hover {
    background: var(--danger-color);
    color: var(--white);
}

.sidebar-toggle {
    position: fixed;
    left: var(--sidebar-width);
    top: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.sidebar-toggle.collapsed { left: var(--sidebar-collapsed-width); }
.sidebar-toggle.collapsed i { transform: rotate(180deg); }
.sidebar-toggle:hover { transform: scale(1.1); background: var(--secondary-color); }

.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    z-index: 2001;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* ========== MAIN CONTENT ========== */
.content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 30px;
    transition: var(--transition);
    min-height: 100vh;
    position: relative;
}

.content.expanded { margin-left: var(--sidebar-collapsed-width); }

.voice-command-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 2000;
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-command-btn:hover { transform: scale(1.1); }
.voice-command-btn.listening { animation: pulse 1s infinite; background: var(--danger-color); }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== HOME PAGE ========== */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
}

.content-header h1 {
    font-size: 28px;
    color: var(--dark-color);
}

.header-right {
    display: flex;
    gap: 15px;
}

.weather-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffb347, #ff8c00);
    border-radius: var(--border-radius-md);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.weather-widget:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.notifications {
    position: relative;
    padding: 10px 20px;
    background: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: var(--transition);
}

.notifications:hover { transform: translateY(-2px); }
.notifications .badge { top: -5px; right: -5px; }

.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.stat-card i {
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.5;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.timer-section { margin-bottom: 30px; }

.timer-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px;
    border-radius: var(--border-radius-lg);
    color: var(--white);
    text-align: center;
    box-shadow: var(--box-shadow-lg);
    position: relative;
    overflow: hidden;
}

.timer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.timer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.timer-header h3 { font-size: 24px; }

.pomodoro-count {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
}

.timer-display {
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
    font-family: 'Courier New', monospace;
    position: relative;
    z-index: 1;
}

.timer-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.timer-btn {
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.timer-btn.primary {
    background: var(--white);
    color: var(--primary-color);
}

.timer-btn.secondary {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.timer-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.tasks-section {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h3 {
    font-size: 20px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h3 i { color: var(--primary-color); }

.task-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 15px;
    border: none;
    background: var(--light-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.task-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.task-input input {
    flex: 2;
    min-width: 200px;
    padding: 15px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius-md);
    font-size: 16px;
}

.task-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.task-input select {
    flex: 1;
    min-width: 120px;
    padding: 15px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    cursor: pointer;
}

.add-task-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.add-task-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

.task-list {
    list-style: none;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-color);
    border-radius: var(--border-radius-md);
    margin-bottom: 10px;
    animation: slideIn 0.3s ease;
    transition: var(--transition);
}

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

.task-item:hover {
    transform: translateX(5px);
    box-shadow: var(--box-shadow);
}

.task-item.completed {
    opacity: 0.7;
    background: #e8f5e9;
}

.task-item.completed .task-text {
    text-decoration: line-through;
    color: var(--success-color);
}

.task-check { width: 20px; height: 20px; cursor: pointer; }
.task-content { flex: 1; }

.task-text {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.task-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    flex-wrap: wrap;
}

.task-category {
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--white);
    font-size: 11px;
    font-weight: 600;
}

.task-category.work { background: var(--danger-color); color: white; }
.task-category.study { background: var(--info-color); color: white; }
.task-category.personal { background: var(--success-color); color: white; }
.task-category.health { background: #ff6b81; color: white; }
.task-category.other { background: var(--gray-color); color: white; }

.task-priority {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.task-priority.high { background: var(--danger-color); color: white; }
.task-priority.medium { background: var(--warning-color); color: white; }
.task-priority.low { background: var(--success-color); color: white; }

.task-actions {
    display: flex;
    gap: 5px;
}

.task-actions button {
    padding: 8px;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
}

.task-actions button:hover {
    color: var(--danger-color);
    background: rgba(255,71,87,0.1);
    transform: scale(1.1);
}

.daily-challenge {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: var(--transition);
}

.daily-challenge:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.daily-challenge h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.daily-challenge h3 i { color: var(--warning-color); }

.challenge-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255,179,71,0.1), rgba(255,71,87,0.1));
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--warning-color);
}

.challenge-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.challenge-info p {
    color: var(--warning-color);
    font-weight: 600;
}

.challenge-progress { width: 250px; }

/* ========== DASHBOARD ========== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-header h1 {
    font-size: 28px;
    color: var(--dark-color);
}

.dashboard-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.time-range-select {
    padding: 10px 15px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    background: var(--white);
    color: var(--text-color);
    cursor: pointer;
}

.export-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

.productivity-score-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.score-header span {
    font-size: 16px;
    color: var(--text-light);
}

.score-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.score-progress {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.score-progress .progress-bar {
    flex: 1;
    height: 10px;
    background: var(--light-color);
    border-radius: 5px;
    overflow: hidden;
}

.score-progress .progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.score-change {
    font-size: 14px;
    font-weight: 600;
}

.score-change.positive { color: var(--success-color); }
.score-change.negative { color: var(--danger-color); }

.score-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.detail-item {
    text-align: center;
    padding: 10px;
    background: var(--light-color);
    border-radius: var(--border-radius-md);
}

.detail-item span {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.detail-item strong {
    font-size: 18px;
    color: var(--dark-color);
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chart-header h3 {
    font-size: 18px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-header h3 i { color: var(--primary-color); }

.chart-container { height: 300px; position: relative; }

.achievements-section,
.ai-suggestions-section,
.goals-section {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.achievement-badge {
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,165,0,0.1));
    padding: 15px;
    border-radius: var(--border-radius-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.achievement-badge:hover {
    transform: translateY(-5px);
    border-color: var(--warning-color);
    box-shadow: var(--box-shadow);
}

.achievement-badge i {
    font-size: 30px;
    color: var(--warning-color);
    margin-bottom: 10px;
}

.achievement-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    display: block;
}

.suggestions-list { margin-top: 20px; }

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-color);
    border-radius: var(--border-radius-md);
    margin-bottom: 10px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.suggestion-item:hover {
    transform: translateX(5px);
    border-left-color: var(--primary-color);
    box-shadow: var(--box-shadow);
}

.suggestion-item i {
    font-size: 20px;
    color: var(--primary-color);
    background: rgba(102,126,234,0.1);
    padding: 10px;
    border-radius: 50%;
}

.suggestion-item p {
    flex: 1;
    color: var(--text-color);
    font-size: 14px;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.goal-card {
    background: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius-md);
}

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.goal-header h4 {
    font-size: 16px;
    color: var(--dark-color);
}

.goal-progress .progress-bar {
    height: 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.goal-progress .progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.goal-stats {
    font-size: 12px;
    color: var(--text-light);
    float: right;
}

/* ========== PROFILE ========== */
.profile-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-header img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
}

.profile-info { flex: 1; }

.profile-info h2 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.profile-info p {
    color: var(--text-light);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-stats {
    display: flex;
    gap: 30px;
}

.profile-stats .stat {
    text-align: center;
}

.profile-stats .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.profile-stats .stat-label {
    font-size: 12px;
    color: var(--text-light);
}

.all-achievements {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.all-achievements h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.all-achievements h3 i { color: var(--warning-color); }

.achievement-card {
    background: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius-md);
    text-align: center;
    position: relative;
}

.achievement-card.unlocked {
    background: linear-gradient(135deg, rgba(46,213,115,0.1), rgba(0,184,148,0.1));
    border: 1px solid var(--success-color);
}

.achievement-card.locked { opacity: 0.6; }

.achievement-card i {
    font-size: 30px;
    color: var(--warning-color);
    margin-bottom: 10px;
}

.achievement-card h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.achievement-card p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.achievement-card .reward {
    display: inline-block;
    padding: 3px 8px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 11px;
}

.settings-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.settings-section h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-section h3 i { color: var(--primary-color); }

.settings-group {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-color);
}

.settings-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.settings-group h4 {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.setting-item label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 150px;
}

.setting-item input,
.setting-item select {
    flex: 1;
    max-width: 300px;
    padding: 10px 15px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    background: var(--white);
    color: var(--text-color);
}

.save-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 600;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

/* ========== TOAST ========== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-lg);
    min-width: 300px;
    max-width: 400px;
    animation: slideRight 0.3s ease;
    border-left: 4px solid;
}

.toast.success { border-color: var(--success-color); }
.toast.error { border-color: var(--danger-color); }
.toast.warning { border-color: var(--warning-color); }
.toast.info { border-color: var(--primary-color); }

.toast i { font-size: 20px; }
.toast.success i { color: var(--success-color); }
.toast.error i { color: var(--danger-color); }
.toast.warning i { color: var(--warning-color); }
.toast.info i { color: var(--primary-color); }
.toast span { flex: 1; color: var(--text-color); font-size: 14px; }

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .quick-stats { grid-template-columns: repeat(2, 1fr); }
    .charts-container { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .sidebar { width: 240px; }
    .content { margin-left: 240px; }
    .sidebar-toggle { left: 240px; }
    .timer-display { font-size: 100px; }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -100%;
        width: var(--sidebar-width) !important;
        z-index: 2000;
        transition: left 0.5s ease;
    }
    
    .sidebar.mobile-open { left: 0; }
    .sidebar.collapsed { width: var(--sidebar-width) !important; }
    
    .sidebar.collapsed .sidebar-header span,
    .sidebar.collapsed .user-profile-mini div,
    .sidebar.collapsed .nav-menu a span,
    .sidebar.collapsed .sidebar-progress h4,
    .sidebar.collapsed .sidebar-progress .progress-text,
    .sidebar.collapsed .mode-selector h4,
    .sidebar.collapsed .mode-selector select,
    .sidebar.collapsed .volume-control span,
    .sidebar.collapsed .daily-quote p,
    .sidebar.collapsed .logout-btn span,
    .sidebar.collapsed .theme-switch span {
        display: inline-block;
    }
    
    .sidebar.collapsed .sidebar-header { justify-content: flex-start; padding: 30px 20px; }
    .sidebar.collapsed .user-profile-mini { justify-content: flex-start; }
    .sidebar.collapsed .nav-menu a { justify-content: flex-start; padding: 12px 15px; }
    .sidebar.collapsed .nav-menu a i { margin-right: 15px; }
    
    .content {
        margin-left: 0 !important;
        padding: 20px;
    }
    
    .sidebar-toggle { display: none; }
    .mobile-menu-btn { display: flex; }
    .quick-stats { margin-top: 60px; }
    .timer-display { font-size: 80px; }
    .timer-controls { flex-direction: column; }
    .timer-btn { width: 100%; }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats { justify-content: center; }
    .achievements-grid { grid-template-columns: repeat(2, 1fr); }
    .goals-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .quick-stats { grid-template-columns: 1fr; }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-right { width: 100%; }
    .weather-widget, .notifications { flex: 1; }
    .timer-display { font-size: 60px; }
    
    .task-input {
        flex-direction: column;
    }
    
    .task-input input,
    .task-input select,
    .task-input button {
        width: 100%;
    }
    
    .challenge-card {
        flex-direction: column;
        text-align: center;
    }
    
    .challenge-progress { width: 100%; }
    
    .dashboard-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .time-range-select,
    .export-btn {
        width: 100%;
    }
    
    .score-details { grid-template-columns: 1fr; }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .setting-item input,
    .setting-item select {
        max-width: 100%;
        width: 100%;
    }
    
    .toast {
        min-width: auto;
        width: 90%;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* YouTube Widget Stilleri */
.youtube-widget {
    margin: 10px 20px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: var(--border-radius-md);
    color: white;
    overflow: hidden;
    transition: var(--transition);
}

.youtube-widget.expanded {
    margin-bottom: 20px;
}

.youtube-header {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: rgba(0,0,0,0.2);
    transition: var(--transition);
}

.youtube-header:hover {
    background: rgba(0,0,0,0.3);
}

.youtube-header i:first-child {
    font-size: 20px;
    color: white;
}

.youtube-header span {
    flex: 1;
    font-weight: 600;
}

.youtube-controls-mini {
    display: flex;
    gap: 5px;
}

.youtube-controls-mini button {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

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

.youtube-body {
    padding: 15px;
    display: none;
}

.youtube-widget.expanded .youtube-body {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.youtube-search {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.youtube-search input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
}

.youtube-search button {
    width: 35px;
    height: 35px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.youtube-search button:hover {
    transform: scale(1.1);
}

.youtube-categories {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.youtube-categories button {
    flex: 1;
    min-width: 70px;
    padding: 8px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 11px;
}

.youtube-categories button.active,
.youtube-categories button:hover {
    background: rgba(255,255,255,0.3);
}

.youtube-player-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    margin-bottom: 15px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: none;
}

.youtube-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.current-song {
    text-align: center;
    font-size: 12px;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    margin-bottom: 15px;
}

.song-title {
    display: block;
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-channel {
    font-size: 11px;
    opacity: 0.8;
}

.youtube-playlists {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.playlist-item {
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 12px;
}

.playlist-item i {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

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

/* Sesli Komut Stilleri */
.voice-status {
    margin: 0 20px 15px 20px;
    padding: 10px;
    background: var(--light-color);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.voice-status:hover {
    background: var(--primary-color);
    color: white;
}

.voice-status i {
    font-size: 18px;
    color: var(--primary-color);
    transition: var(--transition);
}

.voice-status:hover i {
    color: white;
}

.voice-status span {
    flex: 1;
    font-size: 13px;
}

.voice-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
}

.voice-wave span {
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    animation: wave 1s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { animation-delay: 0s; }
.voice-wave span:nth-child(2) { animation-delay: 0.2s; }
.voice-wave span:nth-child(3) { animation-delay: 0.4s; }
.voice-wave span:nth-child(4) { animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1.5); }
}

.voice-command-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 26px;
    cursor: pointer;
    z-index: 2000;
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

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

.voice-command-btn.listening {
    animation: pulse 1s infinite;
    background: var(--danger-color);
}

.voice-command-btn.listening::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--danger-color);
    border-radius: 50%;
    animation: ripple 1s infinite;
}

@keyframes ripple {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.3); opacity: 0; }
}

.voice-tooltip {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: var(--dark-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.voice-command-btn:hover .voice-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 90px;
}

.voice-commands-list {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 350px;
    max-width: calc(100vw - 60px);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    z-index: 1999;
    transform: scale(0);
    opacity: 0;
    transform-origin: bottom right;
    transition: var(--transition);
    pointer-events: none;
}

.voice-commands-list.show {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.commands-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--light-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.commands-header h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
}

.commands-header h4 i {
    font-size: 18px;
}

.commands-header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.commands-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.command-item {
    background: var(--light-color);
    padding: 12px;
    border-radius: var(--border-radius-md);
    text-align: center;
}

.command-item kbd {
    display: block;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    margin-bottom: 5px;
    font-family: monospace;
}

.command-item span {
    font-size: 12px;
    color: var(--text-color);
}

/* Sesli Komut Bildirimi */
.voice-feedback {
    position: fixed;
    bottom: 120px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--box-shadow-lg);
    z-index: 2001;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.3s ease;
}

.voice-feedback i {
    font-size: 20px;
}

.voice-feedback.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

/* YouTube Widget Collapsed */
.sidebar.collapsed .youtube-widget .youtube-body,
.sidebar.collapsed .youtube-categories,
.sidebar.collapsed .youtube-playlists,
.sidebar.collapsed .current-song,
.sidebar.collapsed .voice-status span {
    display: none;
}

.sidebar.collapsed .youtube-header {
    justify-content: center;
    padding: 10px;
}

.sidebar.collapsed .youtube-header i:first-child {
    margin-right: 0;
}

.sidebar.collapsed .youtube-controls-mini {
    display: none;
}

.sidebar.collapsed .voice-status {
    justify-content: center;
}

.sidebar.collapsed .voice-status i {
    margin-right: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .youtube-categories {
        flex-wrap: wrap;
    }
    
    .youtube-categories button {
        flex: 1 1 calc(50% - 2.5px);
    }
    
    .youtube-playlists {
        grid-template-columns: 1fr;
    }
    
    .voice-commands-list {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 100px;
    }
    
    .commands-grid {
        grid-template-columns: 1fr;
        max-height: 300px;
    }
}
/* ========== GELİŞMİŞ YOUTUBE MÜZİK WIDGET ========== */
.youtube-music-widget {
    margin: 10px 20px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: var(--border-radius-md);
    color: white;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255,0,0,0.2);
}

.youtube-music-widget.expanded {
    margin-bottom: 20px;
}

.youtube-header {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: rgba(0,0,0,0.2);
    transition: var(--transition);
}

.youtube-header:hover {
    background: rgba(0,0,0,0.3);
}

.youtube-header i:first-child {
    font-size: 20px;
    color: white;
}

.youtube-header span {
    flex: 1;
    font-weight: 600;
}

.youtube-controls-mini {
    display: flex;
    gap: 5px;
}

.youtube-controls-mini button {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Şu an çalan mini gösterge */
.now-playing-mini {
    padding: 8px 12px;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.now-playing-mini:hover {
    background: rgba(0,0,0,0.4);
}

.now-playing-mini img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    object-fit: cover;
}

.now-playing-info {
    flex: 1;
    overflow: hidden;
}

.song-title-mini {
    display: block;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-channel-mini {
    display: block;
    font-size: 10px;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.youtube-body {
    padding: 15px;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.youtube-music-widget.expanded .youtube-body {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.youtube-body::-webkit-scrollbar {
    width: 5px;
}

.youtube-body::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

.youtube-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
}

.youtube-search {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.youtube-search input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    background: white;
}

.youtube-search button {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
}

.youtube-search button:hover {
    transform: scale(1.1);
    background: #f0f0f0;
}

.youtube-categories {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.youtube-categories button {
    flex: 1;
    min-width: 70px;
    padding: 8px 5px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.youtube-categories button.active,
.youtube-categories button:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.popular-searches {
    margin-bottom: 15px;
}

.popular-searches h4 {
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.9);
}

.popular-searches h4 i {
    color: #ffaa00;
}

.search-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.search-tags span {
    padding: 5px 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    transition: var(--transition);
}

.search-tags span:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.search-results {
    margin-bottom: 15px;
}

.search-results h4,
.youtube-playlists h4,
.queue-section h4 {
    font-size: 13px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 5px;
}

.results-list,
.queue-list {
    max-height: 200px;
    overflow-y: auto;
}

.result-item,
.queue-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-sm);
    margin-bottom: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.result-item:hover,
.queue-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}

.result-item img,
.queue-item img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
}

.result-info,
.queue-info {
    flex: 1;
    overflow: hidden;
}

.result-title,
.queue-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-channel,
.queue-channel {
    display: block;
    font-size: 10px;
    opacity: 0.8;
}

.result-duration {
    font-size: 10px;
    opacity: 0.7;
    margin-left: 5px;
}

.youtube-playlists {
    margin-bottom: 15px;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-sm);
    margin-bottom: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.playlist-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}

.playlist-item i {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.playlist-info {
    flex: 1;
}

.playlist-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
}

.playlist-count {
    display: block;
    font-size: 10px;
    opacity: 0.8;
}

.queue-section {
    margin-top: 10px;
}

/* Gizli YouTube Player */
#youtubePlayer {
    position: fixed;
    bottom: -100px;
    left: -100px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Sidebar Collapsed Durumu */
.sidebar.collapsed .youtube-music-widget .youtube-body,
.sidebar.collapsed .youtube-categories,
.sidebar.collapsed .youtube-playlists,
.sidebar.collapsed .search-results,
.sidebar.collapsed .popular-searches,
.sidebar.collapsed .queue-section,
.sidebar.collapsed .now-playing-mini .now-playing-info {
    display: none;
}

.sidebar.collapsed .youtube-header {
    justify-content: center;
    padding: 12px 5px;
}

.sidebar.collapsed .youtube-header i:first-child {
    margin-right: 0;
    font-size: 24px;
}

.sidebar.collapsed .youtube-controls-mini {
    display: none;
}

.sidebar.collapsed .now-playing-mini {
    justify-content: center;
    padding: 8px 5px;
}

.sidebar.collapsed .now-playing-mini img {
    width: 40px;
    height: 40px;
}

/* Sesli Komut Stilleri */
.voice-status {
    margin: 0 20px 15px 20px;
    padding: 10px 15px;
    background: var(--light-color);
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.voice-status:hover {
    background: var(--primary-color);
    color: white;
}

.voice-status i {
    font-size: 16px;
    color: var(--primary-color);
    transition: var(--transition);
}

.voice-status:hover i {
    color: white;
}

.voice-status span {
    flex: 1;
    font-size: 12px;
}

.voice-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
}

.voice-wave span {
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    animation: wave 1s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { animation-delay: 0s; }
.voice-wave span:nth-child(2) { animation-delay: 0.2s; }
.voice-wave span:nth-child(3) { animation-delay: 0.4s; }
.voice-wave span:nth-child(4) { animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1.5); }
}

.voice-command-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 26px;
    cursor: pointer;
    z-index: 2000;
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

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

.voice-command-btn.listening {
    animation: pulse 1s infinite;
    background: var(--danger-color);
}

.voice-command-btn.listening::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--danger-color);
    border-radius: 50%;
    animation: ripple 1s infinite;
}

@keyframes ripple {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.3); opacity: 0; }
}

.voice-tooltip {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: var(--dark-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.voice-command-btn:hover .voice-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 90px;
}

.voice-commands-list {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 60px);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    z-index: 1999;
    transform: scale(0);
    opacity: 0;
    transform-origin: bottom right;
    transition: var(--transition);
    pointer-events: none;
}

.voice-commands-list.show {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.commands-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--light-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.commands-header h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
}

.commands-header h4 i {
    font-size: 18px;
}

.commands-header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.commands-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.command-item {
    background: var(--light-color);
    padding: 12px;
    border-radius: var(--border-radius-md);
    text-align: center;
}

.command-item kbd {
    display: block;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 11px;
    margin-bottom: 5px;
    font-family: monospace;
}

.command-item span {
    font-size: 11px;
    color: var(--text-color);
}

.voice-feedback {
    position: fixed;
    bottom: 120px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--box-shadow-lg);
    z-index: 2001;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.3s ease;
}

.voice-feedback i {
    font-size: 18px;
}

.voice-feedback.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .youtube-categories {
        flex-wrap: wrap;
    }
    
    .youtube-categories button {
        flex: 1 1 calc(33.333% - 3px);
        font-size: 10px;
        padding: 6px 3px;
    }
    
    .search-tags {
        justify-content: center;
    }
    
    .search-tags span {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .voice-commands-list {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 100px;
    }
    
    .commands-grid {
        grid-template-columns: 1fr;
        max-height: 300px;
    }
}