@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;800&display=swap');

        :root {
            /* עיצוב נקי וחם לפי הדרישות */
            --bg-color: #fbf9f6; /* רקע ראשי - שמנת/בז' בהיר מאוד */
            --container-bg: #ffffff; /* כרטיסים לבנים */
            --primary-text: #4a3b32; /* חום כהה */
            --secondary-text: #8b7355; /* חום בהיר/בז' */
            --accent-color: #d4b895; /* זהב עדין / חום בהיר להדגשות */
            --border-color: #efece5; /* גבולות עדינים */
            
            --assignment-bg: #fdf5f3; /* ורדרד/בז' לעבודות */
            --assignment-border: #f8e1db;
            
            --late-color: #e57373; /* אדום לאיחורים */
            --success-color: #81c784; /* ירוק להשלמות */
        }

        body {
            font-family: 'Heebo', sans-serif;
            background-color: var(--bg-color);
            color: var(--primary-text);
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .glass-panel {
            background-color: var(--container-bg);
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 15px rgba(74, 59, 50, 0.03);
            border-radius: 1.25rem;
        }

        .btn-primary {
            background-color: var(--primary-text);
            color: white;
            transition: all 0.2s ease;
        }
        .btn-primary:hover {
            background-color: var(--secondary-text);
            transform: translateY(-1px);
        }
        .btn-accent {
            background-color: var(--accent-color);
            color: white;
            transition: all 0.2s ease;
        }
        
        .nav-item {
            color: var(--secondary-text);
            transition: all 0.2s ease;
            position: relative;
        }
        .nav-item:hover {
            color: var(--primary-text);
        }
        .nav-item.active {
            color: var(--primary-text);
            font-weight: 600;
        }
        .nav-item.active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            right: 0;
            height: 3px;
            background-color: var(--accent-color);
            border-radius: 2px;
        }

        /* משימה שהושלמה */
        .task-completed {
            opacity: 0.6;
            transform: scale(0.97);
        }
        .task-completed .task-title {
            text-decoration: line-through;
            color: var(--secondary-text);
        }

        /* סגנון כפתורי צ'קבוקס (עיגול) */
        .check-circle {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 2px solid var(--secondary-text);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            flex-shrink: 0;
        }
        .check-circle:hover {
            border-color: var(--primary-text);
        }
        .check-circle.checked {
            background-color: var(--secondary-text);
            border-color: var(--secondary-text);
            color: white;
        }

        /* מודאל דינמי */
        .modal {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background-color: rgba(74, 59, 50, 0.4);
            backdrop-filter: blur(2px);
            z-index: 50;
            justify-content: center;
            align-items: center;
            padding: 1rem;
        }
        .modal.active {
            display: flex;
        }

        /* פומודורו */
        .timer-circle {
            width: 250px;
            height: 250px;
            border-radius: 50%;
            background: white;
            box-shadow: inset 0 0 20px rgba(0,0,0,0.02), 0 10px 30px rgba(74, 59, 50, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            border: 4px solid var(--border-color);
            transition: border-color 0.3s ease;
        }
        .timer-circle.running {
            border-color: var(--accent-color);
        }
        

        /* מבחנים */
        .exam-card {
            background: #fff;
            border-width: 2px;
            border-style: solid;
            border-radius: 1rem;
            position: relative;
            overflow: hidden;
            transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
        }
        .exam-card:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 22px rgba(74, 59, 50, 0.08);
        }
        .exam-card.exam-past {
            opacity: 0.52;
            filter: saturate(0.65);
        }
        .exam-midterm {
            border-style: dashed;
        }
        .exam-final {
            border-width: 3px;
        }
        .exam-icon-badge {
            width: 2.2rem;
            height: 2.2rem;
            border-radius: 0.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .exam-calendar-pill {
            border-width: 2px;
            border-style: solid;
            border-radius: 0.65rem;
            background: #fff;
            font-weight: 700;
            line-height: 1.15;
        }
        .exam-calendar-pill.exam-midterm {
            border-style: dashed;
        }
        .exam-calendar-pill.exam-final {
            border-width: 2.5px;
        }
        .exam-nearest-panel {
            border: 2px solid var(--border-color);
            border-radius: 1.25rem;
            background: #fff;
            overflow: hidden;
        }

        .course-day-group {
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            background: rgba(255,255,255,0.75);
            overflow: hidden;
        }
        .course-day-group-header {
            padding: 0.6rem 0.75rem;
            border-bottom: 1px solid var(--border-color);
            background: var(--bg-color);
        }
        .course-day-group-body {
            padding: 0.5rem;
        }

        .hide-scroll::-webkit-scrollbar { display: none; }
        .hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }
