* {
*     font-family: Vazir !important;
*     }
*
*/* Placeholder style for all browsers */
::-webkit-input-placeholder { /* Edge */
    font-family: IRANSans-web !important;
    color: #ddd !important;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    font-family: IRANSans-web !important;
    color: #ddd !important;
}

::placeholder {
    font-family: IRANSans-web !important;
    color: #ddd !important;
}

/* Style the main form container */
#regForm {
    background-color: #ffffff;
    margin: 100px auto;
    padding: 40px;
    width: 70%;
    min-width: 300px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

/* Form header style */
.form-header {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    color: #333;
    margin-bottom: 32px;
}

/* Referral code inside header */
.form-header .ref-code {
    font-size: 24px;
    color: #0085b2;
}

/* Style the input fields */
input {
    padding: 10px;
    width: 100%;
    font-size: 14px; /* Slightly larger text for better readability */
    border: 1px solid #aaa;
    border-radius: 5px; /* Rounded edges for inputs */
    margin-bottom: 20px; /* Space between inputs */
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Add focus effect to inputs */
input:focus {
    border-color: #0085b2;
    box-shadow: 0 0 8px rgba(0, 133, 178, 0.4);
    outline: none;
}

/* Add subtle animation to the input fields */
input:hover {
    border-color: #0085b2;
    transition: all 0.3s ease-in-out;
}

/* Style the buttons */
button {
    background-color: #0085b2;
    color: white;
    padding: 12px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

/* Button hover effect */
button:hover {
    background-color: #006f8e;
    transform: scale(1.05);
}

/* Button active effect */
button:active {
    background-color: #005a73;
}

/* Hide all steps by default */
.tab {
    display: none;
}

/* Styling for form steps (if multi-step form) */
.tab.active {
    display: block;
}

/* For improved accessibility: labels for form fields */
label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Error message styles */
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

/* Add responsiveness for smaller screens */
@media (max-width: 768px) {
    #regForm {
        width: 90%;
        padding: 20px;
    }

    .form-header {
        font-size: 28px;
    }

    input, button {
        font-size: 16px;
    }
}
/* Steps container */
.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 32px 0;
}

/* Separator line between steps */
.steps:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    top: 7px;
    background: #ddd;
    z-index: 0;
}

/* Step circles */
.step {
    height: 20px;
    width: 20px;
    background-color: #ddd;
    border: none;
    border-radius: 50%;
    display: inline-block;
    z-index: 1;
    transition: background-color 0.3s, transform 0.3s;
}

/* Active step styling */
.step.active {
    background: #bbb;
    transform: scale(1.1); /* Slight enlargement for active step */
}

/* Completed step styling */
.step.finish {
    background-color: #0085b2;
}

/* Section title styling */
.section-title {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.section-title:not(:first-child) {
    margin-top: 32px;
}

/* Form row styling */
.form-row {
    flex-flow: row wrap;
    margin-bottom: 16px;
}

/* Row styling with inline-flex */
.row {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 16px;
}

/* Field wrap styling */
.row .field-wrap {
    display: inline-flex;
    flex: 1;
    margin-right: 16px;
    margin-bottom: 16px;
}

/* Image field specific styling */
.row .field-wrap.image-field {
    flex-flow: column;
    width: 100%;
    align-items: center;
}

/* Field title styling */
.field-wrap .field-title {
    color: #aaa;
    margin-left: 8px;
    font-size: 14px;
}

/* Add a colon after field title */
.field-wrap .field-title:after {
    content: ':';
}

/* Form-row specific field wrap */
.form-row .field-wrap {
    display: inline-flex;
    flex-flow: column;
    margin-left: 16px;
}

/* Image field specific styling */
.field-wrap.image-field {
    width: 50%;
    align-items: center;
}

/* Image preview style */
.field-wrap.image-field .image-preview {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.field-wrap.image-field .image-preview img {
    max-height: 100%;
}

/* Checkbox styling */
.field-wrap.checkbox {
    flex-flow: row;
    align-items: center;
}

.form-row .field-wrap:last-child {
    margin-left: 0;
}

/* Full-width fields */
.field-wrap.full-width,
.field-wrap.full-width input[type="text"],
.field-wrap.full-width input[type="email"] {
    width: 100%;
}

/* Field description styling */
.field-wrap .field-description {
    font-size: .9em;
    margin-bottom: 1em;
    color: #888;
}

/* Label styling */
.form-row label {
    display: flex;
    align-items: center;
    font-size: 12px;
    width: 100%;
}

/* Checkbox specific styling */
.form-row input[type="checkbox"] {
    width: auto;
    float: right;
}

/* Checkbox and radio button size */
input[type="checkbox"], input[type="radio"] {
    width: auto;
    margin-right: 8px; /* Add space between checkbox and label */
}

/* Add hover effect on steps */
.step:hover {
    background-color: #aaa;
    transform: scale(1.05); /* Slightly enlarge on hover */
    cursor: pointer;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    /* Stack the steps vertically */
    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        margin-bottom: 10px;
    }

    .form-row {
        flex-direction: column;
    }

    .row .field-wrap {
        width: 100%;
        margin-bottom: 16px;
    }

    .field-wrap.image-field {
        width: 100%;
    }
}
/* General input styles */
textarea,
select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="number"],
input[type="range"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="week"] {
    max-width: 100%;
    width: 256px !important;
    height: 32px;
    padding: 4px 8px !important;
    border: 1px solid #aaaaaa;
    background: none !important;
    font-size: 12px !important;
	border-radius:5px !important;
    -webkit-transition: border-top-color .3s .1s, border-bottom-color .3s .3s, border-left-color .3s 0s, border-right-color .3s .2s;
    transition: border-top-color .3s .1s, border-bottom-color .3s .3s, border-left-color .3s 0s, border-right-color .3s .2s;
}
select, input[type], textarea {
    border-color: #e9e9e9;
	border-radius:5px !important;
}
/* Error message styling */
.error-messages-wrap {
    display: flex;
    flex-flow: column;
    justify-content: center;
    font-size: 12px;
    color: red;
}

/* Highlight invalid inputs */
input.invalid {
    background-color: #ffdddd !important;
}

/* Text direction and alignment */
input.ltr {
    direction: ltr;
    text-align: right;
}

/* Select, input and textarea border styling */
select, input, textarea {
    border-color: #e9e9e9;
}

/* Button row styling */
.btn-row {
    margin-top: 64px;
    display: flex;
}

/* Button style */
.btn {
    height: 32px;
    position: relative;
    display: inline-block;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 24px;
    border: none;
    background: #0085b2;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

/* Button alignments */
.btn-row .left-wrap {
    margin-right: auto;
}

.btn-row .btn.save + .btn.next {
    margin-right: 16px;
}

/* Tab 1 styling */
.tab1 .form-row {
    display: flex;
}

.tab1 p {
    margin-bottom: 16px;
}

.tab1 .field-wrap {
    flex: 1;
}

.tab1 .field-wrap label {
    font-size: 14px;
    margin-left: auto;
    cursor: pointer;
}

.tab1 .field-wrap input[type="radio"] {
    opacity: 0;
    position: absolute;
    margin: 8px;
}

/* Custom radio button */
.tab1 .field-wrap input[type="radio"] + span {
    display: flex;
    align-items: center;
    font-size: 22px !important;
    color: #aaa;
}

.tab1 .field-wrap input[type="radio"] + span:before {
    content: '';
    width: 16px;
    height: 16px;
    display: inline-block;
    background: #ffffff;
    right: 0;
    margin: 8px;
    justify-content: center;
    align-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #aaaaaa;
    box-sizing: border-box;
    color: #aaa;
}

/* Checked radio button styles */
.tab1 .field-wrap input[type="radio"]:checked + span {
    font-weight: bold;
    color: #555;
}

.tab1 .field-wrap input[type="radio"]:checked + span:before {
    background: #0085b2;
    box-shadow: 0 0 0 1px #0085b2;
}

/* Tab 3 font styling */
.tab3 {
    font-size: 14px;
}

/* Terms section styling */
.terms {
    margin-bottom: 64px;
}

/* Type section styling */
.type .form-row {
    flex-wrap: wrap;
}

.type .form-row .full-width {
    flex: auto;
    margin: 0;
}

.type .real-person-options {
    margin-top: 8px;
    margin-right: 32px;
}

.type .real-person-options .field-wrap.checkbox {
    flex-flow: column;
}

.type .real-person-options .field-wrap.checkbox label + label {
    margin-top: 16px;
}

.type .real-person-options .field-wrap.checkbox span {
    font-size: 14px !important;
}

/* Custom radio button for real-person-options */
.type .real-person-options .field-wrap.checkbox input[type="radio"] + span:before {
    content: '';
    width: 12px;
    height: 12px;
    display: inline-block;
    background: #ffffff;
    right: 0;
    margin: 8px;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 0;
    box-shadow: 0 0 0 1px #aaaaaa;
    box-sizing: border-box;
    color: #aaa;
}

/* Checked state for radio buttons */
.type .real-person-options .field-wrap.checkbox input[type="radio"]:checked + span {
    font-weight: bold;
    color: #555;
}

.type .real-person-options .field-wrap.checkbox input[type="radio"]:checked + span:before {
    background: #0085b2;
    box-shadow: 0 0 0 1px #0085b2;
}

/* National code check styling */
.national-code-check {
    display: inline-flex;
    margin-right: 8px;
    font-size: 12px;
}

.national-code-check .link {
    display: flex;
    cursor: pointer;
}

.national-code-check .error-message {
    display: flex;
    margin-left: 8px;
    margin-bottom: 0;
}

/* Loading animation styling */
.loading-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    margin: 0 4px;
}

.loading {
    position: relative;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background-color: #1a1a1a;
    color: #1a1a1a;
    -webkit-animation: loading 1.5s infinite linear;
    animation: loading 1.5s infinite linear;
    -webkit-animation-delay: .25s;
    animation-delay: .25s;
}

.loading::before, .loading::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background-color: #1a1a1a;
    color: #1a1a1a;
}

.loading::before {
    right: -8px;
    -webkit-animation: loading 1.5s infinite linear;
    animation: loading 1.5s infinite linear;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.loading::after {
    left: -8px;
    -webkit-animation: loading 1.5s infinite linear;
    animation: loading 1.5s infinite linear;
    -webkit-animation-delay: .5s;
    animation-delay: .5s;
}

/* Keyframes for loading animation */
@keyframes loading {
    0% {
        background-color: #1a1a1a;
    }
    50%, 100% {
        background-color: #ffffff;
    }
}
/* Disable interaction on disabled real-person-options */
.real-person-options.disabled .field-wrap {
    pointer-events: none;
    opacity: 0.3;
}

/* Hide in-person service elements */
.in-person-service .only-in-person-service {
    display: none;
}

/* Style input fields with attached buttons */
.input-with-button {
    display: flex;
}

.input-with-button .btn {
    margin-right: 8px;
}

/* Required field hint */
.required-hint {
    font-size: 12px;
    color: red;
    margin: 1em 0;
    text-align: center;
}

/* Text style for orange-colored content */
.orange-text {
    color: darkorange;
}

/* Error message styling */
.error-message {
    color: red;
    font-size: .85em;
    margin-bottom: 1em;
    width: 100%;
}

/* Success message styling */
.success-message {
    color: green;
}

/* Alert box styling */
.alert {
    border-radius: 0.25rem;
    margin-top: 1em;
    font-size: 14px;
    padding: 0.75rem 1.25rem;
}

.alert-warning {
    border: 1px solid #ffeeba;
    color: #856404;
    background-color: #fff3cd;
}

.alert-danger {
    border: 1px solid #f5c6cb;
    color: #721c24;
    background-color: #f8d7da;
}

.alert-success {
    border: 1px solid #c3e6cb;
    color: #155724;
    background-color: #d4edda;
}

/* Center align text */
.text-center {
    text-align: center;
}

/* Large bottom margin */
.mb30 {
    margin-bottom: 30em;
    height: 32px;
    position: relative;
    display: inline-block;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 24px;
    border: 2px solid #0085b2;
    border-radius: 5px;
    background: #0085b2;
    color: #ffffff !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}
.mb30 a {
color: #ffffff !important;
}
/* Table styling for results */
.tbl-result {
    margin: 0 auto;
    font-size: 14px;
}

table.tbl-result td {
    border: 1px solid #ccc;
}

table.tbl-result tr:first-child td {
    text-align: center;
}

table.tbl-result tr:first-child td span {
    font-weight: bold;
}

table.tbl-result tr:nth-child(2) td {
    padding: 1em;
}

table.tbl-result tr:nth-child(2) td ol {
    margin: 1em 0;
    padding: 0 2em;
}

table.tbl-result tr:nth-child(2) td ol li {
    line-height: 1.9em;
    text-align: justify;
}

table.tbl-result tr:nth-child(2) td b {
    font-weight: bold;
}

table.tbl-result tr:nth-child(2) td p {
    margin: 0;
    text-align: justify;
    line-height: 2.3em;
}

/* Landing page style */
#landing {
    display: flex;
    justify-content: center;
    margin-bottom: 30em;
}

#landing span {
    margin: 0 .5em;
}

#landing span .btn {
    display: flex;
    align-items: center;
	border-radius:5px;
}

/* File input styling */
input[type="file"] {
    font-size: 12px !important;
}

/* National ID validation box */
.national_id_validation_box {}

/* Step navigator container styling */
#step-navigator {
    display: none;
}

#step-navigator.show {
    display: inline-flex;
}

.step-navigator-container {
    list-style: none;
    margin: 1em 0;
    padding: 0;
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.step-navigator-container li {
    width: 100%;
    position: relative;
}

.step-navigator-container li:before {
    content: "";
    height: 2px;
    position: absolute;
    background: #ccc;
    right: 0;
    top: calc(33% - 2px);
    width: calc(50% - 21px);
    z-index: 0;
}

.step-navigator-container li:first-child:before {
    display: none;
}

.step-navigator-container li:last-child:after {
    display: none;
}

.step-navigator-container li:after {
    content: "";
    height: 2px;
    position: absolute;
    background: #ccc;
    left: 0;
    top: calc(33% - 2px);
    width: calc(50% - 21px);
    z-index: 0;
}

.step-navigator-container li div {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    background: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    color: #6b6b6b;
    font-size: 22px;
    margin-bottom: 0.3em;
}

.step-navigator-container li.passed div {
    background: #0085b2;
    color: #fff;
    transition: all ease-in-out .3s;
}

.step-navigator-container li.passed:before {
    background: #0085b2;
    transition: all ease-in-out .3s;
}

.step-navigator-container li.passed:after {
    background: #0085b2;
    transition: all ease-in-out .3s;
}

.step-navigator-container li b {
    display: inline-block;
}

/* Data review section styling */
.data-review {
    width: 100%;
    font-size: 12px;
}

.data-review .section-title {
    text-align: center;
    background-color: #393939 !important;
    color: #fff;
    font-size: 14px;
}

.data-review .section-title th {
    background-color: #393939 !important;
    color: #fff;
}

.data-review .field-title {
    color: #aaa;
    margin-left: 8px;
}

.data-review .field-title:after {
    content: ':';
}

.data-review tr td {
    border-left: 1px solid #e9e9e9;
}

.data-review tr td:first-child {
    border-right: 1px solid #e9e9e9;
}

.data-review .image-field .field-title {
    margin-bottom: .3em;
    color: #333;
    font-size: 12px;
    font-weight: bold;
}

.data-review .image-field .field-title:after {
    content: '';
}

.file-error {
    color: red;
    font-size: 10px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}


.file-error::before {
    content: "⚠️";
    font-size: 1em;
    font-weight: bold;
    display: none; 
}


.file-error:not(:empty)::before {
    display: inline-block;
}
 ///


