/* CSS pour les notes de rappels terminés */

.note-item.reminder-completed {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f9f0 100%);
    border-left: 4px solid #28a745 !important;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.1);
    position: relative;
    overflow: hidden;
}

.note-item.reminder-completed::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-top: 20px solid #28a745;
    opacity: 0.2;
}

.reminder-completed-header {
    background: rgba(40, 167, 69, 0.1);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.reminder-completed-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(40, 167, 69, 0.3);
}

.reminder-completed-icon {
    color: #28a745;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(40, 167, 69, 0.2);
}

.reminder-completed-title {
    color: #155724;
    font-weight: 600;
    margin: 0;
}

.note-item.reminder-completed .note-content {
    position: relative;
    z-index: 1;
}

.note-item.reminder-completed .note-content p {
    color: #155724;
    line-height: 1.5;
    white-space: pre-line;
}

.note-item.reminder-completed .text-muted {
    color: #6c757d !important;
}

/* Animation pour les nouvelles notes de rappels */
@keyframes slideInSuccess {
    from {
        opacity: 0;
        transform: translateX(-20px);
        background-color: rgba(40, 167, 69, 0.2);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        background-color: transparent;
    }
}

.note-item.reminder-completed.newly-added {
    animation: slideInSuccess 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reminder-completed-header {
        padding: 6px 10px;
        margin-bottom: 10px;
    }
    
    .reminder-completed-badge {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}
