/* Mood Tracker Enhanced Styles */

:root {
    --primary-color: #6366F1;
    --secondary-color: #818CF8;
    --accent-color: #A5B4FC;
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --background-light: #F9FAFB;
    --background-dark: #111827;
    --card-background: #1F2937;
    --gradient-primary: linear-gradient(135deg, #6366F1, #818CF8);
    --gradient-accent: linear-gradient(135deg, #818CF8, #A5B4FC);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

body {
    background: var(--background-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    padding-top: 80px;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

.mood-tracker-section {
    padding: 2rem 0;
    animation: fadeIn 0.8s ease-out;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    animation: expandLine 1s ease-out forwards;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 100px; }
}

.section-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.8s ease-out;
}

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

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mood Selection */
.mood-selection {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(31, 41, 55, 0.8);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.mood-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(31, 41, 55, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.mood-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.mood-btn:hover::before {
    transform: translateX(100%);
}

.mood-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
    background: rgba(31, 41, 55, 0.9);
}

.mood-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.3);
}

.mood-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.mood-btn:hover .mood-icon {
    transform: scale(1.1);
}

.mood-btn.active .mood-icon {
    color: white;
    animation: pulse 2s infinite;
}

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

.mood-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
}

.mood-btn.active .mood-label {
    color: white;
}

/* Activity Tracking */
.activity-tracking {
    background: rgba(31, 41, 55, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out 0.8s backwards;
}

.activity-tracking h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.activity-input {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.activity-input input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 1rem;
    background: rgba(31, 41, 55, 0.8);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.activity-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.add-activity-btn {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-activity-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

.add-activity-btn i {
    font-size: 1.2rem;
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--background-color);
    border-radius: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.activity-item .activity-text {
    font-size: 1rem;
    color: var(--text-color);
}

.activity-item .delete-activity {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.activity-item .delete-activity:hover {
    background: var(--danger-color);
    color: white;
    transform: scale(1.1);
}

/* Photo Upload */
.photo-upload {
    background: rgba(31, 41, 55, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.photo-upload h3 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.upload-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1em;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

#photo-preview {
    margin-top: 30px;
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

#photo-preview img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

/* Voice Recording */
.voice-recording {
    background: rgba(31, 41, 55, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out 1.2s backwards;
}

.voice-recording h3 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.voice-recording audio {
    width: 100%;
    margin-top: 1rem;
    border-radius: 8px;
    background: rgba(31, 41, 55, 0.8);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.voice-recording audio::-webkit-media-controls-panel {
    background: rgba(31, 41, 55, 0.8);
}

.record-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1em;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.record-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.recording-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    color: var(--accent-color);
    font-weight: 500;
}

.recording-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* Mood History */
.mood-history {
    background: rgba(31, 41, 55, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out 1.4s backwards;
}

.mood-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.mood-history-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.mood-filter {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    background: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mood-filter:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.mood-entries {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mood-entry {
    background: rgba(31, 41, 55, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mood-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
    background: rgba(31, 41, 55, 0.9);
}

.mood-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.mood-value {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.mood-timestamp {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

.mood-entry-activities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.activity-tag {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.activity-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.mood-entry-photo {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.mood-entry-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.mood-entry-photo:hover img {
    transform: scale(1.05);
}

.mood-entry-voice-note {
    margin-top: 1rem;
}

.mood-entry-voice-note audio {
    width: 100%;
    border-radius: 12px;
}

/* Save Section */
.save-section {
    background: rgba(31, 41, 55, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out 1.6s backwards;
}

.save-mood-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    font-weight: 500;
}

.save-mood-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

.save-mood-btn i {
    font-size: 1.2rem;
}

/* Mood Intensity Styles */
.mood-intensity {
    background: rgba(31, 41, 55, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mood-intensity h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.intensity-slider {
    margin: 1.5rem 0;
    position: relative;
}

.intensity-slider input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.intensity-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.intensity-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.intensity-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0 0.5rem;
}

.intensity-labels span {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    background: var(--background-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.intensity-labels span:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.intensity-value {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: all 0.3s ease;
}

/* Mood Tags Styles */
.mood-tags {
    background: rgba(31, 41, 55, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mood-tags h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.tag-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(31, 41, 55, 0.8);
    color: var(--text-color);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.tag-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tag-btn:hover::before {
    transform: translateX(100%);
}

.tag-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
    background: rgba(31, 41, 55, 0.9);
}

.tag-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

.tag-btn.active::before {
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.tag-emoji {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tag-btn:hover .tag-emoji {
    transform: scale(1.2) rotate(5deg);
}

.tag-btn.active .tag-emoji {
    transform: scale(1.2);
}

/* Mood Insights Section */
.mood-insights {
    background: rgba(31, 41, 55, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mood-insights h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.insights-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.insight-card {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.insight-card:hover::before {
    transform: translateX(100%);
}

.insight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px var(--shadow-color);
    border-color: var(--primary-color);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.insight-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(74, 144, 226, 0.1);
    padding: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insight-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.insight-content {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.insight-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

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

.stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mood-tracker-section {
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .mood-selection {
        gap: 1rem;
    }

    .mood-btn {
        min-width: 100px;
        padding: 1rem;
    }

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

    .mood-label {
        font-size: 1rem;
    }

    .activity-input {
        flex-direction: column;
    }

    .add-activity-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mood-tracker-section {
        padding: 1rem;
    }

    .section-header h1 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .mood-selection {
        flex-direction: column;
        align-items: center;
    }

    .mood-btn {
        width: 100%;
        max-width: 300px;
    }

    .mood-history-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .mood-filter {
        width: 100%;
    }

    .save-mood-btn {
        width: 100%;
        justify-content: center;
    }

    .insights-container {
        grid-template-columns: 1fr;
    }

    .insight-card {
        padding: 1.2rem;
    }
    
    .insight-header {
        gap: 0.8rem;
    }
    
    .insight-icon {
        font-size: 1.3rem;
        padding: 0.6rem;
    }
    
    .insight-title {
        font-size: 1rem;
    }
    
    .insight-content {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .mood-tracker-section {
        padding: 0.8rem;
    }

    .section-header h1 {
        font-size: 1.8rem;
    }

    .mood-btn {
        padding: 0.8rem;
    }

    .mood-icon {
        font-size: 1.8rem;
    }

    .mood-label {
        font-size: 0.9rem;
    }

    .activity-item {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .mood-entry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --card-bg: #1F2937;
        --background-color: #111827;
        --text-color: #ffffff;
        --border-color: rgba(255, 255, 255, 0.1);
        --shadow-color: rgba(0, 0, 0, 0.3);
    }

    .mood-btn,
    .activity-input input,
    .mood-entry,
    .mood-filter,
    .insight-card,
    .voice-recording,
    .mood-selection,
    .activity-tracking,
    .mood-intensity,
    .mood-tags,
    .mood-history,
    .mood-insights {
        background: rgba(31, 41, 55, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }
    
    .insight-icon {
        background: rgba(99, 102, 241, 0.2);
    }
    
    .insight-stats {
        border-top-color: rgba(255, 255, 255, 0.1);
    }
    
    .voice-recording audio,
    .voice-recording audio::-webkit-media-controls-panel {
        background: rgba(31, 41, 55, 0.8);
    }
} 