/* Contenedor principal */
#comprar-ticket-slide {
    width: 100%;
    font-family: 'Roboto';
}

/* Contenedor interno */
.comprar-ticket-container {
    width: 100%;
    display: flex;
    justify-content: center;
    font-family: 'Roboto';
}

/* Lista de elementos */
.comprar-ticket-list {
    width: 100%;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* Elementos individuales */
.comprar-ticket-item {
    flex: 1 1 auto;
    max-width: 200px;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: center;
}

/* Etiquetas */
.comprar-ticket-item label {
    font-size: 16px;
    color: #ffffff;
    font-weight: normal;
    display: block;
    margin-bottom: 5px;
}

/* Inputs y selects */
.comprar-ticket-input,
.comprar-ticket-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #6c6c6c;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Botón */
.comprar-ticket-button {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-self: flex-end;
}

.comprar-ticket-submit {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #ff9900;
    border: 2px solid #ff9900;
    border-radius: 8px;
    cursor: pointer;
}

.comprar-ticket-submit:hover {
    background-color: #ff7700;
}

.comprar-ticket-submit:disabled {
    background-color: grey;
    border: none;
    cursor: not-allowed;
}

/* Responsividad para móviles */
/* Responsividad para móviles */
@media (max-width: 768px) {
    .comprar-ticket-list {
        flex-direction: column; /* Acomoda los elementos en una columna */
        align-items: center; /* Centra horizontalmente los elementos */
        gap: 15px; /* Espacio entre elementos */
    }

    .comprar-ticket-item {
        flex: 1 1 auto;
        max-width: 80%; /* Ajusta el ancho de los elementos */
        text-align: center; /* Centra el texto de los labels */
    }

    .comprar-ticket-item label {
        text-align: center; /* Asegura que los labels estén centrados */
        margin-bottom: 5px; /* Espacio entre label y el input */
    }

    .comprar-ticket-input,
    .comprar-ticket-select {
        width: 100%; /* Asegura que los inputs y selects tengan el mismo ancho */
        max-width: 100%; /* Evita que sobrepasen su contenedor */
    }

    .comprar-ticket-button {
        display: flex;
        justify-content: center;
        margin-top: 10px; /* Espacio extra en la parte superior */
        align-self: center;
    }

    .comprar-ticket-submit {
        width: 100%; /* El botón ocupa el ancho completo del contenedor */
    }
}
