/* =========================================================
   TÀI KHOẢN - THÔNG TIN CÁ NHÂN
========================================================= */

.inh-account-page {
    width: 100%;
    background: #ffffff;
    padding: 30px 0 60px;
    box-sizing: border-box;
}

.inh-account-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;

    box-sizing: border-box;
}


/* =========================================================
   SIDEBAR
========================================================= */

.inh-account-sidebar {
    flex: 0 0 280px;
    max-width: 280px;

    box-sizing: border-box;
}

.inh-account-card {
    background: #08265B;
    border-radius: 10px;
    padding: 30px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-sizing: border-box;
}

.inh-account-avatar {
    width: 96px;
    height: 96px;

    margin-bottom: 14px;

    border-radius: 16px;
    overflow: hidden;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;
}

.inh-account-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.inh-account-badge {
    padding: 5px 18px;

    background: #ffffff;
    color: #08265B;

    border-radius: 20px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
}


/* =========================================================
   STATS
========================================================= */

.inh-account-stats {
    display: flex;
    flex-direction: row;

    margin-top: 14px;

    border: 1px solid #e5e5e5;
    border-radius: 10px;

    overflow: hidden;
}

.inh-account-stat {
    flex: 1 1 50%;

    padding: 16px 10px;

    text-align: center;

    box-sizing: border-box;
}

.inh-account-stat+.inh-account-stat {
    border-left: 1px solid #e5e5e5;
}

.inh-account-stat-icon {
    color: #08265B;
    font-size: 18px;
    margin-bottom: 4px;
}

.inh-account-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.inh-account-stat-label {
    margin-top: 2px;
    font-size: 12px;
    color: #888888;
}


/* =========================================================
   MENU
========================================================= */

.inh-account-menu {
    margin-top: 20px;

    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;

    overflow: hidden;
}

.inh-account-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 16px;

    color: #333333;
    text-decoration: none;
    font-size: 14px;

    border-bottom: 1px solid #f0f0f0;

    transition: background-color 0.15s ease, color 0.15s ease;
}

.inh-account-menu-item:last-child {
    border-bottom: none;
}

.inh-account-menu-item:hover {
    background: #f4faf7;
    color: #08265B;
}

.inh-account-menu-icon {
    width: 20px;
    flex: 0 0 20px;
    text-align: center;
    color: #08265B;
}


/* =========================================================
   CONTENT
========================================================= */

.inh-account-content {
    flex: 1 1 auto;
    min-width: 0;

    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;

    padding: 30px;

    box-sizing: border-box;
}

.inh-account-title {
    margin: 0 0 24px;

    color: #08265B;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
}


/* =========================================================
   MESSAGE
========================================================= */

.inh-account-message {
    margin: 0 0 18px;
    padding: 10px 14px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 500;
}

.inh-account-message.is-error {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

.inh-account-message.is-success {
    background: #EDF3FA;
    color: #08265B;
    border: 1px solid #DAE5F3;
}


/* =========================================================
   FORM
========================================================= */

.inh-account-form {
    width: 100%;
    max-width: 640px;
}

.inh-account-field {
    margin-bottom: 20px;
}

.inh-account-field label,
.inh-account-row-label {
    display: block;
    margin-bottom: 8px;

    color: #172A49;
    font-size: 14px;
    font-weight: 600;
}

.inh-required {
    color: #e02020;
}

.inh-account-field input[type="text"],
.inh-account-field input[type="email"],
.inh-account-field input[type="date"] {
    display: block;
    width: 100%;
    height: 48px;

    padding: 0 14px;

    border: 1px solid #DCE5F1;
    border-radius: 10px;

    font-size: 14px;
    color: #222222;

    box-sizing: border-box;

    outline: none;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inh-account-field input:focus {
    border-color: #08265B;
    box-shadow: 0 0 0 3px rgba(8, 38, 91, 0.10);
}

.inh-account-field input.is-readonly {
    background: #f5f6f7;
    color: #888888;
    cursor: not-allowed;
}


/* =========================================================
   RADIO ROW
========================================================= */

.inh-account-field-row {
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.inh-account-row-label {
    margin: 0;
    flex: 0 0 auto;
    min-width: 140px;
}

.inh-account-choices {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.inh-account-choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 14px;
    color: #333333;

    cursor: pointer;
}

.inh-account-choice input[type="radio"] {
    width: 20px;
    height: 20px;

    accent-color: #08265B;

    cursor: pointer;
}


/* =========================================================
   ACTIONS
========================================================= */

.inh-account-actions {
    margin-top: 10px;
}

.inh-account-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 160px;
    height: 48px;

    padding: 0 24px;

    background: #08265B;
    color: #ffffff;

    border: 0;
    border-radius: 10px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: background-color 0.2s ease, transform 0.2s ease;
}

.inh-account-submit:hover {
    background: #061A42;
    transform: translateY(-1px);
}

.inh-account-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .inh-account-wrapper {
        flex-direction: column;
    }

    .inh-account-sidebar {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .inh-account-content {
        width: 100%;
    }

    .inh-account-row-label {
        min-width: 100%;
    }

}

.inh-account-vat-section {
    margin-top: 30px;
}

.inh-account-vat-section[hidden] {
    display: none !important;
}

.inh-account-password-section {
    margin-top: 30px;
}

/* =========================================================
   ĐỔI MẬT KHẨU - Ô NHẬP + NÚT GẤU TRÚC
========================================================= */

.inh-password-input-wrap {
    position: relative;
    width: 100%;
}

.inh-password-input-wrap input[type="password"],
.inh-password-input-wrap input[type="text"] {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 60px 0 14px !important;

    background: #f5f6f7;
    border: 1px solid #DCE5F1;
    border-radius: 10px;

    font-family: inherit;
    font-size: 14px;
    color: #222222;

    box-sizing: border-box;
    outline: none;

    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.inh-password-input-wrap input:focus {
    background: #ffffff;
    border-color: #08265B;
    box-shadow: 0 0 0 3px rgba(8, 38, 91, 0.10);
}

.inh-password-input-wrap input::placeholder {
    color: #8a938f;
}

/* Nút gấu trúc */
.inh-password-input-wrap .inh-password-toggle,
.inh-password-input-wrap .inh-password-toggle:hover,
.inh-password-input-wrap .inh-password-toggle:focus,
.inh-password-input-wrap .inh-password-toggle:active {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;

    background: transparent !important;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    outline: none;

    cursor: pointer;
    transition: background-color 0.2s ease;
}

.inh-password-input-wrap .inh-password-toggle:hover {
    background: #eaf6f0 !important;
}

.inh-password-input-wrap .inh-password-toggle:focus-visible {
    box-shadow: 0 0 0 2px rgba(8, 38, 91, 0.35);
}

.inh-pw-bear {
    display: block;
    width: 32px;
    height: 32px;
    line-height: 0;
}

.inh-pw-bear svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Mặc định (mật khẩu ẩn): gấu trúc che mắt */
.inh-pw-bear--open {
    display: none;
}

/* Khi mật khẩu hiện: gấu trúc mở mắt */
.inh-password-toggle.is-visible .inh-pw-bear--shy {
    display: none;
}

.inh-password-toggle.is-visible .inh-pw-bear--open {
    display: block;
    animation: inh-pw-pop 0.25s ease-out;
}

@keyframes inh-pw-pop {
    0%   { transform: scale(0.7); }
    60%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .inh-password-toggle.is-visible .inh-pw-bear--open {
        animation: none;
    }
}

.inh-account-menu-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inh-account-menu-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* MENU ĐANG ĐƯỢC CHỌN */
.inh-account-menu-item.active {
    background: #EDF3FA;
    color: #08265b;
    font-weight: 600;
}

/* ICON */
/* .inh-account-menu-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 1px;
    color: #666;
} */

.inh-account-menu-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ICON CỦA ITEM ĐANG CHỌN */
.inh-account-menu-item.active .inh-account-menu-icon {
    background: #0a306c;
    color: #fff;
}

/* =========================================================
   TÀI KHOẢN - ĐỊA CHỈ GIAO HÀNG
   Giao diện bám theo mẫu
========================================================= */


/* =========================================================
   ACCOUNT PAGE
========================================================= */

.inh-address-content {
    padding: 26px 28px 30px;
    background: #ffffff;
    border: 0;
    border-radius: 10px;
    box-sizing: border-box;
}


/* =========================================================
   HEADER ĐỊA CHỈ
========================================================= */

.inh-address-header {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;

    box-sizing: border-box;
}

.inh-address-heading {
    display: flex;
    align-items: center;
    min-width: 0;
}

.inh-address-content .inh-account-title {
    display: flex;
    align-items: center;
    gap: 9px;

    margin: 0;

    color: #172A49;

    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0;
}


/* =========================================================
   SỐ LƯỢNG ĐỊA CHỈ
========================================================= */

.inh-address-count {
    min-width: 31px;
    height: 24px;

    padding: 0 8px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    background: #EDF3FA;
    color: #123E76;

    border-radius: 999px;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}


/* =========================================================
   BUTTON THÊM ĐỊA CHỈ
========================================================= */

.inh-address-add-btn {
    min-height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 0 15px;

    border: 0;
    border-radius: 7px;

    background: #061C48;
    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 3px 8px rgba(6, 28, 72, 0.16);

    transition:
        background-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.inh-address-add-btn:hover {
    background: #061A42;
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow: 0 5px 12px rgba(6, 28, 72, 0.22);
}

.inh-address-add-btn:active {
    transform: translateY(0);
}

.inh-address-add-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    line-height: 1;
    font-weight: 500;
}


/* =========================================================
   MESSAGE
========================================================= */

.inh-address-content .inh-account-message {
    margin-bottom: 15px;
}


/* =========================================================
   ADDRESS LIST
========================================================= */

.inh-address-list {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 11px;

    box-sizing: border-box;
}


/* =========================================================
   ADDRESS CARD
========================================================= */

.inh-address-card {
    width: 100%;
    min-height: 92px;

    display: flex;
    align-items: center;

    padding: 14px 16px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e6e6e6;
    border-radius: 14px;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.inh-address-card:hover {
    border-color: #d2e4dc;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
}


/* =========================================================
   ADDRESS CARD - MẶC ĐỊNH
========================================================= */

.inh-address-card.is-default {
    background: #f7fbf9;
    border-color: #123E76;
}

.inh-address-card.is-default:hover {
    border-color: #123E76;
}


/* =========================================================
   LOCATION ICON
========================================================= */

.inh-address-card-icon {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    margin-right: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #EDF3FA;

    border-radius: 50%;

    color: #123E76;

    box-sizing: border-box;
}

.inh-address-card-icon svg {
    width: 20px;
    height: 20px;

    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   ADDRESS INFORMATION
========================================================= */

.inh-address-card-info {
    flex: 1 1 auto;
    min-width: 0;

    padding-right: 16px;

    box-sizing: border-box;
}


/* =========================================================
   NAME + DEFAULT
========================================================= */

.inh-address-card-name-row {
    min-width: 0;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-bottom: 4px;
}

.inh-address-card-name {
    max-width: 100%;

    color: #202624;

    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;

    overflow-wrap: anywhere;
}


/* =========================================================
   DEFAULT BADGE
========================================================= */

.inh-address-default-badge {
    height: 22px;

    display: inline-flex;
    align-items: center;
    gap: 4px;

    padding: 0 8px;

    box-sizing: border-box;

    background: #F2F6FB;
    border: 1px solid #c9e3d8;
    border-radius: 999px;

    color: #123E76;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}

.inh-address-default-badge svg {
    width: 11px;
    height: 11px;

    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   ADDRESS TEXT
========================================================= */

.inh-address-card-address {
    margin-bottom: 5px;

    color: #465672;

    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;

    overflow-wrap: anywhere;
}


/* =========================================================
   PHONE
========================================================= */

.inh-address-card-phone {
    display: flex;
    align-items: center;
    gap: 5px;

    color: #6d7672;

    font-size: 11px;
    line-height: 1.3;
}

.inh-address-card-phone svg {
    width: 13px;
    height: 13px;

    flex: 0 0 13px;

    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   CARD ACTIONS
========================================================= */

.inh-address-card-actions {
    flex: 0 0 auto;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
}


/* =========================================================
   ACTION BUTTON
========================================================= */

.inh-address-action-btn {
    min-width: 58px;
    height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    padding: 0 8px;

    border: 0;
    border-radius: 5px;

    background: transparent;

    font-family: inherit;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        color 0.18s ease;
}


/* =========================================================
   EDIT
========================================================= */

.inh-address-edit-btn {
    background: #F2F6FB;
    color: #123E76;
}

.inh-address-edit-btn:hover {
    background: #dcefe8;
    color: #061C48;
}


/* =========================================================
   DELETE
========================================================= */

.inh-address-delete-btn {
    background: #fff1f1;
    color: #dc5a5a;
}

.inh-address-delete-btn:hover {
    background: #ffe3e3;
    color: #c94141;
}


/* =========================================================
   ACTION ICON
========================================================= */

.inh-address-action-btn svg {
    width: 13px;
    height: 13px;

    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.inh-address-empty {
    width: 100%;

    min-height: 280px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 35px 20px;

    box-sizing: border-box;

    border: 1px dashed #d7e4df;
    border-radius: 14px;

    background: #fbfdfc;

    text-align: center;
}


/* EMPTY ICON */

.inh-address-empty-icon {
    width: 52px;
    height: 52px;

    margin-bottom: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #EDF3FA;
    color: #123E76;
}

.inh-address-empty-icon svg {
    width: 25px;
    height: 25px;

    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* EMPTY TITLE */

.inh-address-empty-title {
    margin-bottom: 7px;

    color: #172A49;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}


/* EMPTY TEXT */

.inh-address-empty-text {
    margin-bottom: 18px;

    color: #7b8580;

    font-size: 12px;
    line-height: 1.5;
}


/* EMPTY BUTTON */

.inh-address-empty-btn {
    min-height: 36px;

    padding: 0 17px;

    border: 0;
    border-radius: 7px;

    background: #061C48;
    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        transform 0.18s ease;
}

.inh-address-empty-btn:hover {
    background: #061A42;
    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   PAGINATION
========================================================= */

.inh-address-pagination {
    margin-top: 19px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.inh-address-pagination-btn,
.inh-address-pagination-number {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 8px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    box-sizing: border-box;

    cursor: pointer;
}

.inh-address-pagination-btn {
    background: #f1f3f2;
    color: #777e7b;
}

.inh-address-pagination-btn:hover {
    background: #e7ecea;
    color: #061C48;
}

.inh-address-pagination-btn.is-disabled {
    opacity: 0.55;
    cursor: default;
}

.inh-address-pagination-number {
    background: #f1f3f2;
    color: #4d5752;
}

.inh-address-pagination-number:hover {
    background: #e5efeb;
    color: #061C48;
}

.inh-address-pagination-number.is-active {
    background: #061C48;
    color: #ffffff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .inh-address-content {
        padding: 22px 20px 25px;
    }

    .inh-address-header {
        align-items: flex-start;
        gap: 15px;
    }

    .inh-address-add-btn {
        flex: 0 0 auto;
    }

    .inh-address-card {
        align-items: flex-start;
    }

    .inh-address-card-actions {
        padding-top: 1px;
    }

}


@media (max-width: 640px) {

    .inh-address-content {
        padding: 20px 14px 24px;
    }

    .inh-address-header {
        flex-direction: column;
        align-items: stretch;
    }

    .inh-address-add-btn {
        width: 100%;
    }

    .inh-address-card {
        padding: 13px;
    }

    .inh-address-card-icon {
        width: 34px;
        height: 34px;

        flex-basis: 34px;

        margin-right: 9px;
    }

    .inh-address-card-info {
        padding-right: 8px;
    }

    .inh-address-card-actions {
        flex-basis: 54px;
    }

    .inh-address-action-btn {
        min-width: 54px;
        padding: 0 5px;
    }

}


@media (max-width: 480px) {

    .inh-address-card {
        flex-wrap: wrap;
    }

    .inh-address-card-icon {
        margin-right: 9px;
    }

    .inh-address-card-info {
        flex: 1 1 calc(100% - 55px);
    }

    .inh-address-card-actions {
        width: 100%;

        flex: 0 0 100%;

        margin-top: 10px;
        padding-left: 45px;

        flex-direction: row;
        justify-content: flex-start;
    }

}

/* =========================================================
   ACCOUNT SIDEBAR - LOGOUT
========================================================= */

.inh-account-logout {
    margin-top: 8px;

    padding: 8px;

    background: #ffffff;

    border: 1px solid #e5e5e5;
    border-radius: 10px;

    box-sizing: border-box;
}

.inh-account-logout-btn {
    width: 100%;
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 0 12px;

    background: #fff5f5;

    border: 1px solid #f2cccc;
    border-radius: 7px;

    color: #c94c4c;

    text-decoration: none;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    box-sizing: border-box;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.inh-account-logout-btn:hover {
    background: #ffebeb;
    border-color: #eab4b4;

    color: #b63e3e;

    text-decoration: none;
}

.inh-account-logout-icon {
    width: 16px;
    height: 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 16px;
}

.inh-account-logout-icon svg {
    width: 15px;
    height: 15px;

    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   INH - ADDRESS MODAL
   ========================================================= */

/* Khi modal đóng */
.inh-address-modal[hidden] {
    display: none !important;
}

/* Modal phủ toàn màn hình */
.inh-address-modal {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 20px !important;
    box-sizing: border-box !important;

    z-index: 999999 !important;
}

/* Lớp nền tối */
.inh-address-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 100% !important;

    background: rgba(0, 0, 0, 0.55) !important;

    z-index: 0 !important;
}

/* Hộp modal */
.inh-address-modal-dialog {
    position: relative !important;

    z-index: 1 !important;

    width: 560px !important;
    max-width: calc(100vw - 40px) !important;

    max-height: calc(100vh - 40px) !important;

    overflow-y: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    border-radius: 18px !important;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25) !important;

    box-sizing: border-box !important;
}


/* =========================================================
   HEADER
   ========================================================= */

.inh-address-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;

    padding: 20px 22px !important;

    box-sizing: border-box !important;

    border-bottom: 1px solid #eeeeee !important;
}

.inh-address-modal-header h2 {
    margin: 0 !important;

    font-size: 20px !important;
    line-height: 1.3 !important;

    font-weight: 600 !important;

    color: #222222 !important;
}


/* Nút X */
.inh-address-modal-close {
    width: 36px !important;
    height: 36px !important;

    min-width: 36px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    border-radius: 8px !important;

    background: #f2f2f2 !important;
    color: #555555 !important;

    font-size: 22px !important;
    line-height: 1 !important;

    cursor: pointer !important;
}

.inh-address-modal-close:hover {
    background: #08265B !important;
    color: #ffffff !important;
}


/* =========================================================
   BODY
   ========================================================= */

.inh-address-modal-body {
    padding: 22px !important;

    box-sizing: border-box !important;
}


/* =========================================================
   FORM
   ========================================================= */

.inh-address-form {
    display: flex !important;
    flex-direction: column !important;

    gap: 15px !important;

    margin: 0 !important;
}


/* Mỗi dòng */
.inh-address-form-row {
    display: grid !important;

    grid-template-columns: 130px minmax(0, 1fr) !important;

    align-items: center !important;

    column-gap: 15px !important;

    width: 100% !important;

    margin: 0 !important;
}


/* Label */
.inh-address-form-label {
    display: block !important;

    margin: 0 !important;

    padding: 0 !important;

    font-size: 14px !important;
    line-height: 1.4 !important;

    font-weight: 500 !important;

    color: #333333 !important;
}


/* Ô input */
.inh-address-form-control {
    min-width: 0 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

.inh-address-form-control input,
.inh-address-form-control select {
    display: block !important;

    width: 100% !important;

    height: 44px !important;
    min-height: 44px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    box-sizing: border-box !important;

    border: 1px solid #dddddd !important;

    border-radius: 8px !important;

    background: #ffffff !important;

    color: #222222 !important;

    font-family: inherit !important;
    font-size: 14px !important;

    outline: none !important;
}

.inh-address-form-control input:focus,
.inh-address-form-control select:focus {
    border-color: #08265B !important;

    box-shadow:
        0 0 0 3px rgba(8, 38, 91, 0.10) !important;
}


/* Select disabled */
.inh-address-form-control select:disabled {
    background: #f5f5f5 !important;

    color: #999999 !important;

    cursor: not-allowed !important;
}


/* =========================================================
   ĐỊA CHỈ MẶC ĐỊNH
   ========================================================= */

.inh-address-default-row {
    display: flex !important;
    align-items: center !important;

    gap: 9px !important;

    margin-top: 2px !important;
}

.inh-address-switch {
    display: inline-flex !important;
    align-items: center !important;

    margin: 0 !important;

    cursor: pointer !important;
}

.inh-address-switch input {
    position: absolute !important;

    opacity: 0 !important;

    pointer-events: none !important;
}

.inh-address-switch-track {
    position: relative !important;

    display: block !important;

    width: 40px !important;
    height: 22px !important;

    border-radius: 999px !important;

    background: #d5d5d5 !important;

    transition: 0.2s ease !important;
}

.inh-address-switch-thumb {
    position: absolute !important;

    top: 3px !important;
    left: 3px !important;

    width: 16px !important;
    height: 16px !important;

    border-radius: 50% !important;

    background: #ffffff !important;

    box-shadow: 0 1px 3px rgba(0,0,0,.2) !important;

    transition: 0.2s ease !important;
}

.inh-address-switch input:checked + .inh-address-switch-track {
    background: #08265B !important;
}

.inh-address-switch input:checked + .inh-address-switch-track
.inh-address-switch-thumb {
    transform: translateX(18px) !important;
}

.inh-address-default-label {
    margin: 0 !important;

    font-size: 14px !important;

    color: #444444 !important;

    cursor: pointer !important;
}


/* =========================================================
   NÚT THÊM ĐỊA CHỈ
   ========================================================= */

.inh-address-submit-btn {
    display: block !important;

    width: 100% !important;

    height: 46px !important;

    margin: 5px 0 0 !important;
    padding: 0 20px !important;

    border: none !important;

    border-radius: 9px !important;

    background: #08265B !important;

    color: #ffffff !important;

    font-family: inherit !important;

    font-size: 15px !important;

    font-weight: 600 !important;

    cursor: pointer !important;

    transition: background 0.2s ease !important;
}

.inh-address-submit-btn:hover {
    background: #061A42 !important;
}


/* =========================================================
   MESSAGE
   ========================================================= */

#inh-address-form-message[hidden] {
    display: none !important;
}

#inh-address-form-message {
    margin-bottom: 15px !important;

    padding: 10px 12px !important;

    border-radius: 8px !important;

    font-size: 13px !important;
}


/* =========================================================
   KHÓA SCROLL
   ========================================================= */

body.inh-modal-open {
    overflow: hidden !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .inh-address-modal {
        padding: 12px !important;
    }

    .inh-address-modal-dialog {
        width: 100% !important;

        max-width: 100% !important;

        max-height: calc(100vh - 24px) !important;

        border-radius: 14px !important;
    }

    .inh-address-modal-header {
        padding: 16px !important;
    }

    .inh-address-modal-header h2 {
        font-size: 18px !important;
    }

    .inh-address-modal-body {
        padding: 18px 16px 20px !important;
    }

    .inh-address-form {
        gap: 14px !important;
    }

    .inh-address-form-row {
        grid-template-columns: 1fr !important;

        row-gap: 6px !important;
    }

    .inh-address-form-control input,
    .inh-address-form-control select {
        height: 44px !important;
    }

    .inh-address-submit-btn {
        height: 46px !important;
    }
}



/* =========================================================
   SET DEFAULT
========================================================= */

.inh-address-set-default-btn {
    background: #f3f4f6;
    color: #4b5563;
}

.inh-address-set-default-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
}