/* DailyVent Journal Styles */
.dailyvent-journal-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f7f7;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Mood Filter */
.dvj-mood-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8e0e0;
}

.dvj-mood-btn {
    padding: 10px 18px;
    border: 2px solid #d1d5db; /* Neutral gray instead of pinkish */
    background: white;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600; /* Increased from 500 for better readability */
    transition: all 0.3s ease;
    color: #374151; /* Dark gray instead of brown - better contrast */
}

.dvj-mood-btn:hover {
    background: #f3f4f6; /* Lighter neutral gray */
    transform: translateY(-2px);
    border-color: #9ca3af; /* Slightly darker border on hover */
}

.dvj-mood-btn.active {
    background: #7c3aed; /* Brighter, more accessible purple */
    color: white;
    border-color: #7c3aed;
    font-weight: 700; /* Bolder for active state */
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* Prompt Section - FIXED FOR BETTER CONTRAST */
.dvj-prompt-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 5px solid #7c3aed; /* Updated to match active button purple */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dvj-prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dvj-prompt-label {
    font-size: 16px;
    font-weight: 700; /* Increased from 600 */
    color: #7c3aed; /* Purple instead of brown - matches theme */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dvj-new-prompt-btn {
    padding: 8px 16px;
    background: #f3f4f6; /* Neutral light gray instead of pinkish */
    border: 1px solid #d1d5db; /* Added border for definition */
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600; /* Added for better readability */
    color: #374151; /* Dark gray - better contrast */
    transition: all 0.3s;
}

.dvj-new-prompt-btn:hover {
    background: #e5e7eb; /* Slightly darker gray */
    border-color: #9ca3af;
    transform: translateY(-1px); /* Added subtle lift */
}

.dvj-prompt-display {
    font-size: 20px;
    line-height: 1.6; /* Increased from 1.5 for readability */
    color: #111827; /* Near black - better than #333 */
    min-height: 60px;
    padding: 20px; /* Increased padding */
    background: #f9fafb; /* Slightly lighter/cleaner gray */
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 500;
    border: 1px solid #f3f4f6; /* Subtle border for definition */
}

.dvj-prompt-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600; /* Added weight */
    color: #4b5563; /* Darker gray - was #777 (too light) */
}

.dvj-prompt-count,
.dvj-mood-indicator {
    font-weight: 700; /* Make numbers stand out more */
    color: #7c3aed; /* Purple to match theme */
}

/* Writing Area */
.dvj-writing-section {
    margin-bottom: 25px;
}

.dvj-text-area {
    width: 100%;
    padding: 20px;
    border: 2px solid #e0d6d6;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.6;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
    background: white;
    color: #333;
}

.dvj-text-area:focus {
    outline: none;
    border-color: #8a6d9e;
    box-shadow: 0 0 0 3px rgba(138, 109, 158, 0.1);
}

.dvj-writing-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}

.dvj-save-indicator {
    color: #4CAF50;
    font-weight: 500;
}

/* Action Buttons */
.dvj-action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.dvj-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.dvj-btn-primary {
    background: #8a6d9e;
    color: white;
}

.dvj-btn-primary:hover {
    background: #7a5d8e;
    transform: translateY(-2px);
}

.dvj-btn-secondary {
    background: #6d9e8a;
    color: white;
}

.dvj-btn-secondary:hover {
    background: #5d8e7a;
    transform: translateY(-2px);
}

.dvj-btn-clear {
    background: #e0d6d6;
    color: #5a4a4a;
}

.dvj-btn-clear:hover {
    background: #d0c6c6;
    transform: translateY(-2px);
}

/* Privacy Notice */
.dvj-privacy-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #e8f4e8;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    font-size: 14px;
}

.dvj-privacy-icon {
    font-size: 24px;
}

.dvj-privacy-text {
    color: #2d5015;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dailyvent-journal-container {
        padding: 15px;
    }
    
    .dvj-mood-filter {
        justify-content: center;
    }
    
    .dvj-mood-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .dvj-action-buttons {
        flex-direction: column;
    }
    
    .dvj-btn {
        min-width: 100%;
    }
    
    .dvj-prompt-display {
        font-size: 18px;
        padding: 12px;
    }
}