.hg-account-page .hg-main {
    background: #f8fafc;
    padding: 0;
}

/* Form controls — match room-hunt / homepage luxury polish */
body.hg-account-page .lux-account-form .lux-account__input,
body.hg-account-page .lux-account-form #accountAddressOpen .lux-account__input {
    display: block;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.5625rem 0.875rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    color: #0f172a;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

body.hg-account-page .lux-account-form .lux-account__input:hover:not(:disabled):not([readonly]) {
    border-color: #94a3b8;
}

body.hg-account-page .lux-account-form .lux-account__input:focus {
    border-color: var(--lux-maroon, #c8102e);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
    background: #fff;
}

body.hg-account-page .lux-account-form .lux-account__input[readonly] {
    background: #f1f5f9;
    color: #475569;
    cursor: default;
    border-color: #e2e8f0;
    box-shadow: none;
}

body.hg-account-page .lux-account-form .lux-account__input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

body.hg-account-page .lux-account-form .lux-account__input.is-empty {
    border-color: #fecdd3;
    background: #fff;
}

body.hg-account-page .lux-account-form #accountAddressOpen {
    display: block;
    cursor: pointer;
}

body.hg-account-page .lux-account-form #accountAddressOpen .lux-account__input {
    padding-right: 2.5rem;
    cursor: pointer;
}

body.hg-account-page .lux-account-form #accountAddressOpen::after {
    content: '';
    position: absolute;
    right: 0.875rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    margin-top: -0.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

body.hg-account-page .lux-account-form #accountAddressOpen {
    position: relative;
}

.lux-account__note.is-ok {
    color: #15803d;
}

.lux-account__note.is-bad {
    color: #c8102e;
}

.lux-account .post-field > span b {
    color: #c8102e;
}

.account-address[hidden] {
    display: none !important;
}

.account-address {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: #00000080;
    box-sizing: border-box;
}

.account-address .post-address-dialog {
    width: min(440px, 100%);
}

.account-address .post-address {
    padding: 20px 20px 18px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 60px #00000026;
}

.account-address .post-address__head {
    position: relative;
    margin-bottom: 16px;
}

.account-address .post-address__head h3 {
    margin: 0;
    color: #1c1c1c;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.account-address .post-address__x {
    position: absolute;
    left: 0;
    top: -2px;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1c1c1c;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.account-address .post-field {
    display: block;
    margin: 0 0 16px;
}

.account-address .post-field > span {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

body.hg-body .account-address .post-input {
    display: block;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.5rem 0.875rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    background: #fff;
    color: #0f172a;
    font-size: 0.8125rem;
    font-weight: 500;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.hg-body .account-address .post-input:focus {
    outline: none;
    border-color: #c8102e;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.account-address .post-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 14px;
}

.account-address .post-address__preview {
    display: flex;
    gap: 10px;
    margin: 8px 0 16px;
    padding: 14px;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.account-address .post-address__done {
    display: block;
    width: 100%;
    height: 44px;
    margin: 8px 0 0;
    border: 0;
    border-radius: 0.75rem;
    background: #c8102e;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.account-address .post-address__done:disabled {
    opacity: 0.6;
    cursor: wait;
}

.account-address .select2-container {
    display: block;
    width: 100% !important;
}

body.hg-body .account-address .select2-container--default .select2-selection--single {
    min-height: 2.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.account-address-drop.select2-dropdown {
    z-index: 2200;
    border-radius: 0.75rem;
    border-color: #e2e8f0;
}
