/* =========================================================
   SmartMove – Register With Us Page Styles
   Primary colour: #121ee4
   Layout: Form (left col) | Featured Properties (right col)
   ========================================================= */

:root {
    --smr-primary: #121ee4;
    --smr-primary-dark: #0c17b8;
    --smr-primary-light: rgba(18, 30, 228, 0.08);
    --smr-text: #1a1a2e;
    --smr-muted: #666;
    --smr-border: #e0dfe8;
    --smr-bg: #fafafa;
    --smr-card-bg: #fff;
    --smr-radius: 8px;
}

/* =========================================================
   TWO-COLUMN LAYOUT
   ========================================================= */
.smr-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
    margin-top: 10px;
}

/* Form column */
.smr-form-col {
    background: var(--smr-card-bg);
    border-radius: 12px;
    padding: 40px 44px;
    box-shadow: 0 2px 24px rgba(18, 30, 228, 0.07);
    border: 1px solid var(--smr-border);
}

/* Sidebar column */
.smr-sidebar-col {
    position: sticky;
    top: 90px;
}

/* =========================================================
   SIDEBAR – Featured Properties
   ========================================================= */
.smr-sidebar-heading {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--smr-muted);
    margin: 0 0 14px;
}

.smr-prop-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.smr-prop-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(18, 30, 228, 0.09);
    border: 1px solid var(--smr-border);
    background: var(--smr-card-bg);
    text-decoration: none;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.smr-prop-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 30, 228, 0.16);
}

.smr-prop-img-wrap {
    position: relative;
    overflow: hidden;
    height: 150px;
}

.smr-prop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.smr-prop-card:hover .smr-prop-img {
    transform: scale(1.06);
}

.smr-prop-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    background: var(--smr-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 4px;
}

.smr-prop-info {
    padding: 12px 14px 14px;
}

.smr-prop-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--smr-text);
    margin: 0 0 4px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.smr-prop-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--smr-primary);
    margin: 0 0 7px;
}

.smr-prop-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.smr-prop-meta span {
    font-size: 11px;
    color: var(--smr-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.smr-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--smr-border);
}

.smr-section-header:first-of-type {
    margin-top: 0;
}

.smr-section-num {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--smr-primary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.smr-section-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--smr-text) !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* =========================================================
   SUB-HEADINGS (Address / Telephone)
   ========================================================= */
.smr-sub-heading {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--smr-muted);
    margin: 18px 0 10px;
}

/* =========================================================
   GRID ROWS
   ========================================================= */
.smr-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.smr-row.smr-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.smr-row.smr-row-1 {
    grid-template-columns: 1fr;
}

/* =========================================================
   FORM FIELDS
   ========================================================= */
.smr-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.smr-field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--smr-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.smr-required {
    color: #e74c3c;
}

/* Inputs / selects / textarea */
.smr-field input[type="text"],
.smr-field input[type="email"],
.smr-field input[type="number"],
.smr-field select,
.smr-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--smr-border);
    border-radius: var(--smr-radius);
    font-size: 14px;
    color: var(--smr-text);
    background: var(--smr-bg);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.smr-field input[type="text"]:focus,
.smr-field input[type="email"]:focus,
.smr-field input[type="number"]:focus,
.smr-field select:focus,
.smr-field textarea:focus {
    border-color: var(--smr-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(18, 30, 228, 0.1);
}

.smr-field input.smr-error,
.smr-field select.smr-error,
.smr-field textarea.smr-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Select chevron */
.smr-select-wrap {
    position: relative;
}

.smr-select-wrap::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #999;
    pointer-events: none;
}

.smr-field select {
    padding-right: 34px;
    cursor: pointer;
}

.smr-field textarea {
    resize: vertical;
    min-height: 110px;
}

/* Error text */
.smr-field-error {
    font-size: 11px;
    color: #e74c3c;
    font-weight: 600;
    display: none;
    margin-top: 2px;
}

/* =========================================================
   CHECKBOX GRID (Locations / Property Types & Styles)
   ========================================================= */
.smr-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 14px;
    margin-bottom: 12px;
}

.smr-checkbox-grid.smr-checkbox-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.smr-check-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--smr-text);
    cursor: pointer;
    user-select: none;
    line-height: 1.3;
}

.smr-check-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--smr-border);
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    background: var(--smr-bg);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
}

.smr-check-label input[type="checkbox"]:checked {
    background: var(--smr-primary);
    border-color: var(--smr-primary);
}

.smr-check-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.smr-select-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--smr-primary-light);
    border: 1.5px solid rgba(18, 30, 228, 0.2);
    color: var(--smr-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 7px 16px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    margin-top: 6px;
}

.smr-select-all-btn:hover {
    background: rgba(18, 30, 228, 0.14);
    border-color: rgba(18, 30, 228, 0.4);
}

/* =========================================================
   TYPE / STYLE MULTI-SELECT BOXES
   ========================================================= */
.smr-multicheck-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
}

/* =========================================================
   CHARACTER COUNTER
   ========================================================= */
.smr-char-counter {
    font-size: 11px;
    color: #aaa;
    text-align: right;
    margin-top: 4px;
}

/* =========================================================
   FORM FOOTER
   ========================================================= */
.smr-form-footer {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--smr-border);
}

.smr-privacy-note {
    font-size: 13px;
    color: #888;
    margin: 0 0 16px;
    line-height: 1.6;
}

.smr-privacy-note a {
    color: var(--smr-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.smr-recaptcha-wrap {
    margin-bottom: 16px;
}

.smr-submit-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.smr-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--smr-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--smr-radius);
    padding: 14px 36px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(18, 30, 228, 0.3);
}

.smr-submit-btn:hover {
    background: var(--smr-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(18, 30, 228, 0.4);
}

.smr-submit-btn:active {
    transform: translateY(0);
}

.smr-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.smr-btn-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: smr-spin 0.7s linear infinite;
}

.smr-submit-btn.smr-loading .smr-btn-spinner {
    display: inline-block;
}

@keyframes smr-spin {
    to {
        transform: rotate(360deg);
    }
}

.smr-required-note {
    font-size: 12px;
    color: #aaa;
    margin: 10px 0 0;
}

/* Result messages */
.smr-result {
    padding: 14px 18px;
    border-radius: var(--smr-radius);
    font-size: 14px;
    margin-top: 18px;
    display: none;
    line-height: 1.5;
    font-weight: 500;
}

.smr-result.smr-success {
    background: #eef2ff;
    border: 1px solid var(--smr-primary);
    color: var(--smr-primary-dark);
}

.smr-result.smr-error-msg {
    background: #fdedec;
    border: 1px solid #e74c3c;
    color: #922b21;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .smr-layout {
        grid-template-columns: 1fr 280px;
    }
}

@media (max-width: 900px) {
    .smr-layout {
        grid-template-columns: 1fr;
    }

    .smr-sidebar-col {
        order: -1;
        position: static;
    }

    .smr-prop-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .smr-form-col {
        padding: 28px 20px;
    }

    .smr-row,
    .smr-row.smr-row-3 {
        grid-template-columns: 1fr;
    }

    .smr-checkbox-grid,
    .smr-checkbox-grid.smr-checkbox-grid-4,
    .smr-multicheck-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .smr-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .smr-prop-list {
        grid-template-columns: 1fr;
    }
}