/* Estilos personalizados de Reservas Platform */

:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --secondary: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
}

/* Utilidades */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Animaciones */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in {
    animation: slideIn 0.3s ease-out;
}

/* Calendario personalizado */
.calendar-day {
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

.calendar-day:hover {
    background-color: #eff6ff;
}

.calendar-day.selected {
    background-color: #2563eb;
    color: #fff;
}

.calendar-day.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.calendar-day.disabled:hover {
    background-color: transparent;
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(59, 130, 246, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    animation: slideIn 0.3s ease-out;
}

/* Drag and drop */
.drag-over {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

/* Print styles */
@media print {
    nav, footer, .no-print {
        display: none !important;
    }
}

/* ===== Public Pages Design System ===== */

/* Section accent line */
.section-accent {
    height: 2px;
    background: linear-gradient(90deg, #2dd4bf, #0d9488, #059669);
    border: none;
    margin: 0;
}

/* Gradient top border for featured cards */
.card-accent-top {
    position: relative;
    overflow: hidden;
}
.card-accent-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2dd4bf, #0d9488, #059669);
}

/* Counter animation helper */
.tabular-nums {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}
