/* ==========================================================================
   Parker Brand – Login / Register / Account Pages
   ========================================================================== */

/* -------------------------------------------------------
   1. Page container
   ------------------------------------------------------- */
.auth-page {
    background: #f7f7f7;
    min-height: 60vh;
    padding: 0 16px 48px;
    /* Full-width background that breaks out of parent constraints */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

/* Remove white gap above auth-page */
.customer-account-login .main-container {
    padding-top: 0;
}

.customer-account-login>.wrapper {
    background: #f7f7f7;
}

/* -------------------------------------------------------
   2. Breadcrumb
   ------------------------------------------------------- */
.auth-breadcrumb {
    max-width: 620px;
    margin: 0 auto;
    padding: 20px 0 16px;
    font-size: 14px;
    color: #888;
}
.auth-breadcrumb a {
    color: #888;
    text-decoration: none;
}
.auth-breadcrumb a:hover {
    color: #333;
}
.auth-breadcrumb .auth-breadcrumb__separator {
    margin: 0 6px;
    color: #ccc;
}
.auth-breadcrumb .auth-breadcrumb__current {
    color: #5B8C2A;
    font-weight: 500;
}

/* -------------------------------------------------------
   3. Card
   ------------------------------------------------------- */
.auth-card {
    max-width: 620px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 32px 40px 36px;
}

/* -------------------------------------------------------
   4. Tab navigation
   ------------------------------------------------------- */
.auth-tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 28px;
    border-bottom: 1px solid #f0f0f0;
}
.auth-tabs__tab {
    position: relative;
    padding: 0 4px 14px;
    font-size: 18px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.auth-tabs__tab:hover {
    color: #5B8C2A;
}
.auth-tabs__tab.is-active {
    color: #5B8C2A;
    border-bottom-color: #5B8C2A;
}

/* -------------------------------------------------------
   5. Mobile heading (hidden on desktop)
   ------------------------------------------------------- */
.auth-mobile-heading {
    display: none;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
}

/* -------------------------------------------------------
   6. System messages
   ------------------------------------------------------- */
.auth-messages {
    margin-bottom: 16px;
}
.auth-messages .success-msg,
.auth-messages .error-msg,
.auth-messages .note-msg {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
}
.auth-messages .success-msg {
    background: #e6f9ec;
    border: 1px solid #5B8C2A;
    color: #2e7d32;
}
.auth-messages .error-msg {
    background: #fdecea;
    border: 1px solid #f44336;
    color: #c62828;
}
.auth-messages .note-msg {
    background: #fff8e1;
    border: 1px solid #ffc107;
    color: #795548;
}

/* -------------------------------------------------------
   7. Form panels (login / register)
   ------------------------------------------------------- */
.auth-panel {
    display: none;
}
.auth-panel.is-active {
    display: block;
}

/* -------------------------------------------------------
   8. Form fields
   ------------------------------------------------------- */
.auth-field {
    margin-bottom: 20px;
    text-align: left;
}
.auth-field__label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}
.auth-field__label .auth-field__required {
    color: #d32f2f;
    margin-left: 2px;
}
.auth-field__input {
    width: 100%;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.auth-field__input::placeholder {
    color: #aaa;
}
.auth-field__input:focus {
    border-color: #5B8C2A;
    box-shadow: 0 0 0 3px rgba(91, 140, 42, 0.1);
}
.auth-field__input.is-error {
    border-color: #d32f2f;
}
.auth-field__error {
    display: none;
    font-size: 12px;
    color: #d32f2f;
    margin-top: 4px;
}
.auth-field__input.is-error ~ .auth-field__error {
    display: block;
}

/* Password wrapper with eye toggle */
.auth-field__password-wrap {
    position: relative;
}
.auth-field__password-wrap .auth-field__input {
    padding-right: 48px;
}
.auth-field__toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-field__toggle-pw:hover {
    color: #555;
}
.auth-field__toggle-pw svg {
    width: 20px;
    height: 20px;
}

/* Password hint */
.auth-field__hint {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* Two-column field row (first + last name, password + confirm) */
.auth-field-row {
    display: flex;
    gap: 16px;
}
.auth-field-row .auth-field {
    flex: 1;
    min-width: 0;
}

/* Checkbox field */
.auth-field--checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-field--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #5B8C2A;
    cursor: pointer;
}
.auth-field--checkbox label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin-bottom: 0;
}

/* -------------------------------------------------------
   9. Forgot password link
   ------------------------------------------------------- */
.auth-forgot-link {
    text-align: right;
    margin: -8px 0 20px;
}
.auth-forgot-link a {
    font-size: 13px;
    color: #5B8C2A;
    text-decoration: none;
    font-weight: 500;
}
.auth-forgot-link a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------
   10. Primary CTA button
   ------------------------------------------------------- */
.auth-btn {
    display: block;
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
}
.auth-btn--primary {
    background: #2D5A1E;
    color: #fff;
}
.auth-btn--primary:hover {
    background: #3a7226;
}
.auth-btn--primary:active {
    background: #245018;
}

/* -------------------------------------------------------
   11. Google OAuth button
   ------------------------------------------------------- */
.auth-btn--google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    background: #E8F5E9;
    color: #2D5A1E;
    font-weight: 500;
}
.auth-btn--google:hover {
    background: #dceede;
}
.auth-btn--google svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* -------------------------------------------------------
   12. Footer links (below form)
   ------------------------------------------------------- */
.auth-footer-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #888;
}
.auth-footer-link a {
    color: #5B8C2A;
    font-weight: 600;
    text-decoration: none;
}
.auth-footer-link a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------
   13. Info section below card
   ------------------------------------------------------- */
.auth-info {
    max-width: 620px;
    margin: 32px auto 0;
    padding: 0 8px;
}
.auth-info__title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.auth-info__text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* -------------------------------------------------------
   14. Divider (or)
   ------------------------------------------------------- */
.auth-divider {
    display: none; /* hidden by default, shown if needed */
    text-align: center;
    margin: 16px 0;
    font-size: 13px;
    color: #aaa;
    position: relative;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 20px);
    height: 1px;
    background: #e0e0e0;
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* -------------------------------------------------------
   15. Mobile responsive (< 768px)
   ------------------------------------------------------- */
@media (max-width: 767px) {
    .auth-page {
        padding: 0 0 32px;
        background: #f7f7f7;
    }

    .auth-breadcrumb {
        padding: 14px 16px 12px;
    }
    .auth-breadcrumb .auth-breadcrumb__separator {
        /* Use > chevron on mobile per Figma */
    }

    .auth-card {
        margin: 0 12px;
        padding: 28px 20px 32px;
        border-radius: 10px;
    }

    /* Hide tabs on mobile */
    .auth-tabs {
        display: none;
    }

    /* Show mobile heading */
    .auth-mobile-heading {
        display: block;
    }

    /* Login panel active by default (JS handles) */

    .auth-field__input {
        height: 44px;
        font-size: 16px; /* prevent iOS zoom */
    }

    .auth-btn {
        height: 48px;
        font-size: 17px;
    }

    .auth-btn--google {
        background: #F5F5F5;
        color: #333;
    }

    .auth-field-row {
        flex-direction: column;
        gap: 0;
    }

    .auth-info {
        margin: 24px 12px 0;
    }
}

/* -------------------------------------------------------
   16. Override Maho base theme CSS leaks
   ------------------------------------------------------- */
.auth-page .form-list,
.auth-page .fieldset,
.auth-page .buttons-set,
.auth-page .account-create {
    all: unset;
    display: block;
}
.auth-page .account-create .page-title {
    display: none;
}
.auth-page .form-instructions {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}
.auth-page .required {
    display: none; /* hide "* Required Fields" default text */
}
.auth-page .back-link {
    display: none; /* hide default back link */
}
.auth-page .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* ==========================================================================
   Parker Brand – Customer Account Dashboard / Profile Pages
   ========================================================================== */

/* -------------------------------------------------------
   A1. Page background & base theme overrides (1-column layout)
   ------------------------------------------------------- */
.customer-account {
    background: #F5F5F5;
}

/* Override base theme col-main constraints in 1-column layout */
.customer-account .col-main {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
    background: transparent;
}

/* Hide Maho's default breadcrumbs and page title — we render our own */
.customer-account .main-container > .main > .breadcrumbs,
.customer-account .main-container > .main > .page-title {
    display: none;
}

/* The my-account wrapper should have no constraints */
.my-account {
    width: 100%;
}

/* -------------------------------------------------------
   A2. Breadcrumb
   ------------------------------------------------------- */
.account-breadcrumb {
    max-width: var(--site-max-width, 1400px);
    margin: 0 auto;
    padding: 20px 24px 16px;
    font-size: 14px;
    color: #888;
}
.account-breadcrumb a {
    color: #888;
    text-decoration: none;
}
.account-breadcrumb a:hover {
    color: #333;
}
.account-breadcrumb__sep {
    margin: 0 6px;
    color: #ccc;
}
.account-breadcrumb__current {
    color: #5B8C2A;
    font-weight: 500;
}

/* -------------------------------------------------------
   A3. Two-column layout
   ------------------------------------------------------- */
.account-layout {
    max-width: var(--site-max-width, 1280px);
    margin: 0 auto;
    padding: 0 24px 48px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

/* -------------------------------------------------------
   A4. Sidebar
   ------------------------------------------------------- */
.account-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 0;
    position: sticky;
    top: 24px;
}

.account-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    padding: 20px 24px 16px;
    margin: 0;
    border-bottom: 1px solid #F0F0F0;
}

.account-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.account-sidebar__item {
    margin: 0;
    border-bottom: 1px solid #F0F0F0;
}

.account-sidebar__item:last-child {
    border-bottom: none;
}

.account-sidebar__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.account-sidebar__link:hover {
    color: #333;
    background: #FAFAFA;
}

.account-sidebar__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.account-sidebar__icon svg {
    width: 18px;
    height: 18px;
}

/* Active state */
.account-sidebar__item--active .account-sidebar__link {
    color: #5B8C2A;
    font-weight: 600;
}

.account-sidebar__item--active .account-sidebar__icon {
    background: #E8F5E9;
    color: #5B8C2A;
}

/* Logout link */
.account-sidebar__logout {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 24px;
    background: none;
    color: #E53935;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-top: 1px solid #F0F0F0;
    transition: background 0.15s, color 0.15s;
}

.account-sidebar__logout:hover {
    background: #FFF5F5;
    color: #C62828;
    text-decoration: none;
}

.account-sidebar__icon--logout {
    background: #FFEBEE;
    color: #E53935;
}

/* -------------------------------------------------------
   A5. Main content card — fill full grid column width
   ------------------------------------------------------- */
.account-main {
    min-width: 0;
    width: 100%;
}

.account-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 32px;
    width: 100%;
    box-sizing: border-box;
}

/* Form and children fill the card */
.account-card form,
.account-profile__form {
    width: 100%;
}

.account-form__row {
    width: 100%;
}

.account-form__input,
.account-form__select,
.account-form__textarea {
    width: 100%;
    box-sizing: border-box;
}

/* -------------------------------------------------------
   A6. Profile header & menu
   ------------------------------------------------------- */
.account-profile__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}

.account-profile__title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.account-profile__menu-btn {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: background 0.15s, border-color 0.15s;
}

.account-profile__menu-btn:hover {
    background: #F5F5F5;
    border-color: #CCC;
}

.account-profile__menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 10;
    padding: 6px 0;
}

.account-profile__menu.is-open {
    display: block;
}

.account-profile__menu-item {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background 0.15s;
}

.account-profile__menu-item:hover {
    background: #F5F5F5;
}

/* Messages */
.account-profile__messages {
    margin-bottom: 20px;
}

.account-profile__messages .success-msg,
.account-profile__messages .error-msg,
.account-profile__messages .note-msg {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
}

.account-profile__messages .success-msg {
    background: #e6f9ec;
    border: 1px solid #5B8C2A;
    color: #2e7d32;
}

.account-profile__messages .error-msg {
    background: #fdecea;
    border: 1px solid #f44336;
    color: #c62828;
}

/* -------------------------------------------------------
   A7. Avatar
   ------------------------------------------------------- */
.account-profile__avatar-section {
    text-align: center;
    margin-bottom: 28px;
}

.account-profile__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    margin: 0 auto;
}

.account-profile__avatar-initials {
    font-size: 32px;
    font-weight: 700;
    color: #5B8C2A;
    line-height: 1;
}

.account-profile__avatar-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 30px;
    height: 30px;
    background: #5B8C2A;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.account-profile__avatar-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 12px 0 0;
}

/* -------------------------------------------------------
   A8. Form fields
   ------------------------------------------------------- */
.account-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.account-form__row--single {
    grid-template-columns: 1fr;
}

.account-form__row--three {
    grid-template-columns: 1fr 1fr 1fr;
}

.account-form__field {
    display: flex;
    flex-direction: column;
}

.account-form__label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.account-form__required {
    color: #E31E24;
    margin-left: 2px;
}

.account-form__input {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.account-form__input::placeholder {
    color: #aaa;
}

.account-form__input:focus {
    border-color: #5B8C2A;
    box-shadow: 0 0 0 3px rgba(91, 140, 42, 0.1);
}

.account-form__input.is-error {
    border-color: #E31E24;
}

.account-form__error {
    display: none;
    font-size: 12px;
    color: #E31E24;
    margin-top: 4px;
}

.account-form__input.is-error ~ .account-form__error {
    display: block;
}

/* Select */
.account-form__select {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 14px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.account-form__select:focus {
    border-color: #5B8C2A;
}

/* City input styled as dropdown */
.account-form__input-wrap--select {
    position: relative;
}

.account-form__input--city {
    padding-right: 36px;
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
}

/* Textarea */
.account-form__textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.account-form__textarea::placeholder {
    color: #aaa;
}

.account-form__textarea:focus {
    border-color: #5B8C2A;
}

/* Input wrap (for icons inside input) */
.account-form__input-wrap {
    position: relative;
}

.account-form__input-wrap .account-form__input {
    width: 100%;
}

/* Validated email icon */
.account-form__input-wrap--validated .account-form__input {
    padding-right: 44px;
}

.account-form__valid-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #5B8C2A;
    display: flex;
    align-items: center;
}

/* Password toggle */
.account-form__input-wrap--pw .account-form__input {
    padding-right: 48px;
}

.account-form__pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.account-form__pw-toggle:hover {
    color: #555;
}

.account-form__pw-toggle svg {
    width: 20px;
    height: 20px;
}

/* Current password row: hidden until user starts changing password */
.account-form__row--current-pw {
    display: none;
}

.account-form__row--current-pw.is-visible {
    display: grid;
}

/* -------------------------------------------------------
   A9. Submit button
   ------------------------------------------------------- */
.account-form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #F0F0F0;
}

.account-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 44px;
    padding: 0 28px;
    background: #2D5A1E;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.account-form__submit:hover {
    background: #3a7226;
}

/* -------------------------------------------------------
   A10. Override Maho base theme CSS for account pages
   ------------------------------------------------------- */
.my-account .page-title {
    display: none;
}

.my-account .form-list,
.my-account .fieldset,
.my-account .buttons-set,
.my-account .scaffold-form {
    all: unset;
    display: block;
}

.my-account .block-account {
    all: unset;
    display: block;
}

.my-account .block-account .block-title {
    display: none;
}

.my-account .block-account .block-content {
    all: unset;
    display: block;
}

.my-account .block-account .nav-account {
    all: unset;
    display: block;
}

/* -------------------------------------------------------
   A11. Responsive: Tablet (< 1024px)
   ------------------------------------------------------- */
@media (max-width: 1024px) {
    .account-layout {
        grid-template-columns: 240px 1fr;
        gap: 16px;
        padding: 0 16px 36px;
    }

    .account-card {
        padding: 24px;
    }

    .account-form__row--three {
        grid-template-columns: 1fr 1fr;
    }
}

/* -------------------------------------------------------
   A12. Responsive: Mobile (< 768px)
   ------------------------------------------------------- */
@media (max-width: 767px) {
    .account-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px 32px;
    }

    .account-sidebar {
        position: static;
        border-radius: 10px;
    }

    .account-sidebar__title {
        display: none;
    }

    .account-sidebar__list {
        display: flex;
        overflow-x: auto;
        gap: 0;
        padding: 0;
        -webkit-overflow-scrolling: touch;
    }

    .account-sidebar__item {
        flex-shrink: 0;
    }

    .account-sidebar__link {
        flex-direction: column;
        padding: 14px 16px;
        gap: 6px;
        font-size: 12px;
        text-align: center;
        white-space: nowrap;
    }

    .account-sidebar__icon {
        width: 32px;
        height: 32px;
    }

    .account-sidebar__icon svg {
        width: 16px;
        height: 16px;
    }

    .account-sidebar__logout {
        margin: 0 12px 12px;
    }

    .account-breadcrumb {
        padding: 14px 12px 12px;
    }

    .account-card {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .account-profile__title {
        font-size: 18px;
    }

    .account-profile__avatar {
        width: 80px;
        height: 80px;
    }

    .account-profile__avatar-initials {
        font-size: 26px;
    }

    .account-profile__avatar-badge {
        width: 26px;
        height: 26px;
    }

    .account-form__row,
    .account-form__row--three {
        grid-template-columns: 1fr;
    }

    .account-form__input {
        height: 44px;
        font-size: 16px; /* prevent iOS zoom */
    }

    .account-form__select {
        height: 44px;
        font-size: 16px;
    }

    .account-form__actions {
        justify-content: stretch;
    }

    .account-form__submit {
        width: 100%;
    }
}
