/* ---------------------INPUTS---------------- */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

:root {
    /* modo claro */

    --principal: #840307;
    --second: #943030;
    --selected_red: #db322cff;
    --black: #000;
    --gris: rgb(132, 132, 132);
    --black_transparet: rgba(0, 0, 0, 0.5);
    --light-grey: #f0f0f0;
    --text-color: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

.container_compra {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.cont_form {
    width: 100%;
    max-width: 600px;
    background-color: rgb(255, 255, 255);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header h1,
.header h2 {
    background-color: var(--principal);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
}

.header h1,
.header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.contador_tickets {
    background-color: var(--selected_red);
    color: white;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.container_tick {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.selector_ticket {
    width: 90%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.selector_ticket:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.cont_counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.counter_btn {
    background-color: white;
    color: var(--selected_red);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
    text-align: center;
}

.counter_btn:hover {
    transform: scale(1.1);
}

.counter_value {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.monto {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
}

.cont_input {
    background-color: white;
    color: black;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cont_input h2 {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--principal);
    margin-bottom: 15px;
}

.content_form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content_form label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-orange);
}

.content_form input,
.content_form select {
    background: transparent;
    width: 100%;
    padding: 8px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--selected_red);
}

.content_form input:focus,
.content_form select:focus {
    outline: none;
    border-color: back;
}

.content_form .icons_pago img {
    height: 35px;
    margin-right: 5px;
}

.carga_comprobante {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--blue);
}

.submit_btn {
    background-color: var(--principal);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
    width: 100%;
}

.container_reg {
    width: 100%;
    display: flex;
    justify-content: center;
}

.submit_btn:hover {
    background-color: var(--selected_red);
}

.image_section {
    background-color: var(--orange);
    color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border: 1px solid var(--selected_red);
}

.image_section img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.form {
    padding: 20px;
}

.container_edit {
    display: flex;
    justify-content: center;
}

.circle_pago {
    border-radius: 50%;
    transition: 0.1s;
}

.selected {
    padding: 3px;
    border: 2px solid var(--principal);
}

@media (max-width: 480px) {
    .ticket-options {
        grid-template-columns: 1fr;
    }

    .cont_input {
        grid-template-columns: 1fr;
    }
}

.data_p {
    color: gray;
}

.input_search_tick {
    color: #000;
}

.cont_input_compra {
    border: 1px solid var(--principal);
}

.input_form {
    background: transparent;
    width: 100%;
    padding: 8px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--selected_red);
    outline: none;
}

.error-message {
    display: block;
    background: #ffe6e6;
    padding: 5px;
    margin-top: 5px;
    border-radius: 4px;
    font-weight: bold;
}
