/**
 *
 * You can write your CSS code here, DO NOT touch the default JavaScript file
 * because it will make it harder for you to update.
 * 
 */

/*# sourceMappingURL=custom.css.map */

.form-wrapper {
    margin: 30px 0;
    border-radius: 10px;
}

.form-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: sticky;
    top: 30px;
}

/* Step item */
.form-steps li {
    padding: 12px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    color: #1e3a5f;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

/* Hover */
.form-steps li:hover {
    background: #eef6ff;
    border-color: #cfe2ff;
    transform: translateX(3px);
}

/* Active step */
.form-steps li.active {
    background: linear-gradient(135deg, #2a75bb, #3b82f6);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(42, 117, 187, 0.25);
}

/* Active indicator dot */
.form-steps li.active::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}


.form-panel {
    border: 1px solid #e5eef7;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.form-field-info {
    background-color: #d6e7f7;
    border-bottom: 1px solid #d6e7f7;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.form-panel-toggle {
    font-size: 16px;
    color: #3b5f85;
    cursor: pointer;
}

.form-field-info h3 {
    color: #1e3a5f;
    font-size: 18px;
}

.form-field-info p {
    color: #3b5f85;
    padding-bottom: 0;
    font-size: 14px;
}

.form-field-content {
    padding: 20px;
    background: #fff;
    display: none;
}

.form-panel.active .form-field-content {
    display: block;
}

.form-wrapper .row {
    display: flex;
    flex-wrap: wrap;
}

.form-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
}

.form-field-label {
    color: #475569;
    font-size: 14px;
    margin-bottom: 4px;
    position: relative;
    display: inline-flex;
    gap: 4px;
    cursor: default;
}

.form-field-mandatory {
    color: #f00;
}

.form-field-input {
    color: #111827;
    border: 2px solid #D1D5DB;
    background-color: #fff;
    font-size: 16px;
    min-height: 36px;
    border-radius: 4px;
    outline: 0;
    padding: 5px 8px;
    width: 100%;
}

.form-field-input:focus {
    border-color: #2a75bb;
}

.form-field-caption {
    margin-top: 4px;
    color: #52657a;
    font-size: 12px;
}

.form-field-select {
    color: #111827;
    border: 2px solid #D1D5DB;
    background-color: #fff;
    font-size: 16px;
    min-height: 36px;
    border-radius: 4px;
    outline: 0;
    padding: 5px 8px;
    width: 100%;
}

.form-field-file {
    color: #111827;
    border: 2px solid #D1D5DB;
    background-color: #fff;
    font-size: 16px;
    min-height: 36px;
    border-radius: 4px;
    outline: 0;
    padding: 5px 8px;
    width: 100%;
}

.form-field-file:focus {
    border-color: #2a75bb;
}

.radio-field {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio {
    position: relative;
}

.radio input[type='radio'] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.radio input[type='radio']+.radio-label:before {
    content: '';
    background: #fff;
    border: 2px solid #D1D5DB;
    display: inline-block;
    width: 22px;
    height: 22px;
    position: relative;
    margin-right: 8px;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    transition: all 250ms ease;
    border-radius: 50%;
    pointer-events: none;
}

.radio input[type='radio']:checked+.radio-label:before {
    border: 2px solid #2a75bb;
}

.radio .radio-label {
    margin-bottom: 0;
    color: #475569;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
}

.radio input[type='radio']:checked+.radio-label:before {
    background-color: #2a75bb;
    box-shadow: inset 0 0 0 3px #fff;
}

.radio input[type='radio']:checked+.radio-label {
    color: #2a75bb;
}

.checkbox-field {
    display: flex;
    gap: 0 20px;
    flex-wrap: wrap;
}

.checkbox-group {
    position: relative;
}

.checkbox-group input[type='checkbox'] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.checkbox-group input[type='checkbox']+.checkbox-label:before {
    content: '';
    background: #fff;
    border: 2px solid #D1D5DB;
    display: inline-block;
    width: 22px;
    height: 22px;
    position: relative;
    margin-right: 8px;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    transition: all 250ms ease;
    border-radius: 4px;
    pointer-events: none;
    box-sizing: border-box;
}

.checkbox-group .checkbox-label {
    margin-bottom: 0;
    color: #475569;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    cursor: pointer;
}

/* Checked state */
.checkbox-group input[type='checkbox']:checked+.checkbox-label:before {
    background-color: #2a75bb;
    border-color: #2a75bb;
}

/* Tick mark */
.checkbox-group input[type='checkbox']:checked+.checkbox-label:after {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    pointer-events: none;
}

.checkbox-group input[type='checkbox']:checked+.checkbox-label {
    color: #2a75bb;
}

.form-btns-group {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.outline-btn {
    background: transparent;
    color: #072b3b;
    padding: 8px 16px;
    border: 1px solid #072b3b;
    font-size: 16px;
    border-radius: 4px;
    outline: 0;
}

.fill-btn {
    background: #2a75bb;
    color: #fff;
    padding: 8px 16px;
    border: 1px solid #2a75bb;
    font-size: 16px;
    border-radius: 4px;
    outline: 0;
}

.form-panel-toggle span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.form-panel.active .form-panel-toggle span {
    transform: rotate(180deg);
}

.error-message {
    color: rgb(211, 41, 41);
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.input-error {
    border-color: rgb(211, 41, 41) !important;
}

/*
|--------------------------------------------------------------------------
| Disabled Fields
|--------------------------------------------------------------------------
*/

.form-field-input:disabled,
.form-field-select:disabled,
.form-field-file:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
    color: #777;
    border-color: #dcdcdc;
}

/*
|--------------------------------------------------------------------------
| Optional
|--------------------------------------------------------------------------
*/

.form-field-input:disabled::placeholder {
    color: #aaa;
}

.select2-container .select2-selection--single {
    height: 48px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px !important;
    padding: 10px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
}

.form-field-input:disabled,
.form-field-select:disabled,
.select2-container--default.select2-container--disabled .select2-selection--single {
    background: #f5f5f5 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.uploaded-file-link {
    color: #387feb;
}

.form-steps li.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-panel.section-locked .form-field-info {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-steps li {

    position: relative;

    padding-right: 30px;

}

.step-check {

    position: absolute;

    right: 10px;

    top: 50%;

    transform: translateY(-50%);

    width: 20px;

    height: 20px;

    border-radius: 50%;

    background: #28a745;

    color: #fff;

    font-size: 12px;

    display: none;

    align-items: center;

    justify-content: center;

}

.form-steps li.completed .step-check {

    display: flex;

}

.form-steps li.completed {
    position: relative;
}

.form-steps li.completed::after {
    content: "✓";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #28a745;
    font-weight: 700;
}


.uploaded-documents {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.uploaded-file-wrapper {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 10px;
}


.delete-icon{
    background: #b90e0e;
    color: #fff;
    border: none;
    padding: 5px 8px;
    border-radius: 0px 4px 4px 0px;
    font-size: 15px;
    cursor: pointer;
}

.uploaded-file {
    font-size: 14px;
    border: 1px solid #d1d5db !important;
    padding: 5px 10px !important;
    border-radius: 4px 0px 0px 4px !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    background: #e3effb;
    color: #333;
    transition: all 0.2s ease;
    cursor: pointer !important;
}

.uploaded-file i {
    font-size: 12px;
}


.uploaded-documents {
    margin-top: 10px;
}

.uploaded-file {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
}

.uploaded-file i {
    color: red;
    margin-right: 8px;
}

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden {
    display: none;
}

.popup-content {
    width: 80%;
    height: 85%;
    background: #fff;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
}

.popup-body {
    width: 100%;
    height: 100%;
}

.popup-body iframe {
    width: 100%;
    height: 100%;
}
.image-popup-body{

    display:flex;

    align-items:center;

    justify-content:center;

    height:100%;

    padding:20px;

}

.image-popup-body img{

    max-width:100%;

    max-height:100%;

    object-fit:contain;

}

.preview-wrapper{
      max-width:1600px;
      margin:auto;
      background:#fff;
      border-radius:8px;
      padding:12px;
      border:1px solid #ddd;
    }

    .preview-header{
      margin-bottom:10px;
    }

    .preview-header h1{
      font-size:22px;
      color: #093243;
    }

    /* TABLE */

    .preview-table{
      width:100%;
      border-collapse:collapse;
      table-layout:fixed;
    }

    .preview-table th{
      background:#2a75bb;
      color:#fff;
      padding:8px;
      font-size:13px;
      text-align:left;
      border:1px solid #d8d8d8;
    }

    .preview-table td{
      border:1px solid #e3e3e3;
      padding:8px 10px;
      vertical-align:top;
      word-break:break-word;
      line-height:1.4;
      font-size: 13px;
    }

    .preview-table tr:nth-child(even){
      background:#fafafa;
    }

    .table-section {
      background:#eef5fc !important;
    }
    .section-title{
      color:#2a75bb;
      font-weight:700;
      font-size:14px;
    }
    .section-description {
      font-size: 12px;
      color: #666;
    }

    .label{
      color:#666;
      width:25%;
    }

    .value{
      color:#222;
      width:25%;
    }

    .value strong{
      font-weight:700;
      color:#000;
    }

    /* FOOTER */

    .preview-footer{
      display:flex;
      justify-content:flex-end;
      margin-top:14px;
    }

    .fill-btn{
      background:#2a75bb;
      color:#fff;
      border:none;
      padding:8px 18px;
      border-radius:4px;
      font-size:14px;
      cursor:pointer;
    }

    .fill-btn:hover{
      background:#1f5d97;
    }

    /* MOBILE */

    @media(max-width:768px){

      body{
        padding:5px;
      }

      .preview-wrapper{
        padding:8px;
      }

      .preview-table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
      }

    }
    .auth-wrapper {
      height: 100vh;
      display: flex;
      flex-direction: column;
    } 
    .auth-header {
      background-color: #2A75BB;
      color: #fff;
    }
    .auth-branding {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      padding: 24px;
      max-width: 400px;
      margin: 0 auto;
    }
    .auth-logo {
      max-width: 96px;
    }
    .auth-tagline-wrap {
      text-align: left;
    }
    .auth-main-container {
      flex: 1;
      background: white;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      height: 100vh;
      overflow-y: auto;
    }
    .auth-container {
      background-color: #fff;
      padding: 14px 24px;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
      margin: auto 0;
    }
    .brands-logo {
      display: flex;
      align-items: center;
      gap: 55px;
      justify-content: center;
    }
    .brand-logo{
      width: 70px;
    }
    .auth-title {
      font-size: 18px;
      padding-bottom: 0;
    }
    .auth-tagline {
      color: #fff;
      text-align: inherit;
      padding-bottom: 0;
      font-size: 16px;
    }
    .auth-content {
      text-align: center;
      max-width: 400px;
      margin: 0 auto;
      padding: 14px 0;
    }
    .login-text {
      font-size: 32px;
      color: #093243;
      font-weight: 600;
      margin-bottom: 8px;
      padding-bottom: 0;
    }
    .welcome-text {
      text-align: inherit;
      color: #093243;
      font-size: 16px;
      font-weight: 500;
      padding-bottom: 0;
      margin-bottom: 12px;
    }
    .auth-input-group {
      margin-bottom: 16px;
    }
    .auth-input-wrap {
      position: relative;
    }
    .auth-input {
      border: 1px solid #B8DCE6;
      padding: 14px 20px;
      width: 100%;
      border-radius: 24px;
      outline: 0;
      font-size: 14px;
    }
    /* Chrome, Safari, Edge, Opera */
    .auth-input[type="number"]::-webkit-outer-spin-button,
    .auth-input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    /* Firefox */
    .auth-input[type="number"] {
      -moz-appearance: textfield;
    }
    .auth-input:focus {
      background-color:#fff;
    }
    .input-action {
      color: #5E747E;
      position: absolute;
      right: 20px;
      top: 16px;
      cursor: pointer;
    }
    .auth-btn {
      background-color: #2A75BB;
      border: 1px solid #2A75BB;
      font-weight: 500;
      color: #fff;
      padding: 14px 20px;
      border-radius: 24px;
      width: 100%;
      margin-bottom: 20px;
      font-size: 14px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      justify-content: center;
    }
    .register-tagline {
      color: #5E747E;
      font-size: 14px;
   
    }
    .register-tagline a {
      color: #2A75BB;
    }
    .auth-footer {
      background-color: #f1f3f5;
    }
    .auth-footer-container {
      padding: 24px;
      max-width: 400px;
      margin: 0 auto;
      text-align: center;
    }
    .link-list {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 12px;
    }
    .link-list li {
      color: #7898A7;
      font-size: 14px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .link-list li a {
      color: #2A75BB;
    }
    .auth-address {
      
    }
    .address-tagline1 {
      font-size: 16px;
      color: #5E747E;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .address-tagline2 {
      font-size: 12px;
      color: #5E747E;
      font-weight: 400;
    }
    .auth-otp-tagline {
      color: #5E747E;
      font-size: 14px;
      margin-bottom: 16px;
    }
    .auth-otp-tagline a {
      color: #2A75BB;
    }
    .auth-otp-info {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 16px;
    }
    .auth-otp-time {
      color: #5E747E;
      font-size: 14px;
      font-weight: 500;
    }
    .auth-resend-otp {
      color: #2A75BB;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
    }
    @media (max-width: 575px) {
      .auth-branding {
        gap:10px;
      }
      .auth-logo {
        max-width: 64px;
      }
      .auth-title {
        font-size: 18px;
      }
      .auth-tagline {
        font-size: 14px;
      }
      .login-text {
        font-size: 28px;
      }
      .welcome-text {
        font-size: 14px;
      }
      .address-tagline1 {
        font-size: 14px;
      }
      .auth-input {
        padding: 12px 16px;
      }
      .auth-btn {
        padding: 12px 16px;
      }
    }

    .voice-input-container{
        width: 100%;
    }

    .d-none {
        display: none !important;
    }