.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child>.btn,
.input-group-btn:first-child>.btn-group>.btn,
.input-group-btn:first-child>.dropdown-toggle,
.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,
.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle) {
    border-radius: 7px;
    border-end-end-radius: 0;
    border-start-end-radius: 0;
}

.input-group .input-group-addon {
    border-radius: 7px;
    border-start-start-radius: 0;
    border-end-start-radius: 0;
    border-inline-start: 0;
    border-left: 1px solid #ccc
}

.text-muted {
    font-size: 1rem;
    color: #999;
}

.is-invalid {
    border-color: #dc3545;
}

.auth-input {
    max-height: 44px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    color: #161616;
    text-align: right;
    direction: rtl;
    transition: all 0.3s ease;
}

.auth-input:focus {
    background-color: #fff;
    border-color: #19BBB7;
    box-shadow: 0 0 0 0.2rem rgba(25, 187, 183, 0.15);
    outline: none;
}

.auth-input::placeholder {
    color: #9E9E9E;
    font-size: 14px;
}

select.auth-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 16px 12px;
    padding-left: 2.5rem;
}

.select-default {
    cursor: pointer;
}

.password-toggle-btn {
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.password-toggle-btn:hover {
    opacity: 0.7;
}

.password-toggle-btn:focus {
    outline: none;
    box-shadow: none;
}

.btn-step-next,.btn-step-submit {
    background-color: #23567D;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-step-previous {
    background-color: transparent;
    color: #23567D;
    border: 2px solid #23567D;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-step-previous:hover {
    background-color: #23567D;
    color: #fff;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .checkmark {
    position: relative;
    min-width: 20px;
    height: 20px;
    border: 1.5px solid #D0D5DD;
    border-radius: 6px;
    background-color: white;
    margin-top: 2px;
}

.custom-checkbox input[type="checkbox"]:checked~.checkmark {
    background-color: #19BBB7;
}

.custom-checkbox input[type="checkbox"]:checked~.checkmark:after {
    content: "";
    position: absolute;
    display: block;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox label {
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    flex: 1;
}

.form-check-input {
    border: 1.5px solid ##D0D5DD;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.form-check-input:checked {
    background-color: #19BBB7;
    border-color: #19BBB7;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(25, 187, 183, 0.15);
}

.form-check-label {
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    cursor: pointer;
    margin-right: 8px;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}

.step-navigation button {
    flex: 1;
    min-height: 44px;
}

.login-link-text {
    padding-top: 16px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #23567D;
    margin-bottom: 20px;
}

.login-link-text {
    font-size: 16px;
    font-weight: 700;
    color: #455A64;
}

.login-link-text a {
    color: #19BBB7;
    text-decoration: none;
    font-weight: 700;
}

.login-link-text a:hover {
    text-decoration: underline;
}

.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 12px 24px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    border-color: #19BBB7;
}

.file-upload-label {
    text-decoration: underline;
    color: #19BBB7;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;

}

.file-upload-input {
    display: none;
}

.file-upload-text {
    font-size: 14px;
    color: #9E9E9E;
    flex: 1;
    text-align: right;
    background-image: url("../images/pdf-file.svg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20px 20px;
    padding-right: 32px;
}

.progress-bars-wrapper {
    display: flex;
    gap: 4px;
    margin-bottom: 32px;
}

.progress-bar-container {
    flex: 1;
    height: 8px;
    background-color: #E0E0E0;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.progress-bar-container.filled {
    background-color: #19BBB7;
}

@media (max-width: 768px) {

.auth-input {
        font-size: 14px;
        padding: 10px 14px;
    }

    .auth-input::placeholder {
        font-size: 13px;
    }

    .btn-step-next,.btn-step-submit {
        font-size: 16px;
        padding: 10px 16px;
    }

    .btn-step-previous {
        font-size: 16px;
        padding: 10px 16px;
    }

    .login-link-text {
        font-size: 14px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .progress-bars-wrapper {
        margin-bottom: 24px;
    }

    .progress-bar-container {
        width: 100%;
        height: 6px;
    }

    .custom-checkbox label {
        font-size: 13px;
    }

    .form-check-label {
        font-size: 13px;
    }

    .file-upload-label {
        font-size: 14px;
    }

    .file-upload-text {
        font-size: 13px;
    }

}

.radio-label {
    display: flex;
    padding: 12px 16px;
    justify-content: start;
    align-items: center;
    gap: 8px;

    border-radius: 12px;
    border: 1px solid var(--border2, #E0E2E5);
    background: var(--White, #FFF);
    cursor: pointer;
}

.radio-label input[type="radio"] {
    display: flex;
    width: 20px;
    height: 20px;
    padding: var(--Global-spacing-none, 0);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--Global-spacing-none, 0);
    margin: 0;
    accent-color: #19BBB7;
    border: 2px solid #19BBB7;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked {
    background-color: #19BBB7;
    border-color: #19BBB7;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='4'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
}

.radio-label input[type="radio"]:checked + span {
    font-weight: 500;
}

.radio-label:has(input[type="radio"]:checked) {
    background: rgba(25, 187, 183, 0.04);
    border-color: #19BBB7;
}

@media (max-width: 480px) {

.auth-input {
        font-size: 13px;
        padding: 9px 12px;
    }

    .auth-input::placeholder {
        font-size: 12px;
    }

    .btn-step-next,.btn-step-submit {
        font-size: 15px;
        padding: 9px 14px;
    }

    .btn-step-previous {
        font-size: 15px;
        padding: 9px 14px;
    }

    .login-link-text {
        font-size: 13px;
    }

    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .progress-bars-wrapper {
        margin-bottom: 20px;
    }

    .progress-bar-container {
        height: 5px;
    }

    .custom-checkbox label {
        font-size: 12px;
    }

    .form-check-label {
        font-size: 12px;
    }

    .file-upload-label {
        font-size: 13px;
    }

    .file-upload-text {
        font-size: 12px;
    }

    .step-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .step-navigation button {
        width: 100%;
    }

}
