/* Reminders and Todos Styles */
.reminders-section {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.reminders-container {
    max-height: 400px;
    overflow-y: auto;
}

.reminder-item {
    transition: all 0.2s ease;
    cursor: pointer;
}

.reminder-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.reminder-item.border-success {
    border-color: #28a745 !important;
    opacity: 0.8;
}

.todo-items {
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.todo-item-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.todo-item-input .form-control {
    flex: 1;
}

/* Reminder urgency indicators */
.reminder-item[data-urgency="overdue"] {
    border-left: 4px solid #dc3545;
}

.reminder-item[data-urgency="today"] {
    border-left: 4px solid #ffc107;
}

.reminder-item[data-urgency="upcoming"] {
    border-left: 4px solid #17a2b8;
}

/* Card reminder indicators */
.exhibitor-card .reminder-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

/* Adjust reminder position for VIP cards to avoid overlap */
.exhibitor-card:has(.vip-indicator) .reminder-indicator {
    top: 40px;
}

.reminder-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: white;
}

.reminder-badge.overdue {
    background-color: #dc3545;
    animation: reminder-breathe-red 2s infinite;
}

.reminder-badge.today {
    background-color: #ffc107;
    animation: reminder-breathe-yellow 2.5s infinite;
}

.reminder-badge.upcoming {
    background-color: #17a2b8;
}

/* Breathing animation for overdue (red) badges */
@keyframes reminder-breathe-red {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.6);
    }
}

/* Breathing animation for today (yellow) badges */
@keyframes reminder-breathe-yellow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 4px 12px rgba(255, 193, 7, 0.6);
    }
}

/* Modal styles */
#reminderModal .modal-body,
#todoModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* Progress bar for todos */
.progress {
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #28a745;
    transition: width 0.3s ease;
}