/* =========================================================
   MAYFAIR — PREMIUM REAL ESTATE FORM
========================================================= */

.mayfair-wrapper {
    --gold: #b8945f;
    --gold-dark: #947342;
    --black: #4F5F4B;
    --text: #292929;
    --muted: #777;
    --border: #e5e1da;
    --light: #f8f7f4;

    width: 100%;
    max-width: 850px;
    margin: 50px auto;
    padding: 0;
    background: #fff;
    border: 1px solid #e9e5df;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.09);
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
}


/* =========================================================
   TOP HEADER
========================================================= */

.mayfair-wrapper::before {
    content: "MAYFAIR";
    display: block;
    padding: 28px 45px;
    background: #4F5F4B;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
    letter-spacing: 4px;
}


/* =========================================================
   PROGRESS AREA
========================================================= */

.mayfair-progress {
    height: 4px;
    width: 100%;
    background: #ece9e3;
    overflow: hidden;
}

.mayfair-progress .progress-bar {
    width: 20%;
    height: 100%;
    background: var(--gold);
    transition: width .45s ease;
}

.step-count {
    padding: 24px 45px 0;
    margin: 0;
    text-align: right;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

#current-step {
    color: var(--gold-dark);
}


/* =========================================================
   FORM AREA
========================================================= */

#mayfair-form {
    padding: 20px 45px 45px;
}

.step {
    display: none;
    animation: mayfairFade .35s ease;
}

.step.active {
    display: block;
}

@keyframes mayfairFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   STEP HEADER
========================================================= */

.step h2 {
    position: relative;
    margin: 0 0 35px;
    padding-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--black);
}

.step h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background: var(--gold);
}


/* =========================================================
   FORM FIELDS
========================================================= */

.field {
    margin-bottom: 25px;
}

.field label {
    display: block;
    margin-bottom: 9px;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
}

.field input,
.field select {
    width: 100%;
    height: 55px;
    padding: 0 17px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: .25s ease;
}

.field input:hover,
.field select:hover {
    border-color: #cfc8bd;
}

.field input:focus,
.field select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(184, 148, 95, .10);
}

.field input::placeholder {
    color: #aaa;
}


/* =========================================================
   PRICE FIELD
========================================================= */

#price {
    background: var(--light);
    border-color: #e3ded5;
    color: var(--black);
    font-weight: 700;
    letter-spacing: .3px;
}


/* =========================================================
   OTP / VERIFY BUTTON
========================================================= */

#send-phone-otp,
#send-email-otp,
#verify-aadhaar {
    height: 45px;
    padding: 0 22px;
    margin-top: -5px;
    border: 1px solid var(--black);
    border-radius: 8px;
    background: var(--black);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}

#send-phone-otp:hover,
#send-email-otp:hover,
#verify-aadhaar:hover {
    background: var(--gold);
    border-color: var(--gold);
}


/* =========================================================
   OTP BOX
========================================================= */

#otp-box,
#email-otp-box,
#aadhaar-otp-box {
    margin-top: 16px;
}

#otp-box input,
#email-otp-box input,
#aadhaar-otp-box input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 9px;
    box-sizing: border-box;
    outline: none;
}


/* =========================================================
   KYC MESSAGE
========================================================= */

#aadhaar-message {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}


/* =========================================================
   ACTION AREA
========================================================= */

.mayfair-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eeeae4;
}

.mayfair-actions button {
    min-width: 135px;
    height: 50px;
    padding: 0 25px;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}


/* Previous */

.prev-btn {
    background: #fff;
    color: #555;
    border: 1px solid #d9d4cc !important;
}

.prev-btn:hover {
    border-color: var(--black) !important;
    color: var(--black);
}


/* Next */

.next-btn {
    margin-left: auto;
    border: 1px solid #4F5F4B !important;
    background: #4F5F4B;
    color: #fff;
}

.next-btn:hover {
    background: var(--gold);
    border-color: var(--gold) !important;
}


/* Payment */

#proceed-payment {
    margin-left: auto;
    min-width: 190px;
    border: 1px solid var(--gold) !important;
    background: var(--gold);
    color: #fff;
}

#proceed-payment:hover:not(:disabled) {
    background: var(--gold-dark);
    border-color: var(--gold-dark) !important;
}


/* Disabled */

.mayfair-actions button:disabled {
    opacity: .45;
    cursor: not-allowed;
}


/* =========================================================
   TERMS & CONDITIONS
========================================================= */

.terms-intro {
    margin: -10px 0 18px;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}

.terms-content {
    height: 330px;
    padding: 28px 30px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #faf9f7;
    color: #555;
    font-size: 13px;
    line-height: 1.8;
    box-sizing: border-box;
}

.terms-content::-webkit-scrollbar {
    width: 5px;
}

.terms-content::-webkit-scrollbar-track {
    background: #eeeae4;
}

.terms-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.terms-content h3 {
    margin-top: 0;
    color: var(--black);
    font-family: Georgia, serif;
    font-size: 19px;
}

.terms-content h4 {
    margin: 24px 0 7px;
    color: #292929;
    font-size: 14px;
    font-weight: 700;
}

.terms-content p {
    margin: 0 0 13px;
}


/* =========================================================
   CHECKBOXES
========================================================= */

.terms-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 22px;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid #e8e3db;
    border-radius: 10px;
    background: #fff;
    color: #555;
    font-size: 12.5px;
    line-height: 1.65;
    cursor: pointer;
    transition: .2s ease;
}

.terms-check:hover {
    border-color: #cdbb9d;
    background: #fdfcf9;
}

.terms-check input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    accent-color: var(--gold);
}


/* =========================================================
   ERROR MESSAGE
========================================================= */

#terms-message {
    padding: 10px 13px;
    border-radius: 7px;
    background: #fff5f5;
    font-size: 12px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .mayfair-wrapper {
        margin: 20px 12px;
        border-radius: 16px;
    }

    .mayfair-wrapper::before {
        padding: 22px 22px;
        font-size: 17px;
    }

    .step-count {
        padding: 20px 22px 0;
    }

    #mayfair-form {
        padding: 15px 22px 28px;
    }

    .step h2 {
        font-size: 26px;
        margin-bottom: 28px;
    }

    .field input,
    .field select {
        height: 52px;
    }

    .mayfair-actions {
        margin-top: 30px;
        padding-top: 20px;
    }

    .mayfair-actions button {
        min-width: 0;
        flex: 1;
        padding: 0 12px;
    }

    #proceed-payment {
        min-width: 0;
    }

    .terms-content {
        height: 280px;
        padding: 20px;
    }
}


@media (max-width: 430px) {

    .mayfair-wrapper {
        margin: 12px 8px;
    }

    .mayfair-wrapper::before {
        padding: 19px 18px;
    }

    .step-count {
        padding-left: 18px;
        padding-right: 18px;
    }

    #mayfair-form {
        padding-left: 18px;
        padding-right: 18px;
    }

    .step h2 {
        font-size: 24px;
    }

    .mayfair-actions {
        gap: 8px;
    }

    .mayfair-actions button {
        font-size: 12px;
        height: 47px;
    }
}

/* =========================================================
   PLOT TABLE
========================================================= */

.plot-selection-header {

    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;

}

.plot-selection-header h3 {

    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--black);

}

.plot-selection-header span {

    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #999;

}

.plot-table-wrapper {

    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;

}

.plot-table-row {

    display: grid;
    grid-template-columns: 1.6fr 1.2fr 1.4fr;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #f0eee9;

}

.plot-table-row:last-child {

    border-bottom: none;

}

.plot-table-row-heading {

    padding: 12px 20px;
    background: #fafaf9;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #999;
    border-bottom: 1px solid var(--border);

}

.plot-table-row-option {

    cursor: pointer;
    transition: background .2s ease;

}

.plot-table-row-option:hover {

    background: #fbf7ef;

}

.plot-table-row-option.selected {

    background: #fbf7ef;

}

.plot-col-size {

    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--black);

}

.plot-col-size input[type="radio"] {

    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;

}

#selected-plot-summary .summary-note {

    display: block;
    justify-content: normal;
    align-items: normal;
    line-height: 1.7;

}

#summary-full-price {

    display: inline;
    white-space: nowrap;

}

.plot-col-launch {

    font-size: 13px;
    color: #999;
    text-decoration: line-through;

}

.plot-col-eoi {

    font-size: 15px;
    font-weight: 700;
    color: var(--black);

}


/* =========================================================
   SELECTED PLOT SUMMARY
========================================================= */

#selected-plot-summary {

    margin-top: 20px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #faf9f7;

}

#selected-plot-summary > div {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13.5px;
    color: #444;

}

#selected-plot-summary hr {

    margin: 12px 0;
    border: none;
    border-top: 1px solid var(--border);

}

#selected-plot-summary p {

    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.7;
    color: #666;

}


/* =========================================================
   MOBILE — PLOT TABLE
========================================================= */

@media (max-width: 640px) {

    .plot-table-row {

        grid-template-columns: 1fr 1fr;
        row-gap: 6px;

    }

    .plot-table-row-heading {

        display: none;

    }

    .plot-col-size {

        grid-column: 1 / 3;

    }

    .plot-col-launch::before {

        content: "At Launch: ";
        font-weight: 600;
        text-decoration: none;
        color: #999;

    }

    .plot-col-eoi::before {

        content: "EOI Price: ";
        font-weight: 600;
        color: #999;

    }

}

/* =========================================================
   SELECTED PLOT SUMMARY
========================================================= */

#selected-plot-summary {
    display: none;
    margin-top: 18px;
    padding: 26px 24px;
    border: 1px solid #ddd9ce;
    background: #ffffff;
    box-sizing: border-box;
}


/* TOP 3 DETAILS */

#selected-plot-summary > div:first-child {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 45px;
}

#selected-plot-summary > div:first-child > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

#selected-plot-summary span {
    font-size: 15px;
    color: #7c826e;
}

#selected-plot-summary div strong {
    font-family: "Courier New", monospace;
    font-size: 21px;
    font-weight: 500;
    color: #3b4230;
}


/* YOUR BENEFIT */

#summary-benefit {
    color: #3d873d !important;
}


/* DIVIDER */

#selected-plot-summary hr {
    border: 0;
    border-top: 1px solid #dcd8cc;
    margin: 25px 0;
}


/* EOI AMOUNT */

#selected-plot-summary hr + div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#selected-plot-summary hr + div > strong:first-child {
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: #37402b;
}

#summary-eoi-amount {
    font-family: "Courier New", monospace !important;
    font-size: 30px !important;
    font-weight: 500 !important;
    color: #947342 !important;
    white-space: nowrap;
}


/* YELLOW INFORMATION BOX */

#selected-plot-summary hr + div + div {
    margin-top: 24px;
    padding: 15px 16px;
    background: #fff3d5;
    border-radius: 3px;
    color: #9a6b15;
    font-size: 14px;
    line-height: 1.7;
}

#summary-full-price {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    color: #9a6b15 !important;
}


/* BOTTOM INFO */

#selected-plot-summary p {
    margin: 14px 0 0;
    color: #7b806b;
    font-size: 14px;
    line-height: 1.7;
}

#selected-plot-summary p strong {
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    color: #4b513d;
}


/* MOBILE */

@media (max-width: 640px) {

    #selected-plot-summary {
        padding: 20px 16px;
    }

    #selected-plot-summary > div:first-child {
        grid-template-columns: 1fr 1fr;
        gap: 20px 15px;
    }

    #selected-plot-summary div strong {
        font-size: 18px;
    }

    #selected-plot-summary hr + div {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    #summary-eoi-amount {
        font-size: 26px !important;
    }

    #selected-plot-summary hr + div + div {
        font-size: 13px;
    }

}