/* Scoped styles for Home Page Move Form */
.hpmf-wrap {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #163327;
    max-width: 580px;
    margin: 0 auto;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.hpmf-wrap *,
.hpmf-wrap *::before,
.hpmf-wrap *::after {
    box-sizing: border-box;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hpmf-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #E5EAE7;
    box-shadow: 0 4px 20px rgba(22, 51, 39, 0.04);
}

.hpmf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.hpmf-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5A6B63;
    margin-bottom: 6px;
}

.hpmf-title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    color: #163327;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}

.hpmf-subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: #5A6B63;
    margin: 0;
}

.hpmf-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #D6DDD9;
    background: #F9FBFA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hpmf-field-group {
    margin-bottom: 18px;
}

.hpmf-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4A5952;
    margin-bottom: 8px;
}

.hpmf-req {
    color: #4A5952;
}

.hpmf-segmented {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #FFFFFF;
    border: 1px solid #D6DDD9;
    border-radius: 9999px;
    padding: 4px;
    gap: 4px;
}

.hpmf-seg-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: #4A5952;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 10px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: center;
    line-height: 1.2;
}

.hpmf-seg-btn:hover {
    color: #163327;
}

.hpmf-seg-btn.is-active {
    background: #163327;
    color: #FFFFFF;
    font-weight: 600;
}

.hpmf-row {
    display: grid;
    gap: 14px;
}

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

.hpmf-input-prefix-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.hpmf-prefix {
    position: absolute;
    left: 14px;
    font-size: 15px;
    color: #4A5952;
    pointer-events: none;
}

.hpmf-input {
    width: 100%;
    height: 46px;
    padding: 10px 14px;
    font-size: 15px;
    color: #163327;
    background: #FFFFFF;
    border: 1px solid #D6DDD9;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hpmf-input-with-prefix {
    padding-left: 30px;
}

.hpmf-input::placeholder {
    color: #8A9690;
}

.hpmf-input:focus {
    border-color: #163327;
    box-shadow: 0 0 0 3px rgba(22, 51, 39, 0.08);
}

.hpmf-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 6px 0 18px 0;
}

.hpmf-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #4A5952;
    cursor: pointer;
}

.hpmf-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #163327;
    cursor: pointer;
    flex-shrink: 0;
}

.hpmf-checkbox-label a {
    color: #163327;
    text-decoration: underline;
    font-weight: 500;
}

.hpmf-error-banner {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #DC2626;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.hpmf-submit-btn {
    width: 100%;
    height: 50px;
    background: #163327;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.18s ease, transform 0.1s ease;
}

.hpmf-submit-btn:hover {
    background: #223F33;
}

.hpmf-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hpmf-btn-arrow {
    display: inline-flex;
    align-items: center;
}

.hpmf-footer-note {
    text-align: center;
    font-size: 12px;
    color: #6B7280;
    margin-top: 14px;
}

/* Confirmation View */
.hpmf-confirm-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.hpmf-check-circle {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: #163327;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hpmf-confirm-thanks {
    font-size: 16px;
    font-weight: 600;
    color: #163327;
}

.hpmf-confirm-title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    color: #163327;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.hpmf-confirm-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #4A5952;
    margin: 0 0 16px 0;
}

.hpmf-confirm-desc-second {
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .hpmf-card {
        padding: 22px 18px;
    }

    .hpmf-title,
    .hpmf-confirm-title {
        font-size: 24px;
    }

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

    .hpmf-segmented {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 14px;
    }
}
