/* Form Container Styles */
.form-container {
    background: #FFFFFF;
    padding: 50px 0;
    margin-top: 15px;
    border-radius: 22px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-title {
    font-size: 28px;
    color: #6239A7;
    margin-bottom: 15px;
    font-weight: normal;
}

.form-divider {
    height: 1px;
    background: #999;
    width: 80%;
    margin: 0 auto;
}

.visa-form {
    margin: 0 auto;
    width: 80%;
    display: flex;
}

.form-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 380px;
}

/* Input Styles */
.input-wrapper {
    position: relative;
    margin-top: 15px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 18px;
    color: #EB1587;
    z-index: 2;
    font-size: 18px;
    transition: all 0.3s ease;
}


.form-input {
    width: 100%;
    height: 50px;
    padding: 0 15px 0 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: transparent;
    z-index: 1;
    transition: all 0.3s ease;
    outline: none;
}

 

.form-input:hover {
    border: 1px solid transparent;
    background: 
        linear-gradient(white, white) padding-box,
        linear-gradient(-80deg, #502C82, #CD2374) border-box;
    border-radius: 4px;
    box-shadow: 
        0 0 6.5px rgba(205, 35, 116, 0.28),
        0 0 15px rgba(205, 35, 116, 0.15);
  
}
/* Floating label styles */
.input-wrapper label {
    position: absolute;
    left: 40px;
    top: 11px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
    z-index: 3;
    background: transparent;
}

/* Textarea specific styles */
.form-textarea {
    width: 100%;
    min-height: 40px;
    padding: 18px 15px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
    font-size: 16px;
    background: transparent;
    z-index: 1;
    line-height: 1.4;
}
.form-textarea:hover {
  /* border: 2px solid transparent;
  background: 
    linear-gradient(white, white) padding-box,
    linear-gradient(-80deg, #502C82, #CD2374) border-box;
  border-radius: 4px;*/
   border: 1px solid transparent;
    background: 
        linear-gradient(white, white) padding-box,
        linear-gradient(-80deg, #502C82, #CD2374) border-box;
    border-radius: 4px;
    box-shadow: 
        0 0 6.5px rgba(205, 35, 116, 0.28),
        0 0 15px rgba(205, 35, 116, 0.15);
}

/* Floating label effect */
.form-input:focus ~ label,
.form-input:not(:placeholder-shown) ~ label,
.form-textarea:focus ~ label,
.form-textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 35px;
    font-size: 12px;
    color: #6239A7;
    font-weight: 600;
    background: white;
    padding: 0 5px;
}

.form-input:focus,
.form-textarea:focus {
    /*border-color: #6239A7;
    outline: none;*/
     border: 1px solid transparent;
    background: 
        linear-gradient(white, white) padding-box,
        linear-gradient(-80deg, #502C82, #CD2374) border-box;
    border-radius: 4px;
    box-shadow: 
        0 0 6.5px rgba(205, 35, 116, 0.28),
        0 0 15px rgba(205, 35, 116, 0.15);
}

.form-input:focus ~ .input-icon,
.form-textarea:focus ~ .input-icon {
    color: #3a5bb2;
}

/* Submit Button Styles */
.submit-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* input in hotel filter */

.form-input-filter {
    width: 193px;
    height: 40px;
    padding: 0 15px 0 40px;
    border: 1px solid #ddd;
    border-radius: 7px;
    color: #280D3C;
    font-size: 16px;
    background-color:#F1F1F1;
    /*background: transparent;*/
    text-decoration: none;
    display: inline-block;
    z-index: 1;
    color:#502C82;
    transition: all 0.3s ease;
    outline: 1px solid rgb(80 , 44 , 130 , 0.3);
}
.form-input-filter:hover {
    border: 1px solid transparent;
    background: 
        linear-gradient(white, white) padding-box,
        linear-gradient(-80deg, #502C82, #CD2374) border-box;
    /*border-radius: 7px;*/
    box-shadow: 
        0 0 6.5px rgba(205, 35, 116, 0.28),
        0 0 15px rgba(205, 35, 116, 0.15);
  
}
.form-input-filter::placeholder{
    color: transparent;
}
.form-input-filter:focus ~ label,
.form-input-filter:not(:placeholder-shown) ~ label,
.form-textarea-filter:focus ~ label,
.form-textarea-filter:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 35px;
    font-size: 12px;
    color: #6239A7;
    font-weight: 600;
    background: white;
    padding: 0 5px;
    
}

.form-input-filter:focus,
.form-textarea-filter:focus {
    /*border-color: #6239A7;
    outline: none;*/
     border: 1px solid transparent;
    background: 
        linear-gradient(white, white) padding-box,
        linear-gradient(-80deg, #502C82, #CD2374) border-box;
    
    box-shadow: 
        0 0 6.5px rgba(205, 35, 116, 0.28),
        0 0 15px rgba(205, 35, 116, 0.15);
}

.form-input-filter:focus ~ .input-icon,
.form-textarea-filter:focus ~ .input-icon {
    color: #3a5bb2;
}

.input-wrapper-filter {
    position: relative;
    /*margin-top: 15px;*/
}

.input-wrapper-filter {
    position: relative;
    margin-top: 15px;
}

.input-wrapper-filter label {
    position: absolute;
    left: 30px;
    top: 9px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
    z-index: 3;
    background: transparent;}
/* hotel filter custum select */

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    width: 193px;
    height: 40px;
    padding: 0 40px 0 40px;
    border: 1px solid #ddd;
    border-radius: 7px;
    color: #502C82;
    font-size: 16px;
    background-color: #F1F1F1;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: 1px solid rgb(80, 44, 130, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.custom-select:hover,
.custom-select.active {
    background-color: #fff;
    border-color: #502C82;
    outline: 2px solid rgb(80, 44, 130, 0.5);
    box-shadow: 0 4px 12px rgba(80, 44, 130, 0.15);
}

.custom-select-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #502C82;
    transition: transform 0.3s ease;
}

.custom-select.active .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #502C82;
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(80, 44, 130, 0.15);
    max-height: none;
    overflow-y: visible;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 3px 0;
}

.custom-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 10px 15px;
    margin: 3px 8px;
    color: #280D3C;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-option:first-child {
    margin-top: 5px;
}

.custom-option:last-child {
    margin-bottom: 5px;
}

.custom-option:hover {
    background-color: #f5f0fa;
    color: #502C82;
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(80, 44, 130, 0.1);
}

.custom-option.selected {
    background-color: #502C82;
    color: #fff;
}

.custom-option.disabled {
    color: #999;
    cursor: not-allowed;
    font-weight: 500;
}

.custom-option.disabled:hover {
    background-color: transparent;
    color: #999;
    transform: none;
    box-shadow: none;
}