body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.header {
    width: 100%;
    background: white;
    padding-top: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.header img {
    height: 40px;
    margin-right: 10px;
}

.header .title {
    font-size: 18px;
    font-weight: bold;
    margin: 0px 18px;
}

.header .subtitle {
    font-size: 14px;
    color: gray;
    text-align: justify;
    margin: 10px 18px;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 650px;
}

.container h2 {
    margin-bottom: 5px;
}

.container p {
    font-size: 14px;
    color: gray;
}

.form-group {
    text-align: left;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #706D74;
    font-size: 13px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 5px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    background: transparent;
}

.form-group input:focus {
    border-bottom-color: #ff6600;
}

.error {
    color: red;
    font-size: 12px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    width: 100%;
}

.checkbox-container input {
    margin-right: 5px;
}

.buttons {
    margin-top: 15px;
    justify-content: space-between;
}

.clear-btn {
    margin-top: 20px;
    background-color: white;
    color: #c65306;
    border: 1px solid #c65306;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.clear-btn:hover {
    background: antiquewhite;
    color: #c65306;
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .header img {
        margin-bottom: 5px;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .buttons button {
        width: 100%;
    }

    .checkbox-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

.error-message {
    color: red;
    font-size: 12px;
}

.submit-btn {
    margin-top: 20px;
    background-color: #c65306;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.submit-btn:hover {
    background-color: #a84504;
}

#terms {
    accent-color: #706D74;
}

#signupForm {
    margin: 28px;
}

.custom-select {
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    background: white;
    overflow: hidden;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    padding: 12px 16px;
    width: 100%;
    font-size: 13px;
    color: #757575;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
}

select:focus {
    outline: none;
}

.custom-select::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #757575;
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
    width: 100% !important;
}

.number-count {
    float: right;
    font-size: 12px;
    color: gray;
}

.phonenumber-with-code {
    width: 60%;
    margin-right: 20px;
    float: left;
}

.phonenumber-with-type {
    width: 35%;
}

@media (min-width: 801px) {
    .header {
        width: 80%;
    }
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
    margin-top: -6px;
}

.fa-solid,
.fas {
    font-weight: 200 !important;
    color: #706D74;
}


/* CSS for the new HTML structure */
.form-group {
    position: relative;
    width: 100%;
}

.form-group input[type="password"]:focus {
    outline: none;
    background-color: #fff;
}

.form-group .fa-eye,
.form-group .fa-eye-slash {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6b7280;
    font-size: 1.1rem;
}


select:focus {
    outline: none;
}

option {
    padding: 0.75rem 1rem;
    color: #374151;
    background-color: #fff;
}

option:hover {
    background-color: #e5e7eb;
}

/* option[value="fr"] {
                color: #8B5CF6;
            } */

.language-select-label {
    float: left;
    padding-top: 5px;
    white-space: nowrap !important;
    padding-right: 5px !important;
    text-align: right !important;
}

.language-dropdown > div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
    }

.language-selection {
    flex-grow: 0 !important;
    max-width: 120px;
    padding: 4px 16px;
    font-size: 13px;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    line-height: 1.25;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
}