/* Seat Map Manager - Frontend Styles */

.smm-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.smm-mapa {
    width: 100%;
    overflow: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    padding: 10px;
    box-sizing: border-box;
}

.smm-mapa svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Estados de asientos */
.smm-disponible {
    transition: fill 0.15s ease;
}

.smm-disponible:hover {
    fill: #50c8b4 !important;
    filter: brightness(1.1);
}

.smm-seleccionado {
    fill: #910034 !important;
}

.smm-ocupado {
    fill: #999999 !important;
    cursor: not-allowed !important;
}

/* Controles */
.smm-controles {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: 8px;
}

.smm-info {
    display: flex;
    gap: 24px;
    font-size: 15px;
}

.smm-info strong {
    font-size: 17px;
}

/* Leyenda */
.smm-leyenda {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #555;
}

.smm-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    vertical-align: middle;
    margin-right: 4px;
}

.smm-dot.disponible   { background: #74e2cd; }
.smm-dot.seleccionado { background: #910034; }
.smm-dot.ocupado      { background: #999999; }

/* Botón comprar */
.smm-btn-comprar {
    background: #910034;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.smm-btn-comprar:hover {
    background: #6d0026;
}

/* Error */
.smm-error {
    color: #c00;
    padding: 10px;
    border: 1px solid #f5c6cb;
    background: #fff5f5;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 600px) {
    .smm-controles {
        flex-direction: column;
        align-items: flex-start;
    }

    .smm-info {
        flex-direction: column;
        gap: 6px;
    }
}

/* Timer */
.smm-timer {
    background: #fff3cd;
    color: #856404;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #ffc107;
}

/* Alerta */
.smm-alerta {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 10px;
    font-size: 14px;
}
