
/* ENQUIRE IMAGE SECTION */


.enquire-form__image{
    position: relative;
    height: 100%;
    opacity: 1;
    background: linear-gradient(180deg, #000, 30%, transparent);
    top: 0;
    left: 0;
}

.enquire-form__container{
    padding: 1rem;
}
.enquire-form__image > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-image__caption{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: start;
    align-items: center;
    padding-top: 6rem;
}

.modal-title{
    display: block;
    font-family: var(--main-font);
    font-size: 24px;
    font-weight: inherit;
    color: var(--main-color);
    padding-bottom: 2rem;
    margin: 0;
}

.form-image__caption > img{
    width: 18rem;
}
.form-image__caption > .form-image__heading{
    display: block;
    color: var(--background-color);
    font-size: calc(var(--font-sm)*2.5);
    font-weight: 400;
    width: 60%;
    margin: 0 auto;
    text-align: center;
}
.form-image__caption > .form-image__heading > span{
    font-weight: 500;
    border-bottom: 6px solid var(--main-color);
}
.form-image__caption > p{

    width: 60%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    font-size: var(--font-base);
}

.form-input{
    padding: .75rem 1rem;
    border-radius: 0;
    font-size: var(--font-base);
    background-color: #fff;
    width: 100%;
    border: 1px solid #ccc;
    color: #555;
    box-sizing: border-box;
    transition: border-color 0.2s;
    height: 4rem;

}
.form-input:hover{
    border-color: var(--main-color);
}
.form-input:focus{
    border-color: var(--main-color);
    outline: none;
}
.form-text{
    font-size: var(--font-sm);
}
.form-check:checked{
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.form-check:checked[type=checkbox] {
    --bs-form-check-bg-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e);
}
.form-check-input[type=checkbox] {
    border-radius: 50%;
}
.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
}

.select-option__title{
    background-color: #ccc;
    color: #555;
    font-weight: 400;
    font-size :var(--font-sm) ;
}

.form-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: end;
    padding: 1.5rem 1.5rem 0 1.5rem;
}
.country-select:focus {
    border-color: var(--main-color);
    outline: none;
}

/* Estilos para la lista de opciones personalizadas */
.country-select option {
    padding: 8px;
}

.country-select option:hover {
    background-color: #f5f5f5;
}

.select2-country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px;
}

.country-flag {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.country-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  /*   max-width: 150px; */
}
.destination-name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: .75rem 1rem;
    border-radius: 0;
    font-size: var(--font-base);
    background-color: #fff;
    width: 100%;
    border: 1px solid #ccc;
    color: #555;
    box-sizing: border-box;
    height: 4rem;
    font-weight: 600;
}
.country-content{
    /* height: 4rem; */
    overflow: hidden;
}

.phone-content{
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.phone-code {
    color: #666;
    font-size: 0.9em;
}
input,select{
    height: 4rem;
}



/* PHONE NUMBER INPUT SECTION */

.phone-code-input {
  display: flex;
  align-items: start;
  position: relative;
}


.phone-code-input input {
  flex: 1; /* El campo de entrada ocupa el resto del espacio */
}

.phone-code-input .selected-country {
  width: 100%; /* Ajusta el ancho del select del c��digo */
}

/* ANIMATION  */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.enquire-loading {
    display: none;
    margin-left: 10px;
    width: 2rem;
    height: 2rem;
    border: 3px solid #eee;
    border-top: 5px solid var(--first-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

button >  .btn-loading{
    display: flex;
    justify-content: center;
    font-weight: 500;
    font-size: var(--font-base);
}

.enquire-modal .form-modal-content .enquire-status {
    color: rgb(39, 219, 39);
}
.success-message {
    color: rgb(39, 219, 39);
}
.error-message {
    color: #ff0000;
}
/* styles.css */

.country-selected {
    position: relative;
    width: 100%;
}
.phone-selected {
    /* position: relative; */
    width: 40%;
}

.country-selected label {
    display: block;
    margin-bottom: .5rem;
}

.selected-country {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.2s;
}



.country-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.country-flag {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.country-phone-code {
    color: #666;
    font-size: 0.9em;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666;
    margin-left: 10px;
}

.country-list {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}

.country-list.active {
    display: block;
}

.country-item {
    padding: 9px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}
.phone-item {
    padding: 9px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.country-item:hover {
    background-color: #ffc39b;
}
.phone-item:hover {
    background-color: #ffc39b;
}

.search-box {
    padding: 9px 16px;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
    background: white;
}
.search-box input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.search-box input:focus {
    outline: none;
    border-color: var(--main-color);
}
option{
    background-color: white;

}
option:focus{
    background-color: var(--main-color);
}