/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --primaryColor: #ced7b4;
    --secondaryColor: #CFCFCF;
    --textColor: #0072CE;
    --greenColor: #34C759;
    --backgroundColor: #011C36;
    --backgroundColorTransparent: rgba(0, 11, 28, 0.9);
    --blueColor: #c6e0e4;
    --backgroundBluecolor: rgba(198, 224, 228, 0.4);
    --yellowColor: #eac830;
    --purpleColor: #282136;
    font-family: "acumin-variable", sans-serif;
    font-variation-settings: "slnt" 0, "wdth" 100, "wght" 200;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

.form__list{
    margin-bottom: 1em;
}


.form__text {
    
    font-size: 1em;
    font-weight: 100;
    color: black;
}

.form__subtitle {
    
    font-size: 1em;
    color: var(--textColor);
}

.form__surname {
    
    font-size: 0.8em;
    color: black;
}

.form__price{
    font-variation-settings: "slnt" 0, "wdth" 100, "wght" 200;
    font-size: 0.8em;
    color: black;
}

strong{
    
    font-variation-settings: "slnt" 0, "wdth" 100, "wght" 600;
}

.form__title {
    
    font-size: 1.5em;
    font-weight: 100;
    color: black;
}

.form__title-bowens {
    
    color: black;
}

.form__title--color {
    font-size: 0.8rem;
    color: black;
    text-transform: uppercase;
    font-variation-settings: "slnt" 0, "wdth" 100, "wght" 600;
}

.form__title-thin--color {
    
    font-weight: lighter;
    color: black;
}

.form__title-thanks-bowens {
    
    color: black;
    font-weight: 100;
}

.form__title-thanks {
    
    color: black;
    font-weight: 100;
}

.form__title--danger {
    align-self: center;
    
    color: rgb(173, 0, 0);
}

.form__title-bowens--color {
    
    font-size: 1.8em;
    color: white;
}

.form-section__image-note {
    
    font-size: 0.8em;
    color: #b8b8b8;
    text-align: center;
}

.form__subtitle{
    margin-bottom: 0.5rem;
}

.mode-title {
    font-variation-settings: "slnt" 0, "wdth" 100, "wght" 800;
}

.section-title
{
    margin-top: 2em;
    margin-bottom: 1em;
    width: 100%;
    display: flex;
    justify-content: center;
}

.section-title > h2, 
.section-title > h4{
    font-variation-settings: "slnt" 0, "wdth" 100, "wght" 700;
}

.form__list{
    margin-left: 1rem;
}

.form__list-item {
    
    font-size: 0.8em;
    font-weight: 100;
    color: black;
    margin: 0.5rem 0;
}

form {
    width: 100%;
}

input[type="text"],
input[type="email"]{
    padding: 1em;
    width: 100%;
}

textarea{
    resize: none;border: none;
    padding: 0.8rem 0.5rem;
    font-size: 0.9em;
    font-family: sans-serif;
}

input::placeholder,
textarea::placeholder {
    color: gray;
    font-size: 0.9em;
    opacity: 0.8;
}

.input-placeholder {
    color: gray;
    font-size: 0.9em;
    opacity: 0.8;
}

input[type="text"]:read-only,
input[type="email"]:read-only,
textarea:read-only {
    background-color: lightgray;
}

input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--secondaryColor);
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: background-color 0.1s ease, border-color 0.1s ease;
    margin-right: 1em;
}

input[type="checkbox"]:checked {
    background-color: var(--greenColor);
    border-color: var(--greenColor);
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    box-sizing: border-box;
}

input:disabled,
textarea:disabled,
select:disabled{
    background-color: #CFCFCF !important;
    pointer-events: none;
}

footer{
    margin-top: 3em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer.large{
    margin-bottom: 48px;
}

.title-with-note{
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
}

.title-with-note > .danger {
    color:rgb(173, 0, 0);
}

.phone-input-container {
    background-color: white !important;
    border: 0;
    border-radius: 0.3rem;
    display: flex;
    width: 100%;
    align-items: center;
    overflow: hidden;
    border: solid 1px var(--secondaryColor);
}

.phone-prefix {
    width: 45%;
    height:100%;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    color: var(--textColor);
    outline: none;
    appearance: none;
}

.phone-input {
    border: none;
    padding: 0.8rem 0.3rem;
    font-size: 0.9rem;
    font-family: inherit;
    width: 55%;
    outline: none;
}

@media screen and (min-width: 1280px)
{
    .phone-prefix {
        width: 37%;
    }

    .phone-input {
        width: 63%;
    }
}

.img-flag{
    margin-right: 0px !important;
}

.select2-container{
    height: 100% !important;
    width: 100% !important;
}

.select2-container .img-flag {
    vertical-align: middle;
}

.select2-container--custom-theme .select2-selection {
    background-color: white; 
     
    color: black; 
    border: 0px solid #ccc;
    border-right: 1px solid #ccc;
    border-radius: 4px;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    display: flex !important;
    align-items: center; 
    height: 100% !important;
    width: 100% !important;
    box-sizing: border-box; 
}

.select2-container--custom-theme .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    padding-left: 10px !important;
    padding-right: 0% !important;
    line-height: normal !important;
    text-align: left !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.9rem !important;
}

.select2-container--custom-theme .select2-selection__arrow {
    width: 20%;
    height: 100%; 
    color: black;
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 0.5rem;
}

.select2-container--custom-theme .select2-selection__arrow b {
    border-color: black transparent transparent transparent; /* Color de la flecha */
    border-style: solid;
    border-width: 5px 4px 0 4px; /* Tamaño de la flecha */
    display: inline-block;
    height: 0;
    width: 0;
}

.select2-container--custom-theme .select2-dropdown {
    background-color: white; 
    border: 1px solid #ccc; 
    
    max-height: 200px;
    overflow-y: auto;
}

.select2-container--custom-theme .select2-results__option {
    padding: 10px; 
    color: black; 
    text-align: left;
    font-size: 0.8rem !important;
}

.select2-container--custom-theme .select2-results__option--highlighted {
    background-color: #f0f0f0; 
    color: black; 
}


.select2-container--custom-theme.select2-container--disabled .select2-selection {
    background-color: #cfcfcf; 
    border: 1px solid #d0d0d0; 
    cursor: auto;
}

.phone-input::-webkit-inner-spin-button,
.phone-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden;
}

.model-container{
    width: 100%;
    margin-bottom: 1rem;
}

.model-image-container{
    display: flex;
    justify-content: center;
}

.model-image-container > img{
    width: 100%;
    height: auto;
    object-fit: contain;
}

.model-footer
{
    margin-top: 1em;
}

.model-footer > small{
    font-size: 0.8em;
    font-variation-settings: "slnt" 0, "wdth" 100, "wght" 500;
}

.text-bold {
    
}

.bussiness-area-checkbox{
    display: flex;
    align-items: center;
}

#bussiness-area-search,
#business-area-other-input,
#participation-reason-other-input{
    padding: 0.5rem 0.5rem;
}

button, .form__button, .form__button-back {
    transition: filter 300ms ease;
}

button:hover, .form__button:hover, .form__button-back:hover {
    filter: brightness(0.8);
}

/* GENERAL */

.general-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    /* min-height: 100vh; */
    /* background-color: var(--backgroundColor); */
    background: url("/assets/front/img/sportcities/background.svg");
    background-attachment: fixed;
    background-position: bottom right;
    background-size: cover;
    background-repeat: no-repeat;
}

.form__button-container {
    display: flex;
    justify-content: center;
    gap: 2em;
}

.form__button {
    background-color: var(--yellowColor);
    color: rgb(19, 19, 19);
    padding: 0.75rem 2.5rem;
    border: 0;
    border-radius: 0.3rem;
    
    cursor: pointer;
    max-width: 40vw; /*?*/
    font-weight: 600;
}

.form__button-back {
    background-color: white;
    padding: 0.75rem 2.5rem;
    border: 0;
    border-radius: 0.3rem;
    
    cursor: pointer;
    max-width: 40vw; /*?*/
}

.form__input {
    border: 0px;
    border-radius: 0.3rem;
    padding: 0.8rem 0.3rem;
    width: 100%;
    border: solid 1px var(--secondaryColor);
}

.horizontal-checkboxes {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8em;
}

.checkbox-div {
    display: flex;
    align-items: center;
}

.form__checkbox-field {
    border: none;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 0 1em 0 1em;
}

.form-section__checkbox-field,
.form-section__checkbox-field-single {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.form-section__checkbox-field-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1em;
}

.form__select {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1em;
    cursor: pointer;
    width: 100%;
    border-radius: 0.3rem;
    border: solid 1px var(--secondaryColor);
    padding: 0.8rem 0.3rem;
}

.s2b-form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spacer-standard {
    margin: 0.5em 0;
}

.spacer {
    margin: 2em 0;
}

.spacer-bottom {
    margin-bottom: 1em;
}

.spacer-top {
    margin-top: 2em;
}

/* LANDING */

.form-landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    text-align: center;
    width: 100%;
    min-height: 100vh;
    gap: 2em;
}

.form-landing__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-top: 6vh;
    width: 100%;
    background-color: var(--backgroundBluecolor);
    backdrop-filter: blur(15px);
    gap: 1.5em;
}

.form-landing__content--top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.form-landing__logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
    margin-top: 2em;
}

.form-landing__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    gap: 1.5em;
    margin-bottom: 2em;
}

.form-landing__logos--top {
    object-fit: cover;
    width: 100%;
    border-radius: 20px;
}

.form-landing__logos--bottom {
    object-fit: cover;
    width: 30%;
    margin-bottom: 2em;
}

.navigation-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* SECTION */

.form-section__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2em 5em;
    /* border-top-right-radius: 12px;
    border-top-left-radius: 12px; */
    border-radius: 12px;
    background-color: var(--backgroundBluecolor);
    backdrop-filter: blur(15px);
    gap: 2em;
    margin-top: 2em;
}

.form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    z-index: 2;
    padding-top: 1rem;
    width: 100%;
    min-height: 100vh;
}

.form-section__content {
    width: 100%;
    min-height: 75vh;
    max-width: 1000px;
}

.form-section-pair {
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 100%;
}

.form-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .form-section__grid {
        grid-template-columns: 1fr;
    }
}


.form-section__header-logo {
    margin: 0 auto;
    margin-top: 2rem;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
}

.form-section__header-logo > img {
    width: 100%;
    height: auto;
    max-width: 400px;
    object-fit: contain;
}

.form-section__field-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 0.6em;
    width: 100%;
}

.form-section__radio-input {
    display: flex;
    flex-direction: row;
    gap: 1rem;

    margin: 1rem 0 0 1rem;
}

.form-section__field-checkbox-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    justify-content: flex-start;
    text-align: left;
    gap: 1em;
}

.form-section__checkbox-field > input{
    flex: 0 0 10%;
    width: 20px;
    height: 20px;
}

.form-section__checkbox-field > label{
    flex: 0 0 90%;
}

.form-section__field-select {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
}

.social-network-input-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5em;
}

.social-network-checkbox-div {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 20%; /* Ajusta el ancho según sea necesario */
}

.social-network-icon {
    font-size: 1.5rem;
    color: #ffffff;
}

.form__input-social {
    flex: 1;
    max-width: 80%;
}

.terms__link:visited,
.terms__link:link {
    color: var(--textColor);
    text-align: center;
}

@media screen and (min-width: 768px) {

    .general-container {
        /* background-color: var(--backgroundColor); */
        background: url("/assets/front/img/sportcities/background.svg");
        background-attachment: fixed;
        /* background-position: bottom right; */
        background-size: cover;
        background-repeat: no-repeat;
    }

    .form-section {
        width: 75%;
    }

    .form-landing {
        justify-content: flex-start;
    }

    .form-landing__logos {
        flex-direction: column;
        justify-content: center;
        height: fit-content;
    }
    .form-landing__logos--top {
        width: 70%;
        padding-bottom: 2em;
    }
}

@media screen and (min-width: 900px) {

    .form-section {
        width: 75%;
    }

    .form-landing__logos--top {
        width: 40%;
        padding-bottom: 2em;
    }
    .form-landing__logos--bottom {
        width: 15%;
        padding-left: 2em;
        padding-bottom: 2em;
        align-self: flex-start;
        justify-self: end;
        margin-bottom: 0;
    }

    .form-section-pair {
        flex-direction: row;
    }

    .form-section-pair-child {
        flex: 1;
    }

    .form-section__checkbox-field {
        flex: 1;
        max-width: calc(33.33% - 1rem);
    }

    .form-section__checkbox-field.two {
        flex: 1;
        max-width: calc(50% - 1rem);
    }

    #ticket_participation_mode{
        width: 50%;
    }

    #participation-reason-other-input{
        width: 30%;
    }

}

@media screen and (min-width: 1280px) {
    .form-section {
        width: 60%;
    }
    .form-landing {
        justify-content: center;
    }
    .form-landing__content {
        margin-top: 0;
    }
    .form-landing__dates {
        margin: -4em 0 1em 0;
    }
}