form p.error,
div.error {
    font-size: 12px;
    color: red;
}

input.error,
select.error {
    border: red solid 1px !important;
}

span.error {
    font-size: 12px;
    color: red;
    margin-top: 3px !important;
}

.hide {
    display: none
}

.statusmsg {
    background: #D5D5D5;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #000;
    border: 1px solid #C5C5C5;
    padding: 8px 15px;
    text-align: center;
    line-height: 18px;
    margin: 0 0 22px;
}

.statusmsg.success {
    background: #22AB0C;
    color: #fff;
}

.ipthasicon .icon {
    top: 27px;
}

span.success.otp_resend {
    display: block;
    font-size: 12px;
    color: #09a714;
}

span.underline {
    text-decoration: underline;
}

.listnum {
    margin-left: 10px;
    margin-top: 10px;
    padding-left: 0;
    position: relative;
}

.listnum label.lb-num {
    display: block;
    margin: 0;
    padding-left: 27px;
    position: static;
}

.notemsg {
    color: #ff0000;
}

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

#formstep5-2 .autochange,
.row label span.autochange {
    display: none;
}

#formstep5-2 .autochange.active,
.formfieldrowcontent label span.autochange.active {
    display: inline-block;
    padding: 0;
}

.error {
    margin-top: 0px !important;
}

#housingarrangement3label:before,
#housingarrangement6label:before,
#housingarrangement5label:before {
    top: 23px;
}

#housingarrangement3label:after,
#housingarrangement6label:after,
#housingarrangement5label:after {
    top: 26px;
}

form div.dateexceed {
    font-size: 12px;
    color: red;
}

form div.dateerror {
    font-size: 12px;
    color: red;
}

.listeditbutton a.active {
    background: #000 !important;
}

ul.dropdown-menu.inner.show {
    max-height: 300px;
}

@media only screen and (min-width: 1024px)
{
    -webkit-border-radius: 0 100px 0 0;
    -moz-border-radius: 0 100px 0 0;
    -o-border-radius: 0 100px 0 0;
    -ms-border-radius: 0 100px 0 0;
    border-radius: 0 100px 0 0;
    width: 100% !important;
}

.progressive-bar {
    justify-content: center;
    display: flex;
    margin: 60px 0 0 0;
    z-index: 0;
    position: relative;
}
.progressive-bar ul {
        display: flex;
        justify-content: center;
        padding: 0;
        list-style: none;
        width: 100%;
        counter-reset: my-sec-counter;
        margin: 0;
        flex: 1;
        margin-right: -60px;
        border: none;
    }

        .progressive-bar ul li {
            position: relative;
            padding: 10px 0px;
            color: #666;
            font-size: 0.9rem;
            flex: 1;
            text-align: left;
        }

            .progressive-bar ul li a {
                position: relative;
                display: block;
                color: #666;
                text-decoration: none !important;
                pointer-events: none;
            }

            .progressive-bar ul li.completed a {
                pointer-events: auto;
            }

            .progressive-bar ul li.completed:hover a {
                color: #9d2138;
            }

            .progressive-bar ul li.active a {
                font-weight: bold;
                color: #000;
            }

            .progressive-bar ul li a::before {
                counter-increment: my-sec-counter;
                content: counter(my-sec-counter);
                position: absolute;
                background: #e9e9e9;
                width: 30px;
                height: 30px;
                text-align: center;
                border-radius: 50%;
                line-height: 30px;
                font-size: 0.85rem;
                top: 0;
                margin-top: -35px;
                color: #666;
                left: 0;
                z-index: 99
            }

            .progressive-bar ul li:after {
                content: "";
                position: absolute;
                left: 34px;
                width: calc(100% - 60px);
                background: #ccc;
                height: 1px;
                top: -10px;
                margin-left: 10px;
            }

            .progressive-bar ul li:last-child:after {
                width: 0;
            }

            .progressive-bar ul li.completed a::before {
                content: "\f00c";
                font-family: "Font Awesome 5 Pro";
                color: #fff;
                font-size: 1rem;
                background: #3a798f;
                font-weight: 600;
            }

            .progressive-bar ul li.completed a:hover::before {
                content: counter(my-sec-counter);
                font-family: 'Roboto';
                color: #fff;
                font-size: 0.85rem;
                background: #9d2138;
                font-weight: 600;
            }

            .progressive-bar ul li.completed a:hover span {
                font-weight: 600;
                color: #000;
            }



.progressive-bar ul li.active a::before {
    color: #fff;
    background: #9d2138;
}
.nav-tabs a, .nav-tabs button {
    font-size: 14px!important;
    text-align: left!important;
    padding: 0!important;
}
.progressive-bar .nav-tabs li:before {
    background: transparent!important;
}

/* add 2026 */
#remove-address .modal-content, #remove-local-proceedings .modal-content {
    border-radius: 10px !important;
}
.record{
    position: relative;
    margin-top: 20px;
}
.address-title, .local-proceedings-title {
    font-weight: bold;
    color: #000;
    font-size: 1.25rem;
}
.remove-address, .remove-local-proceedings {
    position: absolute;
    top: 1px;
    right: 20px;
    font-weight: bold;
    color: #9d2138;
    cursor: pointer;
}
.add-address, .add-local-proceedings {
    font-weight: 600;
    color: #3a798f;
}
.cust-tooltip {
    display: inline-block;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px dashed #9d2138;
}
.title-3-popup {
    font-size: 24px;
    font-weight: 700;
    margin: 5px 0 10px;
}
.small, small {
    font-size: 80%;
    font-weight: 400;
}
.title-4-popup {
    font-size: 1.25rem!important;
    font-weight: bold;
}
.modal .text-right {
    text-align: right;
}
.form-panel-inner .form-control {
    line-height: inherit!important;
}
.btn-add-child{
    border:1px solid #ccc;
}

.mar-t-15 {
    margin-top: 15px;
}
.step-blog.note {
    background: #f8f8f8;
    box-shadow: none;
    border-left: 4px solid #3a798f;
    border-radius: 0;
    padding: 20px 30px 20px 15px;
}
.blog .step-blog.blog-icon {
    padding-left: 130px;
    position: relative;
    min-height: 140px;
}
.blog .step-blog {
    width: 65%;
    background: #fff;
    margin-top: 20px;
    border-radius: 5px;
    fill: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
    padding: 25px 35px;
}
.shadow-0 {
    box-shadow: none !important;
}
.blog .step-blog.blog-icon-not-added, .blog .step-blog.blog-hdb, .blog .step-blog.law {
    background: #e9e9e9;
}
.blog .step-blog.law:before {
    content: " \f0e3";
    background: none;
    color: #ccc;
    transform: rotate(250deg);
    border: 1px solid #ccc;
}
.blog .step-blog.blog-icon:before {
    font-family: Font Awesome\ 5 Pro;
    font-weight: 600;
    position: absolute;
    left: 25px;
    height: 80px;
    top: 30px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.8rem;
}
.blog .step-blog.law:after {
    content: "";
    width: 20px;
    height: 7px;
    background: #ccc;
    position: absolute;
    top: 82px;
    left: 46px;
    border-radius: 5px 5px 0 0;
}
.add-btn {
    width: 65%;
    background: #e9e9e9;
    padding: 15px;
    border-radius: 5px;
    color: #a51e3d;
    margin-top: 10px;
    cursor: pointer;
}
span.error-block{
    font-size: 12px;
    color: red;
    margin-top: 3px !important;
}
.birthday-info, .address-in-singapore {
    margin-left: 50px;
}
.text-nationality-detail {
    padding-left: 20px;
    border-left: 4px solid #ccc;
    margin-top: 1rem;
}

.text-nationality-detail label.col-form-label {
    padding-top: 0;
}



    .container-tabs {
      border-radius: 6px;
      padding: 24px;
    }

    /* Header */
    .header-tabs {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .header-tabs h2 {
      margin: 0;
      font-size: 22px;
      font-weight: 600;
    }

    /* Tabs */
    .tabs {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      background: #eef0e6;
      border-radius: 6px;
      margin-bottom: 28px;
    }

    .tab {
      padding: 22px 10px;
      text-align: center;
      color: #374151;
      cursor: pointer;
    }

    .tab span {
      display: block;
      margin-top: 6px;
      font-size: 14px;
    }

    .tab.active {
      background: #fffdf5;
      border-radius: 6px 6px 0 0;
      font-weight: 600;
      box-shadow: 0 -2px 0 #fff;
    }

    /* Main layout */
    .content-tabs {
      display: grid;
      grid-template-columns: 360px 1fr;
      gap: 32px;
    }

    h3 {
      margin-top: 0;
      margin-bottom: 16px;
      font-size: 18px;
    }

    /* Sub-category list */
    .sub-card {
      border: 1px solid #e5e7eb;
      border-radius: 6px;
      padding: 16px;
      margin-bottom: 14px;
      background: #fff;
      cursor: pointer;
    }

    .sub-card.active {
      border-left: 6px solid #8b1d2c;
      background: #fffdf8;
    }

    .sub-title {
      font-weight: 600;
      margin-bottom: 6px;
    }

    .sub-desc {
      font-size: 14px;
      color: #4b5563;
    }

    /* Tips */
    .tips {
      margin-top: 24px;
      padding-left: 16px;
      border-left: 4px solid #eab308;
    }

    .tips-title {
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 6px;
    }

    .tips p {
      margin: 0;
      font-size: 14px;
    }

    .tips a {
      color: #8b1d2c;
      text-decoration: underline;
    }

    /* Right panel */
    .detail {
      background: #f6f7ef;
      border-radius: 6px;
      padding: 24px;
      min-height: 220px;
    }

    .detail-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
    }

    .orders {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .order-card {
      background: #f6f7ef;
      border-radius: 6px;
      padding: 22px;
          width: 100%;
    }

    .order-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .order-title {
      font-size: 18px;
      font-weight: 600;
      color: #8b1d2c;
    }

    .badge {
      background: #e5e7eb;
      color: #374151;
      font-size: 12px;
      padding: 4px 8px;
      border-radius: 4px;
      white-space: nowrap;
    }

    .order-desc {
      font-size: 14px;
      margin-bottom: 16px;
      color: #374151;
    }

    .detail h4 {
      margin: 0 0 10px 0;
      color: #8b1d2c;
      font-size: 18px;
    }

    .detail p {
      margin: 0 0 20px 0;
      font-size: 14px;
      color: #374151;
    }

    .btn {
      background: #8b1d2c;
      color: white;
      border: none;
      padding: 10px 18px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 14px;
    }

    /* Footer help text */
    .footer-text {
      margin-top: 32px;
      text-align: center;
      font-size: 14px;
      color: #4b5563;
    }

    .footer-text a {
      color: #8b1d2c;
      text-decoration: underline;
    }

    /* Tablet */
@media (max-width: 1024px) {
  .content-tabs {
    grid-template-columns: 280px 1fr;
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container-tabs {
    padding: 18px;
  }

  .content-tabs {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .btn {
    width: 100%;
  }

  .order-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .badge {
    margin-top: 4px;
  }
}

    .step-header {
        display: flex;
        align-items: center;
        margin-bottom: 25px;
        margin-top: 25px;
    }

.step-number {
    width: 40px;
    height: 40px;
    background-color: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}

.step-title {
    font-size: 28px;
    font-weight: 700;
}

.card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    max-width: 850px;
}

.question {
    line-height: 1.6;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-yes {
    background-color: #9f1d35;
    color: #ffffff;
}

.btn-yes:hover {
    background-color: #7f162a;
}

.btn-no {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #111827;
}

.btn-no:hover {
    background-color: #e5e7eb;
}

.code-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.code-box {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 18px;
    width: 200px;
}

/* Icon Circle */
.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: absolute;
    left: -30px;
    top: 35px;
}

/* Content spacing when icon exists */
.card-content {
    margin-left: 50px;
}

/* Headings */
.card-content h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
}

/* Paragraph */
.card-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

/* Table */
.response-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    font-size: 14px;
}

.response-table th {
    text-align: left;
    padding: 12px;
    background-color: #f3f4f6;
    font-weight: 600;
    border-bottom: 1px solid #d1d5db;
}

.response-table td {
    vertical-align: top;
    padding: 15px 12px;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.6;
}

.response-table td:first-child {
    width: 220px;
    font-weight: 500;
    color: #374151;
}

/* Bullet List */
.response-table ul {
    margin: 10px 0 0 20px;
}

.response-table ul li {
    margin-bottom: 6px;
}

/* Confirmation Layout */
.confirmation-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Success Circle */
.success-circle {
    width: 60px;
    height: 50px;
    background-color: #cfd8dc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: #2f4f5f;
}

/* Message */
.confirmation-text {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
}

.form-check {
    padding-right: 1.5em;
}

.date-10 .date-wrap {
    background: #f6f7ef !important;
}

.date-10 .date-wrap .form-control {
    background: #fff !important;
}

#divorcestep9 .inwrap-3 {
    width: 200px !important;
}

.loading-box {
    text-align: center;
    padding: 20px;
    background: transparent;
    border-radius: 8px;
    display: inline-block;
}
.loading-box img {
    width: 80px;
    margin-bottom: 10px;
}
.loading-box span {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    display: block;
}
