.form-input-main {
    margin-bottom: 10px;
    width: 100%;
}

.form-input-main input,
.form-input-main select {
    font-family: 'Inter', sans-serif;
    height: 42px;
    width: 100%;
    padding-left: 15px;
    font-weight: 400;
    font-size: 18px;
    border: none;
    color: #000;
    /*    background: rgba(0, 0, 0, 0.05);*/
    border-radius: 18px;
}

.form-input-main select {
    margin: 0;
    width: 100%;
}

.form-input-main input::placeholder,
.form-input-main select::placeholder {
    color: #000;
}

.form-header-text,
.form-footer-text {
    color: black;
    font-size: 20px;
    text-align: center;
}

.form-header-text {
    margin-bottom: 20px;
}

.form-footer-text {
    margin-top: 20px;
}

.form-input-main label[for="nationality"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.form-input-main label[for="policy"] {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-input-main label[for="age"] {
    font-size: 14px;
    gap: 10px;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
}

.form-input-main input[name="policy"] {
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
}

button[name="submitBtn"] {
    border-radius: 21px;
    -moz-border-radius: 21px;
    -ms-border-radius: 21px;
    -o-border-radius: 21px;
    border-radius: 21px;
    text-align: center;
    text-transform: none;
    color: #fff;
    transition: opacity .2s ease-out;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    height: 53px;
    width: 304px;
    color: #FFFFFF;
    border: none;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    /*    background: #0279F1;*/
    background: rgba(16, 163, 127, 0.75);
    /*    border: 1px solid #00B1D9;*/
    border: 1px solid rgb(16, 163, 127);
}

.iti--allow-dropdown input,
.iti--allow-dropdown input[type=tel],
.iti--allow-dropdown input[type=text],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type=tel],
.iti--separate-dial-code input[type=text] {
    width: 100%;
    padding-left: 104px !important;
}

.user--name.show,
.user--email.show,
.user--phone.show {
    display: block;
    margin-left: auto;
    margin: 20px 40px;
    max-width: 400px;
    margin-left: auto;
    /*    background-color: transparent;*/
    background-color: rgba(47, 47, 47, 0.9);
    /*    padding: 0px 20px;*/
    padding: 20px;
    border-radius: 20px 0px 20px 20px;
}

.button--user {
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*    background: rgba(27, 27, 27, 0.75);*/
    background: rgba(16, 163, 127, 0.75);
    border: 1px solid #00B1D9;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-left: auto;
    border: none;
}

@media screen and (max-width: 600px) {
    .chat {
        margin: 15px;
    }

    .user--name.show,
    .user--email.show,
    .user--phone.show {
        max-width: 100%;
        margin: 10px auto;
    }

    .chat-content-list {
        margin: 0;
    }
}
/* Custom Select Alpine.js */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 15px;
    background-color: #fff;
    /*border: 2px solid green;*/
    border: none;
    border-radius: 18px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select__trigger:hover {
    border-color: rgba(16, 163, 127, 1);
}

.custom-select__trigger.is-open {
    border-color: rgba(16, 163, 127, 1);
    box-shadow: 0 0 0 2px rgba(16, 163, 127, 0.25);
}

.custom-select__value {
    flex: 1;
    text-align: left;
    color: #000;
}

.custom-select__value.is-placeholder {
    color: #000;
    opacity: 0.6;
}

.custom-select__arrow {
    flex-shrink: 0;
    margin-left: 10px;
    color: #000;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.custom-select__arrow.rotated {
    transform: rotate(180deg);
}

.custom-select__options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    background-color: #fff;
    border: 2px solid green;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.custom-select__option {
    padding: 12px 15px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    transition: background-color 0.15s ease;
    text-align: left;
}

.custom-select__option:first-child {
    border-radius: 16px 16px 0 0;
}

.custom-select__option:last-child {
    border-radius: 0 0 16px 16px;
}

.custom-select__option:hover {
    background-color: rgba(16, 163, 127, 0.1);
}

.custom-select__option.is-selected {
    background-color: rgba(16, 163, 127, 0.2);
    color: rgb(16, 163, 127);
}

/* Validation styles */
.custom-select__trigger._error {
    background-color: rgba(181, 34, 42, 0.5) !important;
    border-color: #b5222a;
}

.custom-select__trigger._error .custom-select__value {
    color: #fff;
}

.custom-select__trigger._error .custom-select__arrow {
    color: #fff;
    opacity: 1;
}

/* Scrollbar for options */
.custom-select__options::-webkit-scrollbar {
    width: 6px;
}

.custom-select__options::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.custom-select__options::-webkit-scrollbar-thumb {
    background: rgba(16, 163, 127, 0.75);
    border-radius: 3px;
}

[x-cloak] { display: none !important; }
