        :root {
            --mood-great: #4CAF50;
            --mood-good: #8BC34A;
            --mood-neutral: #FFC107;
            --mood-bad: #FF9800;
            --mood-awful: #F44336;
            --bg-light: #ffffff;
            --bg-dark: #212529;
            --text-light: #212529;
            --text-dark: #f8f9fa;
            --border-light: #dee2e6;
            --border-dark: #495057;
        }

        body {
            font-family: 'Inter', sans-serif;
            transition: background-color 0.3s, color 0.3s;
            background-color: var(--bg-light);
            color: var(--text-light);
            padding-bottom: 2rem;
        }

        body.dark-mode {
            background-color: var(--bg-dark);
            color: var(--text-dark);
        }
        
        .mood-container {
            max-width: 600px;
        }

        .mood-selector {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }

        .mood-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 60px;
        }

        .mood-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            margin-bottom: 8px;
        }

        .mood-btn:hover, .mood-btn.selected {
            transform: scale(1.1);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        .mood-label {
            font-size: 0.75rem;
            text-align: center;
            color: #6c757d;
            white-space: nowrap;
        }

        .dark-mode .mood-label {
            color: #adb5bd;
        }

        .mood-great { background-color: var(--mood-great); }
        .mood-good { background-color: var(--mood-good); }
        .mood-neutral { background-color: var(--mood-neutral); }
        .mood-bad { background-color: var(--mood-bad); }
        .mood-awful { background-color: var(--mood-awful); }

        .calendar {
            max-width: 100%;
            overflow: hidden;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
        }

        .calendar-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            border-radius: 4px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.2s;
            background-color: #f8f9fa;
            border: 1px solid var(--border-light);
        }

        .dark-mode .calendar-day {
            background-color: #343a40;
            border-color: var(--border-dark);
        }

        .calendar-day:hover {
            transform: scale(1.05);
        }

        .calendar-day.today {
            border: 2px solid #0d6efd;
            font-weight: bold;
        }

        .calendar-day.outside-month {
            opacity: 0.3;
        }

        .calendar-day.has-mood::after {
            content: '';
            position: absolute;
            bottom: 3px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background-color: currentColor;
        }

        .day-label {
            font-size: 0.7rem;
            text-align: center;
            color: #6c757d;
            padding: 4px 0;
        }

        .dark-mode .day-label {
            color: #adb5bd;
        }

        .timeline {
            display: flex;
            overflow-x: auto;
            padding: 10px 0;
            scrollbar-width: thin;
        }

        .timeline::-webkit-scrollbar {
            height: 6px;
        }

        .timeline::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .timeline::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 10px;
        }

        .timeline-day {
            min-width: 30px;
            height: 30px;
            margin-right: 4px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            cursor: pointer;
            transition: transform 0.2s;
            background-color: #f8f9fa;
            border: 1px solid var(--border-light);
            position: relative;
        }

        .dark-mode .timeline-day {
            background-color: #343a40;
            border-color: var(--border-dark);
        }

        .timeline-day:hover {
            transform: scale(1.1);
        }

        .timeline-day.today {
            border: 2px solid #0d6efd;
            font-weight: bold;
        }

        .stats-container {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
        }

        .dark-mode .stats-container {
            background-color: #343a40;
        }

        .stats-item {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }

        .stats-color {
            width: 15px;
            height: 15px;
            border-radius: 50%;
            margin-right: 10px;
        }

        .stats-bar {
            height: 6px;
            border-radius: 3px;
            background-color: #e9ecef;
            flex-grow: 1;
            overflow: hidden;
            position: relative;
        }

        .dark-mode .stats-bar {
            background-color: #495057;
        }

        .stats-fill {
            height: 100%;
            border-radius: 3px;
        }

        .stats-percent {
            font-size: 0.8rem;
            margin-left: 10px;
            min-width: 35px;
            text-align: right;
        }

        .streak-badge {
            background-color: #6c757d;
            color: white;
            border-radius: 20px;
            padding: 2px 10px;
            font-size: 0.8rem;
            margin-left: 10px;
        }

        .toast-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1050;
        }

        .tooltip {
            position: absolute;
            background-color: rgba(0,0,0,0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            z-index: 1000;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .btn-action {
            border-radius: 20px;
            padding: 0.375rem 1.5rem;
            font-size: 0.875rem;
        }

        .form-switch .form-check-input {
            width: 2.5em;
            height: 1.25em;
        }

        .tab-content {
            padding-top: 1rem;
        }

        .nav-tabs .nav-link {
            border: none;
            color: #6c757d;
            padding: 0.5rem 1rem;
            border-bottom: 2px solid transparent;
        }

        .nav-tabs .nav-link.active {
            color: #0d6efd;
            background: none;
            border-bottom: 2px solid #0d6efd;
        }

        .dark-mode .nav-tabs .nav-link {
            color: #adb5bd;
        }

        .dark-mode .nav-tabs .nav-link.active {
            color: #6ea8fe;
            border-bottom: 2px solid #6ea8fe;
        }

        @media (max-width: 576px) {
            .mood-option {
                width: 50px;
            }
            
            .mood-btn {
                width: 40px;
                height: 40px;
                font-size: 1.5rem;
            }
            
            .mood-label {
                font-size: 0.7rem;
            }
            
            .calendar-day {
                font-size: 0.7rem;
            }
        }
        .footer {
            border-top: 1px solid var(--border-light);
            margin-top: 2rem;
        }

        .dark-mode .footer {
            border-top: 1px solid var(--border-dark);
        }

        .footer-name {
            font-weight: 500;
            color: var(--text-light);
            transition: color 0.2s;
        }

        .dark-mode .footer-name {
            color: var(--text-dark);
        }

        .footer-name:hover {
            color: #0d6efd;
        }

        .footer-year {
            font-size: 0.9rem;
            color: #6c757d;
            margin-left: 0.5rem;
        }

        .dark-mode .footer-year {
            color: #adb5bd;
        }

        .footer-social {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            color: #6c757d;
            transition: color 0.2s;
        }

        .dark-mode .social-link {
            color: #adb5bd;
        }

        .social-link:hover {
            color: #0d6efd;
        }