@font-face {
    font-family: 'Poppins';
    font-weight: 400;
    src: url('fonts/poppins-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 500;
    src: url('fonts/poppins-medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 600;
    src: url('fonts/poppins-semibold.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 700;
    src: url('fonts/poppins-bold.woff2') format('woff2');
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #ffffff;
    color: #000;
    /* font-size: 14px; */
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
}

.error {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
    padding: .8em;
    margin-bottom: 1em;
    margin-top: 1em;
    font-size: 14px;
    border: 2px solid #ddd;
}


/* ── HEADER ── */

.header {
    background: linear-gradient(90deg, #1fb6d9 0%, #0981a9 100%);
    display: flex;
    align-items: center;
    gap: 22px;
}

.header .header_inenr {
    display: flex;
    padding: 25px 10px;
    gap: 20px;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}

.logo-box {
    border-radius: 4px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    min-width: 130px;
    flex-shrink: 0;
    line-height: 1.15;
    width: 15%;
}

.logo-box img {
    width: 100%;
    max-width: 125px;
}

.header .header-text {
    flex: 1;
}

.header .header-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4em;
}

.header .header-sub {
    font-size: 22px;
    color: #ffffff;
    line-height: 1.4;
    font-weight: 400;
}


/* ── MAIN CONTENT ── */

.main_theme13 {
    max-width: 1090px;
    margin: 0 auto;
    padding: 0 24px 0;
}


/* MLS Logo */

.main_theme13 .mls-logo-wrap {
    text-align: center;
    margin-bottom: 22px;
    padding-top: 40px;
}


/* Body text paragraphs */

.main_theme13 .body-text {
    font-size: 16px;
    line-height: 1.4em;
    color: #000;
    text-align: justify;
    margin-bottom: 16px;
    font-weight: 400;
}


/* ── PHOTO GRID ── */

.main_theme13 .photo-section {
    margin: 40px 0 0;
    padding-bottom: 10px;
}

.main_theme13 .photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 6px;
}

.main_theme13 .photo-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}


/* placeholder tiles for images */

.main_theme13 .photo-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.main_theme13 .photo-tile img {
    object-fit: cover;
    min-width: 100%;
    width: auto !important;
    height: 290px;
    border-radius: 8px;
}


/* ── DISCLAIMER ── */

.main_theme13 .disclaimer {
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    margin-top: 32px;
    margin-bottom: 15px;
    padding: 22px 0 16px;
    text-align: center;
}

.main_theme13 .disclaimer p {
    color: #000;
    line-height: 1.3em;
    margin: 0 auto 15px;
    text-align: center;
    font-size: 14px;
}


/* ── FOOTER ── */

.footer {
    /* border-top: 1px solid #dddddd; */
    padding: 18px 24px 30px;
    text-align: center;
}

.footer-address {
    font-size: 14px;
    color: #000;
    margin-bottom: 18px;
}

.footer-address a {
    color: #0097b2;
    text-decoration: none;
}

.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.main_theme13 .card {
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.13);
    box-shadow: 0px 15px 33px 4px #00000026;
    width: 100%;
    max-width: 548px;
    overflow: hidden;
    margin: auto;
    margin-top: auto;
    margin-bottom: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.main_theme13 .card-body {
    padding: 40px 40px 36px 40px;
    margin-bottom: 10px;
}

.main_theme13 h1 {
    font-size: 2rem;
    font-weight: 500;
    color: #000;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.2px;
    line-height: 1.25;
}

.main_theme13 .subtitle {
    font-size: 22px;
    color: #000;
    margin-top: 15px;
    margin-bottom: 28px;
    font-weight: 400;
    font-family: 'Roboto';
}

.main_theme13 .spacer {
    height: 28px;
}

.main_theme13 .field {
    margin-bottom: 20px;
}

.main_theme13 .field-label {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    margin-bottom: 10px;
}

.main_theme13 input[type="text"],
.main_theme13 input[type="email"],
.main_theme13 input[type="tel"],
.main_theme13 select {
    width: 100%;
    padding: 9px 18px 9px 18px;
    border: 1px solid #a9b3c6FF;
    border-radius: 5px;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    color: #000;
    background: #ffffff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.15s;
}

.main_theme13 input::placeholder {
    color: #8c8c8cFF;
    font-size: 12px;
}

.main_theme13 input:focus,
.main_theme13 select:focus {
    border-color: #1565C0;
}


/* Radio */

.main_theme13 .radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 2px;
}

.main_theme13 .radio-group input {
    width: 15px;
    height: 15px;
}

.main_theme13 label.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #000;
    cursor: pointer;
    font-weight: 400;
    user-select: none;
}


/* Checkbox */

.main_theme13 .check-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 2px;
}

.main_theme13 .checkbox {
    line-height: 2;
}

.main_theme13 .checkbox input {
    width: 15px;
    height: 15px;
}

.main_theme13 .checkbox label {
    /* display: flex;
      align-items: center; */
    /* gap: 9px; */
    font-size: 15px;
    color: #000;
    cursor: pointer;
    font-weight: 400;
    user-select: none;
    margin-left: 5px;
}

.main_theme13 .area-selection .checkbox {
    margin-bottom: 5px;
}

.main_theme13 .area-selection .checkbox label {
    margin-left: 10px;
}

.main_theme13 .error-msg {
    color: #cb3837;
    font-size: .875rem;
    margin-top: 10px;
    display: none;
    font-weight: 400;
}

.main_theme13 .neighborhood_fieldset {
    width: 100% !important;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.main_theme13 .neighborhood_fieldset legend {
    font-size: 13px;
    font-weight: 500;
    padding: 0 5px;
}

.main_theme13 .neighborhood_fieldset {
    display: flex;
    flex-wrap: wrap;
}

.main_theme13 .neighborhood_fieldset>div {
    width: 50%;
    display: inline-block;
    margin-bottom: 8px;
}

.main_theme13 .neighborhood_fieldset input[type="checkbox"] {
    margin-right: 6px;
}

.main_theme13 .neighborhood_fieldset label {
    font-size: 13px;
    cursor: pointer;
}

.main_theme13 .neighborhood_fieldset div[style*="color"] {
    width: 100% !important;
    color: red !important;
    font-size: 13px !important;
    margin-top: 8px;
}

@media (max-width: 767px) {
    .main_theme13 .neighborhood_fieldset>div {
        width: 100%;
    }
    .main_theme13 .neighborhood_fieldset {
        padding: 10px;
    }
    .main_theme13 .neighborhood_fieldset label {
        font-size: 14px;
    }
}


/* Footer */


/* .card-footer { display: flex; width: 100%; border-top: 1px solid #e0e0e0; } */

.main_theme13 .card-footer {
    background: #007ce2FF;
    display: flex;
    width: 100%;
    border-top: 1px solid #e0e0e0;
    justify-content: space-between;
    height: 50px;
}

.main_theme13 .btn-back {
    background: transparent;
    color: #ffffff;
    border: none;
    padding: 18px 22px !important;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    /* letter-spacing: 0.05em; */
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    flex: 0 0 auto;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.14s;
}

.main_theme13 .btn-back:hover {
    border: none;
    background: transparent;
    color: #ffffff;
}

.main_theme13 .btn-continue {
    background: #0000001A;
    color: #ffffff;
    border: none;
    padding: 18px 22px !important;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    /* letter-spacing: 0.05em; */
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    transition: background 0.14s;
}

.main_theme13 .btn-continue:hover {
    border: none;
    background: #0000001A;
    color: #ffffff;
}

.main_theme13 .step {
    display: none;
    padding-top: 10px;
}

.step.active {
    display: block;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    .header .header_inenr {
        display: block;
        text-align: center;
    }
    .header .header-title {
        font-size: 28px;
    }
    .header .logo-box {
        margin: auto;
    }
    .header .header-sub {
        font-size: 17px;
    }
    .main_theme13 .body-text {
        text-align: center;
    }
    .main_theme13 .photo-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Hide real select from view but keep for form submit */

.custom-dd-wrap select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.custom-dd-wrap {
    position: relative;
    width: 100%;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    color: #111;
    user-select: none;
    touch-action: manipulation;
}


/* Trigger (closed state) */

.cdd-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cccccc;
    border-radius: .25rem;
    background: #ffffff;
    cursor: pointer;
    color: #111;
    transition: border-color 0.15s;
    box-sizing: border-box;
    line-height: 1.4;
}

.cdd-trigger.placeholder {
    color: #aaaaaa;
    padding-left: 20px;
}

.cdd-trigger:focus {
    outline: none;
    border-color: #1565C0;
}


/* Arrow */

.cdd-arrow {
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #999;
    transition: transform 0.18s;
    margin-left: 8px;
}

.custom-dd-wrap.open .cdd-trigger {
    border-color: #1565C0;
}

.custom-dd-wrap.open .cdd-arrow {
    transform: rotate(180deg);
}


/* Dropdown list panel */

.cdd-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-top: none;
    max-height: 260px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
}

.custom-dd-wrap.open .cdd-list {
    display: block;
}


/* Each option row */

.cdd-option {
    padding: 10px 14px;
    cursor: pointer;
    color: #607179;
    font-size: .875rem;
    font-weight: 400;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s;
    line-height: 25px;
}

.cdd-option:last-child {
    border-bottom: none;
}


/* HOVER — light sky-blue background, normal text */

.cdd-option:hover {
    background: #e3f2fd;
    color: #188bf6;
    font-weight: 400;
}


/* SELECTED/ACTIVE — stronger blue bg, blue bold text (matches Image 1) */

.cdd-option.selected {
    background: #f3f3f3;
    color: #666;
    font-weight: 600;
}


/* Hover on already-selected row */

.cdd-option.selected:hover {
    background: #90caf9;
    color: #0d47a1;
}


/* Scrollbar */

.cdd-list::-webkit-scrollbar {
    width: 6px;
}

.cdd-list::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.cdd-list::-webkit-scrollbar-thumb {
    background: #bbbbbb;
    border-radius: 3px;
}