/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #E0E0E0;
    background-color: #1a1a1a;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    color: #E0E0E0;
}

.small-text {
    font-size: 0.875rem;
    color: #999999;
}

/* Header */
.header {
    background-color: #2d2d2d;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: #6B4EF6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FFFFFF;
    animation: pulse 2s infinite;
}

.user-avatar {
    font-size: 2rem;
    color: #6B4EF6;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
}

/* Main Content */
.main {
    padding: 24px 0;
}

/* Card Component */
.card {
    background-color: #2d2d2d;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    padding: 20px;
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #404040;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 78, 246, 0.1), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
    border-color: #6B4EF6;
}

/* Welcome Section */
.welcome-section .card {
    text-align: center;
    background: linear-gradient(135deg, #6B4EF6 0%, #4a3f8a 100%);
    color: #FFFFFF;
    border: none;
}

.welcome-section h2 {
    color: #FFFFFF;
    margin-bottom: 16px;
}

.welcome-section p {
    color: #FFFFFF;
    opacity: 0.9;
    font-size: 1.1rem;
}

.current-date {
    margin-top: 16px;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.streak-display {
    margin-top: 16px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.streak-display i {
    color: #FFD700;
    animation: flame 1s infinite alternate;
}

/* Mood Section */
.mood-section .card {
    text-align: center;
}

.mood-options {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.mood-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 100px;
    background-color: #404040;
    position: relative;
}

.mood-option:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.4);
    background-color: #505050;
}

.mood-option.selected {
    border-color: #6B4EF6;
    background-color: #4a3f8a;
    transform: scale(1.1) rotate(2deg);
    animation: selectedPulse 1s ease-in-out;
}

.mood-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    animation: bounceIn 0.6s ease-out;
}

/* Mood-specific colors */
.mood-option[data-mood="very_happy"] .mood-icon {
    background-color: #FFC107;
}

.mood-option[data-mood="happy"] .mood-icon {
    background-color: #81C784;
}

.mood-option[data-mood="neutral"] .mood-icon {
    background-color: #90CAF9;
}

.mood-option[data-mood="sad"] .mood-icon {
    background-color: #FFAB91;
}

.mood-option[data-mood="very_sad"] .mood-icon {
    background-color: #EF9A9A;
}

.mood-option span {
    font-weight: 600;
    color: #FFFFFF;
}

/* Sleep Section */
.sleep-section .card {
    text-align: center;
}

.sleep-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.sleep-icon {
    font-size: 2rem;
    color: #6B4EF6;
    animation: float 3s ease-in-out infinite;
}

.sleep-select {
    padding: 12px 24px;
    border: 1px solid #404040;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #404040;
    color: #FFFFFF;
    cursor: pointer;
    min-width: 200px;
    transition: all 0.3s ease;
}

.sleep-select:focus {
    outline: none;
    border-color: #6B4EF6;
    background-color: #505050;
    transform: scale(1.02);
}

.sleep-select option {
    background-color: #404040;
    color: #FFFFFF;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: #6B4EF6;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #5a3fd8;
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(107, 78, 246, 0.4);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background-color: transparent;
    color: #6B4EF6;
    border: 1px solid #6B4EF6;
    padding: 10px 20px;
}

.btn-secondary:hover {
    background-color: #6B4EF6;
    color: #FFFFFF;
}

/* Statistics Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.stat-card {
    background-color: #404040;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #505050;
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-card h4 {
    margin-bottom: 16px;
    color: #FFFFFF;
    font-size: 1.1rem;
}

/* Enhanced Chart Styles */
.mood-chart, .sleep-chart {
    height: 200px;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    overflow-x: auto;
    min-width: 100%;
}

.chart-bar {
    background-color: #6B4EF6;
    border-radius: 4px 4px 0 0;
    min-width: 20px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.chart-bar:hover {
    transform: scale(1.1);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.4);
}

.bar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px;
    min-width: 40px;
}

.mood-icon-small {
    font-size: 1.2rem;
}

.sleep-hours {
    font-size: 0.8rem;
    font-weight: 600;
    color: #FFFFFF;
}

.chart-bar-label {
    font-size: 0.75rem;
    color: #E0E0E0;
    white-space: nowrap;
    text-align: center;
    word-break: break-word;
    max-width: 50px;
}

/* Sleep chart specific colors */
.sleep-chart .chart-bar[data-hours="9+"] {
    background-color: #90CAF9;
}

.sleep-chart .chart-bar[data-hours="7-8"] {
    background-color: #81C784;
}

.sleep-chart .chart-bar[data-hours="5-6"] {
    background-color: #FFD700;
}

.sleep-chart .chart-bar[data-hours="3-4"] {
    background-color: #FFAB91;
}

.sleep-chart .chart-bar[data-hours="0-2"] {
    background-color: #EF9A9A;
}

/* Enhanced Statistics */
.averages {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding: 16px;
    background: rgba(107, 78, 246, 0.1);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 16px;
}

.average-item {
    text-align: center;
    min-width: 120px;
    flex: 1;
}

.average-label {
    display: block;
    font-size: 0.8rem;
    color: #999999;
    margin-bottom: 4px;
}

.average-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #6B4EF6;
}

.insights {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    border-left: 4px solid #FFC107;
}

.insights h4 {
    color: #FFC107;
    margin-bottom: 12px;
}

.insights ul {
    list-style: none;
    padding: 0;
}

.insights li {
    padding: 4px 0;
    color: #E0E0E0;
    animation: slideInLeft 0.5s ease-out;
}

.mood-trend {
    margin-top: 20px;
    text-align: center;
}

.trend-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    animation: pulse 2s infinite;
    flex-wrap: wrap;
    justify-content: center;
}

.trend-indicator.positive {
    background: rgba(129, 199, 132, 0.2);
    color: #81C784;
}

.trend-indicator.negative {
    background: rgba(239, 154, 154, 0.2);
    color: #EF9A9A;
}

.trend-indicator.neutral {
    background: rgba(144, 202, 249, 0.2);
    color: #90CAF9;
}

/* Quote Section */
.quote-section .card {
    text-align: center;
    background: linear-gradient(135deg, #4a3f8a 0%, #2d2d2d 100%);
    border: 1px solid #6B4EF6;
}

.quote-content {
    position: relative;
    padding: 20px;
}

.quote-icon {
    font-size: 2rem;
    color: #6B4EF6;
    margin-bottom: 16px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #FFFFFF;
    margin: 16px 0;
    line-height: 1.6;
    transition: opacity 0.5s ease;
}

cite {
    color: #E0E0E0;
    font-size: 0.9rem;
}

/* Modal Styles */
.day-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.day-modal.show {
    opacity: 1;
}

.modal-content {
    background: #2d2d2d;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #6B4EF6;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.day-modal.show .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    margin-bottom: 16px;
    color: #6B4EF6;
}

.day-details p {
    margin: 8px 0;
    padding: 8px;
    background: #404040;
    border-radius: 6px;
}

.modal-content button {
    margin-top: 16px;
    padding: 8px 16px;
    background: #6B4EF6;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-content button:hover {
    background: #5a3fd8;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #FFFFFF;
    text-align: center;
    padding: 24px 0;
    margin-top: 48px;
    border-top: 1px solid #404040;
}

.footer p {
    color: #E0E0E0;
    opacity: 0.8;
}

/* Enhanced Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes selectedPulse {
    0%, 100% {
        transform: scale(1.1) rotate(2deg);
    }
    50% {
        transform: scale(1.15) rotate(2deg);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes flame {
    0% {
        transform: scale(1) rotate(-5deg);
    }
    100% {
        transform: scale(1.1) rotate(5deg);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply animations to cards */
.card {
    animation: fadeIn 0.6s ease-out;
}

.mood-option {
    animation: fadeInUp 0.6s ease-out;
}

.mood-option:nth-child(1) { animation-delay: 0.1s; }
.mood-option:nth-child(2) { animation-delay: 0.2s; }
.mood-option:nth-child(3) { animation-delay: 0.3s; }
.mood-option:nth-child(4) { animation-delay: 0.4s; }
.mood-option:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .mood-options {
        gap: 12px;
    }
    
    .mood-option {
        min-width: 80px;
        padding: 12px;
    }
    
    .mood-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
    
    /* Mobile Statistics Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-card {
        min-height: 250px;
        padding: 16px;
    }
    
    /* Mobile Chart Adjustments */
    .mood-chart, .sleep-chart {
        height: 180px;
        gap: 8px;
        padding: 16px 0;
        justify-content: flex-start;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .chart-bar {
        min-width: 30px;
        max-width: 40px;
    }
    
    .bar-content {
        min-width: 30px;
        padding: 2px;
    }
    
    .chart-bar-label {
        font-size: 0.65rem;
        max-width: 35px;
        line-height: 1.2;
    }
    
    .mood-icon-small {
        font-size: 1rem;
    }
    
    .sleep-hours {
        font-size: 0.7rem;
    }
    
    .sleep-select {
        min-width: 150px;
    }
    
    /* Mobile Averages */
    .averages {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    
    .average-item {
        min-width: auto;
        padding: 8px;
        background: rgba(107, 78, 246, 0.05);
        border-radius: 6px;
    }
    
    .average-label {
        font-size: 0.75rem;
    }
    
    .average-value {
        font-size: 1.1rem;
    }
    
    /* Mobile Insights */
    .insights {
        padding: 12px;
        margin-top: 16px;
    }
    
    .insights h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .insights li {
        font-size: 0.9rem;
        padding: 6px 0;
        line-height: 1.4;
    }
    
    /* Mobile Trend Indicator */
    .trend-indicator {
        padding: 6px 12px;
        font-size: 0.9rem;
        gap: 6px;
    }
    
    .trend-indicator i {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .mood-options {
        flex-direction: column;
        align-items: center;
    }
    
    .mood-option {
        flex-direction: row;
        min-width: 200px;
        justify-content: center;
    }
    
    .card {
        padding: 16px;
    }
    
    /* Extra Small Mobile Adjustments */
    .stats-grid {
        gap: 12px;
    }
    
    .stat-card {
        min-height: 220px;
        padding: 12px;
    }
    
    .mood-chart, .sleep-chart {
        height: 160px;
        gap: 6px;
    }
    
    .chart-bar {
        min-width: 25px;
        max-width: 35px;
    }
    
    .bar-content {
        min-width: 25px;
    }
    
    .chart-bar-label {
        font-size: 0.6rem;
        max-width: 30px;
    }
    
    .mood-icon-small {
        font-size: 0.9rem;
    }
    
    .sleep-hours {
        font-size: 0.65rem;
    }
    
    .averages {
        padding: 10px;
        gap: 8px;
    }
    
    .average-item {
        padding: 6px;
    }
    
    .average-label {
        font-size: 0.7rem;
    }
    
    .average-value {
        font-size: 1rem;
    }
    
    .insights {
        padding: 10px;
    }
    
    .insights h4 {
        font-size: 0.9rem;
    }
    
    .insights li {
        font-size: 0.8rem;
        padding: 4px 0;
    }
    
    .trend-indicator {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
}

/* Landscape Mobile Adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        min-height: 200px;
    }
    
    .mood-chart, .sleep-chart {
        height: 140px;
    }
    
    .averages {
        flex-direction: row;
        gap: 8px;
    }
    
    .average-item {
        min-width: 100px;
    }
}

/* Success/Error Messages */
.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.message.success {
    background-color: #81C784;
    color: #FFFFFF;
}

.message.error {
    background-color: #EF9A9A;
    color: #FFFFFF;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #6B4EF6;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notes Section */
.notes-section .card {
    text-align: center;
}

.notes-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.notes-icon {
    font-size: 2rem;
    color: #6B4EF6;
    animation: float 3s ease-in-out infinite;
}

.notes-textarea {
    width: 100%;
    max-width: 600px;
    min-height: 120px;
    padding: 16px;
    border: 1px solid #404040;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #404040;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: all 0.3s ease;
}

.notes-textarea:focus {
    outline: none;
    border-color: #6B4EF6;
    background-color: #505050;
    transform: scale(1.01);
}

.notes-textarea::placeholder {
    color: #999999;
}

.notes-counter {
    font-size: 0.8rem;
    color: #999999;
    align-self: flex-end;
    margin-right: 20px;
}

.notes-counter span {
    color: #6B4EF6;
    font-weight: 600;
}

/* Mood Change Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.mood-change-modal {
    background: #2d2d2d;
    border-radius: 12px;
    border: 1px solid #6B4EF6;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.show .mood-change-modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #404040;
}

.modal-header h3 {
    color: #6B4EF6;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #999999;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 24px;
}

.modal-body p {
    margin-bottom: 20px;
    color: #E0E0E0;
    text-align: center;
}

.mood-change-options {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.mood-change-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-color: #404040;
    min-width: 80px;
}

.mood-change-option:hover {
    transform: scale(1.05);
    background-color: #505050;
}

.mood-change-option.selected {
    border-color: #6B4EF6;
    background-color: #4a3f8a;
    transform: scale(1.05);
}

.mood-change-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Mood change specific colors */
.mood-change-option[data-mood="very_happy"] .mood-change-icon {
    background-color: #FFC107;
}

.mood-change-option[data-mood="happy"] .mood-change-icon {
    background-color: #81C784;
}

.mood-change-option[data-mood="neutral"] .mood-change-icon {
    background-color: #90CAF9;
}

.mood-change-option[data-mood="sad"] .mood-change-icon {
    background-color: #FFAB91;
}

.mood-change-option[data-mood="very_sad"] .mood-change-icon {
    background-color: #EF9A9A;
}

.mood-change-option span {
    font-weight: 600;
    color: #FFFFFF;
    font-size: 0.9rem;
}

.mood-change-notes {
    margin-top: 20px;
}

.mood-change-notes label {
    display: block;
    margin-bottom: 8px;
    color: #E0E0E0;
    font-size: 0.9rem;
}

.mood-change-notes textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #404040;
    border-radius: 6px;
    font-size: 0.9rem;
    background-color: #404040;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.mood-change-notes textarea:focus {
    outline: none;
    border-color: #6B4EF6;
    background-color: #505050;
}

.mood-change-notes textarea::placeholder {
    color: #999999;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #404040;
}

/* Add Change Mood Button to Stats Section */
.change-mood-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(107, 78, 246, 0.1);
    border: 1px solid #6B4EF6;
    color: #6B4EF6;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-mood-btn:hover {
    background: #6B4EF6;
    color: #FFFFFF;
}

/* Responsive Design for Notes and Modal */
@media (max-width: 768px) {
    .notes-textarea {
        min-height: 100px;
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .notes-counter {
        margin-right: 10px;
        font-size: 0.75rem;
    }
    
    .mood-change-modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 16px 20px;
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    .mood-change-options {
        gap: 8px;
    }
    
    .mood-change-option {
        min-width: 70px;
        padding: 8px;
    }
    
    .mood-change-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .mood-change-option span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .notes-textarea {
        min-height: 80px;
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .mood-change-modal {
        width: 98%;
    }
    
    .modal-header {
        padding: 12px 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-footer {
        padding: 12px 16px;
    }
    
    .mood-change-options {
        gap: 6px;
    }
    
    .mood-change-option {
        min-width: 60px;
        padding: 6px;
    }
    
    .mood-change-icon {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .mood-change-option span {
        font-size: 0.7rem;
    }
}
