#ac-main_custom_tickets *{
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    border: none;
    box-sizing: border-box !important;
}
#ac-cpf_valid, #ac-cpf_load, .ac-ticket_checkin, .ac-ticket_checkin_load{
    width: 100%;
    border-radius: 10px;
    outline: none !important;
    text-decoration: none !important;
    background-color: var(--ac_color_main) !important;
    border-color: var(--ac_color_main) !important;
    color: var(--ac_color_text) !important;
}
.ac-color_main{
    color: var(--ac_color_main) !important;
}
.ac-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
#ac-main_custom_tickets [class*="col-"], .ac-grid [class*="col-"]{
  box-sizing: border-box;
  padding: 15px 10px !important;
  min-height: 1px;
  position: relative;
  width: 100%;
}

#ac-main_custom_tickets .col-1 { flex: 0 0 8.33333%; max-width: 8.33333%; }
#ac-main_custom_tickets .col-2 { flex: 0 0 16.66667%; max-width: 16.66667%; }
#ac-main_custom_tickets .col-3 { flex: 0 0 25%; max-width: 25%; }
#ac-main_custom_tickets .col-4 { flex: 0 0 33.33333%; max-width: 33.33333%; }
#ac-main_custom_tickets .col-5 { flex: 0 0 41.66667%; max-width: 41.66667%; }
#ac-main_custom_tickets .col-6 { flex: 0 0 50%; max-width: 50%; }
#ac-main_custom_tickets .col-7 { flex: 0 0 58.33333%; max-width: 58.33333%; }
#ac-main_custom_tickets .col-8 { flex: 0 0 66.66667%; max-width: 66.66667%; }
#ac-main_custom_tickets .col-9 { flex: 0 0 75%; max-width: 75%; }
#ac-main_custom_tickets .col-10 { flex: 0 0 83.33333%; max-width: 83.33333%; }
#ac-main_custom_tickets .col-11 { flex: 0 0 91.66667%; max-width: 91.66667%; }
#ac-main_custom_tickets .col-12 { flex: 0 0 100%; max-width: 100%; }
#ac-main_custom_tickets .ac-row { margin: 0 -10px; }

@media screen and (max-width: 900px) {
    #ac-main_custom_tickets .ac-grid { gap: 10px; }
    #ac-main_custom_tickets .col-md-1 { flex: 0 0 calc(100% / 12 * 1) !important; max-width: calc(100% / 12 * 1) !important; }
    #ac-main_custom_tickets .col-md-2 { flex: 0 0 calc(100% / 12 * 2) !important; max-width: calc(100% / 12 * 2) !important; }
    #ac-main_custom_tickets .col-md-3 { flex: 0 0 calc(100% / 12 * 3) !important; max-width: calc(100% / 12 * 3) !important; }
    #ac-main_custom_tickets .col-md-4 { flex: 0 0 calc(100% / 12 * 4) !important; max-width: calc(100% / 12 * 4) !important; }
    #ac-main_custom_tickets .col-md-5 { flex: 0 0 calc(100% / 12 * 5) !important; max-width: calc(100% / 12 * 5) !important; }
    #ac-main_custom_tickets .col-md-6 { flex: 0 0 calc(100% / 12 * 6) !important; max-width: calc(100% / 12 * 6) !important; }
    #ac-main_custom_tickets .col-md-7 { flex: 0 0 calc(100% / 12 * 7) !important; max-width: calc(100% / 12 * 7) !important; }
    #ac-main_custom_tickets .col-md-8 { flex: 0 0 calc(100% / 12 * 8) !important; max-width: calc(100% / 12 * 8) !important; }
    #ac-main_custom_tickets .col-md-9 { flex: 0 0 calc(100% / 12 * 9) !important; max-width: calc(100% / 12 * 9) !important; }
    #ac-main_custom_tickets .col-md-10 { flex: 0 0 calc(100% / 12 * 10) !important; max-width: calc(100% / 12 * 10) !important; }
    #ac-main_custom_tickets .col-md-11 { flex: 0 0 calc(100% / 12 * 11) !important; max-width: calc(100% / 12 * 11) !important; }
    #ac-main_custom_tickets .col-md-12 { flex: 0 0 100% !important; max-width: 100% !important; }
}

@media screen and (max-width: 576px) {
    #ac-main_custom_tickets .col-sm-1 { flex: 0 0 calc((100% / 12 * 1) - 5px) !important; max-width: calc((100% / 12 * 1) - 5px) !important; }
    #ac-main_custom_tickets .col-sm-2 { flex: 0 0 calc((100% / 12 * 2) - 5px) !important; max-width: calc((100% / 12 * 2) - 5px) !important; }
    #ac-main_custom_tickets .col-sm-3 { flex: 0 0 calc((100% / 12 * 3) - 5px) !important; max-width: calc((100% / 12 * 3) - 5px) !important; }
    #ac-main_custom_tickets .col-sm-4 { flex: 0 0 calc((100% / 12 * 4) - 5px) !important; max-width: calc((100% / 12 * 4) - 5px) !important; }
    #ac-main_custom_tickets .col-sm-5 { flex: 0 0 calc((100% / 12 * 5) - 5px) !important; max-width: calc((100% / 12 * 5) - 5px) !important; }
    #ac-main_custom_tickets .col-sm-6 { flex: 0 0 calc((100% / 12 * 6) - 5px) !important; max-width: calc((100% / 12 * 6) - 5px) !important; }
    #ac-main_custom_tickets .col-sm-7 { flex: 0 0 calc((100% / 12 * 7) - 5px) !important; max-width: calc((100% / 12 * 7) - 5px) !important; }
    #ac-main_custom_tickets .col-sm-8 { flex: 0 0 calc((100% / 12 * 8) - 5px) !important; max-width: calc((100% / 12 * 8) - 5px) !important; }
    #ac-main_custom_tickets .col-sm-9 { flex: 0 0 calc((100% / 12 * 9) - 5px) !important; max-width: calc((100% / 12 * 9) - 5px) !important; }
    #ac-main_custom_tickets .col-sm-10 { flex: 0 0 calc((100% / 12 * 10) - 5px) !important; max-width: calc((100% / 12 * 10) - 5px) !important; }
    #ac-main_custom_tickets .col-sm-11 { flex: 0 0 calc((100% / 12 * 11) - 5px) !important; max-width: calc((100% / 12 * 11) - 5px) !important; }
    #ac-main_custom_tickets .col-sm-12 { flex: 0 0 100% !important; max-width: 100% !important; }
}
.ac-card_ticket{
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid black !important;
    display: flex;
    flex: 1 1;
    flex-wrap: wrap;
    min-width: 300px;
}
/*.ac-card_ticket.ac-active{*/
/*.ac-card_ticket{
    display: flex;
}*/
.ac-main_btn, .ac-main_btn:hover, .ac-main_btn:focus{
    width: 100%;
    padding: 10px 20px !important;
    border-radius: 5px;
    font-weight: 600;
    background-color: var(--ac_color_main) !important;
    color: var(--ac_color_text) !important;
}
.ac-gray_btn, .ac-gray_btn:hover, .ac-gray_btn:focus{
    width: 100%;
    padding: 10px 20px !important;
    border-radius: 5px;
    font-weight: 600;
    background-color: #bababa !important;
    color: white;
}
.ac-select_qtd_tickets{
    padding: 10px !important;
    border-radius: 5px;
    border: 1px solid gray !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px !important;
}
.ac-qtd_tickets{
    position: absolute;
    top: -9px;
    background-color: white;
    margin-left: 10px !important;
    padding: 3px 8px !important;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
}
.ac-label{
    position: absolute;
    top: 5px;
    background-color: white;
    margin-left: 10px !important;
    padding: 3px 8px !important;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
}
.ac-input{
    border: 1px solid #b2b2b2 !important;
    padding: 10px 15px !important;
    border-radius: 5px;
    background-color: white;
}
.ac-card_ticket h4{
    text-align: center;
}
.ac-step, .ac-qtd_s{
    display: none;
}
.ac-step.ac-active{
    display: block;
}
.ac-qtd_s.ac-active{
    display: contents;
}
#ac-all_tickets{
    margin-bottom: 30px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    gap: 20px;
    max-height: 60vh;
    overflow-y: scroll;
}
.ac-error_msg{
    display: none;
    text-align: center;
    color: red;
    font-weight: 500;
    margin-bottom: 10px !important;
    background: #f443363d;
    border-radius: 5px;
}
.ac-error_msg.ac-active{
    display: block;
}
.ac-field_error{
    border-color: red !important;
}
.ac-card_float{
    transition: all 0.5s linear;
}
.ac-card_float.ac-active{
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 11;
    padding: 20px;
}
.ac-card_float.ac-active-one{
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
span.ac-edit_tickets{
    text-align: center;
    width: 100%;
    padding-top: 10px !important;
    display: block;
    text-transform: uppercase;
    cursor: pointer;
}
#ac-see_people{
    cursor: pointer;
}
#ac-see_people_data{
    display: none;
}
.ac-login_{
    background-color: var(--ac_color_main) !important;
    color: var(--ac_color_text) !important;
}

/* Novas classes para o campo inicial */
.ac-quantity-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.ac-quantity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ac-quantity-label {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.ac-quantity-input-container {
    display: flex;
    align-items: center;
}

#ac-qtd_tickets {
    width: 60px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
}

.ac-product-type {
    font-weight: 600;
    text-transform: uppercase;
}

.ac-quantity-info {
    text-align: center;
    margin: 15px 0;
}

.ac-quantity-button {
    width: 100%;
}

.ac-reserve-btn {
    width: 100%;
    background-color: #b8860b !important;
    color: white !important;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 20px !important;
    border-radius: 3px;
    cursor: pointer;
}

.ac-event-alert {
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #e67e22;
    background-color: #fff8e1;
    text-align: center;
    color: #e67e22;
    font-weight: bold;
}

.ac-sales-closed-message {
    color: red;
    font-weight: bold;
    margin: 20px 0;
    padding: 15px;
    border: 1px solid red;
    background-color: #ffeeee;
    text-align: center;
}