
.aioshop-calendario-wrapper {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    background: #fafafa;
}

.aioshop-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.aioshop-topbar-left h3 {
    margin: 0 0 5px 0;
}

.aioshop-sede-selector-inline select {
    min-width: 160px;
}

.aioshop-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aioshop-datepicker label {
    margin-right: 4px;
}

.aioshop-datepicker input {
    padding: 4px 8px;
    min-width: 130px;
}

/* Tira semanal */
.aioshop-week-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    margin: 10px 0 15px 0;
}

.aioshop-week-day {
    flex: 1;
    text-align: center;
    padding: 6px 4px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 12px;
}

.aioshop-week-day.hoy {
    border-color: #0073aa;
}

.aioshop-week-day.activo {
    background: #0073aa;
    color: #fff;
}

/* Reservas del usuario como tarjetas */
.aioshop-reservas-usuario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.aioshop-reserva-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    padding: 8px 10px;
}

.aioshop-reserva-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.aioshop-reserva-pista {
    font-weight: 600;
}

.aioshop-reserva-estado {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 12px;
    border: 1px solid #ccc;
}

/* Estados con colores */
.estado-confirmada,
.estado-pagada {
    background: #d1e7dd;
    border-color: #badbcc;
}

.estado-pendiente,
.estado-pendiente_pago {
    background: #fff3cd;
    border-color: #ffecb5;
}

.estado-cancelada {
    background: #f8d7da;
    border-color: #f5c2c7;
}

.estado-bloqueada_admin {
    background: #e2e3e5;
    border-color: #d3d6d8;
}

.aioshop-reserva-fecha {
    font-size: 13px;
    margin-bottom: 4px;
}

.aioshop-reserva-acciones {
    text-align: right;
}

.aioshop-btn-cancelar {
    background: #d9534f;
    border-color: #d43f3a;
    color: #fff !important;
}

/* Grid de pistas como tarjetas */
.aioshop-pistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.aioshop-pista-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.aioshop-pista-card-header {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
}

.aioshop-pista-nombre {
    font-weight: 600;
}

.aioshop-pista-tipo {
    font-size: 12px;
    color: #555;
}

.aioshop-pista-card-body {
    padding: 8px 10px 10px 10px;
}

/* Slots como botones */
.aioshop-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.aioshop-slot {
    display: inline-block;
    padding: 4px 6px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    min-width: 46px;
    text-align: center;
}

.aioshop-slot.libre {
    background: #e3f7e3;
    border: 1px solid #8bc34a;
    color: #000;
}

.aioshop-slot.ocupado {
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #7f1d1d;
}

.aioshop-slot.bloqueado {
    background: #e2e3e5;
    border: 1px solid #d3d6d8;
    color: #555;
}

.aioshop-msg-ok {
    background: #d1e7dd;
    border: 1px solid #badbcc;
    padding: 8px;
    margin-bottom: 10px;
}

/* Iconos SVG/emoji via clases */
.aioshop-ico-pista::before {
    content: '\1F3DF'; /* estadio / pista */
    margin-right: 4px;
}
.aioshop-ico-fecha::before {
    content: '\1F4C5'; /* calendario */
    margin-right: 3px;
}
.aioshop-ico-hora::before {
    content: '\23F0'; /* reloj despertador */
    margin-right: 3px;
}
.aioshop-ico-euro::before {
    content: '\20AC'; /* símbolo euro */
    margin-right: 3px;
}

/* Ajustes pequeños para texto y alineación */
.aioshop-reserva-pista,
.aioshop-pista-nombre {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Imagen destacada en la tarjeta de pista */
.aioshop-pista-imagen {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    display: block;
}

/* Slot de hora en pasado (día anterior u hora pasada de hoy) */
.aioshop-slot.pasado {
    background: #f0f0f0;
    border: 1px solid #d0d0d0;
    color: #999;
    cursor: default;
}

/* Banner de sede con relación 16:9 y overlay de título */
.aioshop-sede-banner-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 12px 0 20px 0;
}

.aioshop-sede-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aioshop-sede-banner-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: #fff;
    box-sizing: border-box;
}

.aioshop-sede-banner-title {
    font-size: 18px;
    font-weight: 600;
}

.aioshop-sede-banner-desc {
    font-size: 13px;
    margin-top: 2px;
}
