﻿ /* ==========================================
   Sitios.helpers.cards.horarios
   ========================================== */
/* Contenedor principal */
.sitioHelp-horarios {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

/* ==========================================
   NOMBRE DEL SITIO - HORARIOS
   ========================================== */

.sitioHelp-horarios__name {
    width: 100%;
    margin: 0 0 14px 0;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: 0.2px;
    color: #6b7280;
    user-select: none;
}
/* Lista tipo Tarjeta Modernizada */
.sitioHelp-horarios__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    box-sizing: border-box;
}

/* Fila por día */
.sitioHelp-horarios__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

    .sitioHelp-horarios__row:last-child {
        border-bottom: none;
    }

/* Día */
.sitioHelp-horarios__day {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #0f172a;
    letter-spacing: -0.01em;
}

/* Horario abierto */
.sitioHelp-horarios__time {
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #047857;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

    /* Día cerrado (estilo estilo badge sutil) */
    .sitioHelp-horarios__time.closed {
        color: #64748b;
        font-weight: 500;
        font-size: 13px;
        background: #f1f5f9;
        padding: 2px 10px;
        border-radius: 12px;
        display: inline-block;
    }

/* Sin horarios */
.sitioHelp-horarios__empty {
    width: 100%;
    margin: 0;
    padding: 32px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    box-sizing: border-box;
}

/* ==========================================
   AVISO DE HORARIOS
   ========================================== */
.sitioHelp-horarios__notice {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-sizing: border-box;
}

.sitioHelp-horarios__notice-icon {
    flex-shrink: 0;
    font-size: 15px;
    color: #64748b;
}

.sitioHelp-horarios__notice-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #475569;
}
.btn-compartir-horarios {
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

    .btn-compartir-horarios:hover {
        background: #065f46;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .btn-compartir-horarios:active {
        transform: scale(0.97);
    }

/* ==========================================
   INTERACCIÓN Y RESPONSIVE
   ========================================== */
@media (hover: hover) {
    .sitioHelp-horarios__row:hover {
        background: #f8fafc;
    }
}

@media (max-width: 599px) {
    .sitioHelp-horarios__row {
        min-height: 48px;
        padding: 12px 16px;
    }

    .sitioHelp-horarios__day {
        font-size: 13.5px;
    }

    .sitioHelp-horarios__time {
        font-size: 13.5px;
    }
}
