/* Custom styles beyond TailwindCSS */

/* Calendar day cells */
.cal-day {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: default;
    transition: all 0.15s ease;
    font-size: 0.875rem;
}

.cal-day.available {
    cursor: pointer;
    color: #2563eb;
    font-weight: 600;
    background-color: #eff6ff;
}

.cal-day.available:hover {
    background-color: #2563eb;
    color: #ffffff;
}

.cal-day.selected {
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
}

.cal-day.disabled {
    color: #d1d5db;
}

.cal-day.other-month {
    color: #e5e7eb;
}

/* Time slot buttons */
.slot-btn {
    padding: 0.625rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.slot-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background-color: #eff6ff;
}

.slot-btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Smooth transitions for flash messages */
.flash-message {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}
