/* Additional styles for dated notes and bookmarks */
.dated-notes-section {
    margin-top: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.note-entry {
    background: #f8f9ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.note-date {
    font-size: 0.9em;
    color: #666;
    font-weight: bold;
}

.note-delete {
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.note-delete:hover {
    background: #ffebee;
}

.note-content {
    color: #333;
    line-height: 1.5;
}

.add-note-form {
    background: #f8f9ff;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.note-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.note-textarea {
    flex-grow: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    min-height: 60px;
    resize: vertical;
}

.note-textarea:focus {
    border-color: #667eea;
    outline: none;
}

.note-date-input {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.note-date-input:focus {
    border-color: #667eea;
    outline: none;
}

.add-note-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.add-note-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Bookmarked Days Styles */
.bookmarked-days-section {
    margin-top: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bookmark-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #ffd700;
}

.bookmark-date {
    font-weight: bold;
    color: #333;
}

.bookmark-description {
    color: #666;
    flex-grow: 1;
    margin: 0 15px;
}

.bookmark-delete {
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.bookmark-delete:hover {
    background: #ffebee;
}

.add-bookmark-form {
    background: #f8f9ff;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.bookmark-input {
    flex-grow: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.bookmark-input:focus {
    border-color: #667eea;
    outline: none;
}

.add-bookmark-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffa000 100%);
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.add-bookmark-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Toggle section visibility */
.section-toggle {
    background: #f8f9ff;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.section-toggle:hover {
    background: #eef0ff;
}

.section-toggle::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s ease;
}

.section-toggle.collapsed::after {
    transform: rotate(-90deg);
}

.section-content {
    transition: max-height 0.3s ease;
    overflow: hidden;
}

.section-content.collapsed {
    max-height: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .note-input-group {
        flex-direction: column;
    }
    
    .add-bookmark-form {
        flex-direction: column;
    }
    
    .bookmark-entry {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .bookmark-description {
        margin: 10px 0;
    }
}
