.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
}

.dir-ltr {
    display: inline-block;
    direction: ltr
}

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

.highlight-alert {
    animation: pulse-alert 2s;
    border-left: 4px solid #dc3545;
    padding-left: 10px;
}

.highlight-error {
    animation: pulse-error 2s;
    border-color: #dc3545 !important;
}

@keyframes pulse-alert {
    0% {
        background-color: rgba(220, 53, 69, 0.1);
    }

    50% {
        background-color: rgba(220, 53, 69, 0.2);
    }

    100% {
        background-color: rgba(220, 53, 69, 0.1);
    }
}

@keyframes pulse-error {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

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

.main-container {
   
    padding-top: 85px;
    padding-bottom: 191px;


}

.register-form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 552px;
    padding: 48px 40px;
    min-width: 623px;
    
    justify-content: center;
    
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px -6px rgba(24, 39, 75, 0.02), 0 18px 88px -4px rgba(24, 39, 75, 0.04);
    
}

.register-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #23567D;
    align-self: start;
    padding-bottom: 16px;
}

.register-form-description {
    font-size: 18px;
    font-weight: 400;
    color: #757575;
    align-self: start;
    padding-bottom: 24px;
}



/* Auth Input Styles - Same as login page */


.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 Button */
.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;
}

/* Submit Button */
.auth-submit-btn,
.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 */
.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;
}

/* Radio Buttons */
.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 */
.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 */
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #23567D;
    margin-bottom: 20px;
}

/* Login Link */
.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 Styling */
.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 1.svg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20px 20px;
    padding-right: 32px;
}

/* Progress Bars Styles */
.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;
}

/* Gender Options */
.gender-options-wrapper {
    gap: 2rem;
    padding-bottom: 40px;
}

.login-form-image {
    width: 293px;
    height: 342px;
    flex-shrink: 0;
    border-radius: 32px;
    background: linear-gradient(270deg, #003964 0%, #23567D 65.87%, #19BBB7 100%);
    margin-top: 142px;
}

.login-form-image-img {
    object-fit: cover;
    max-width: 376px;
    max-height: 440px;
    position: absolute;

    bottom: 0;
    left: 54px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .main-container {
        flex-direction: column-reverse;
        gap: 40px;
        padding-top: 50px;
        padding-bottom: 60px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .login-form-image {
        display: none;
    }

    .register-form-container {
        max-width: 100%;
    }

  
}

@media (max-width: 768px) {
    .register-form-content {
        max-width: 100%;
        box-shadow: 0 4px 18px -2px rgba(24, 39, 75, 0.10);
        border-radius: 14px;
        background-color: #fff;
        border: 1px solid #E0E0E0;

        padding: 16px 20px;
    }


    .register-form-title {
        font-size: 20px;
        padding-bottom: 12px;
    }

    .register-form-description {
        font-size: 16px;
        padding-bottom: 16px;
    }

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

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

    .auth-submit-btn,
    .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;
    }

    .gender-options-wrapper {
        gap: 1.5rem;
        padding-bottom: 30px;
    }
}

/* Radio Label Styles */
.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;
}

/* Terms Checkbox Styles */
.terms-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.terms-checkbox-wrapper input[type="checkbox"] {
    display: flex;
    width: 20px;
    height: 20px;
    min-width: 20px;
    padding: 3px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: 1px solid #19BBB7;
    background: #FFF;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    margin: 0;
    margin-top: 2px;
}

.terms-checkbox-wrapper input[type="checkbox"]:checked {
    background-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%3Cpath d='M13.485 3.515a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-3.5-3.5a1 1 0 1 1 1.414-1.414L5.75 10.28l6.32-6.32a1 1 0 0 1 1.415-.445z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.terms-checkbox-wrapper span {
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
}

@media (max-width: 480px) {

    .register-form-title {
        font-size: 18px;
        padding-bottom: 10px;
    }

    .register-form-description {
        font-size: 14px;
        padding-bottom: 12px;
    }

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

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

    .auth-submit-btn,
    .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%;
    }

    .gender-options-wrapper {
        gap: 1rem;
        padding-bottom: 20px;
        flex-direction: column;
        align-items: flex-start !important;
    }
}

/* Mobile: Hide hero section and clean form */
@media (max-width: 768px) {
    .hero-section-wrapper .info-section {
        display: none;
    }

    .hero-section-wrapper .hero-bg-image {
        display: none;
    }

    .hero-section-wrapper .info-section-content {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .register-form-container {
        min-width: unset;
        max-width: 100%;
        padding: 24px 20px;
        box-shadow: none;
        border-radius: 0;
        background-color: transparent;
    }
}

@media (max-width: 480px) {
    .hero-section-wrapper .info-section-content {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .register-form-container {
        padding: 16px 16px;
    }
}

