/*
 * TEKNOBOUTIK — ACCOUNT PANEL
 * Version 2.1.1
 * Tiroir autonome, sombre et accessible. Aucun sélecteur global hors classes TBK dédiées.
 */

.tbk-account-panel {
    --tbk-account-panel-orange: var(--tkb-orange, #ff9900);
    --tbk-account-panel-orange-hover: #e88900;
    --tbk-account-panel-bg: #101010;
    --tbk-account-panel-surface: #191919;
    --tbk-account-panel-surface-strong: #202020;
    --tbk-account-panel-text: #f7f7f7;
    --tbk-account-panel-muted: #aaa39b;
    --tbk-account-panel-border: rgba(255, 255, 255, 0.1);
    --tbk-account-panel-radius: 15px;
    --tbk-account-panel-shadow: -22px 0 64px rgba(0, 0, 0, 0.42);
    position: relative;
    z-index: 100200;
    color: var(--tbk-account-panel-text);
    font-family: inherit;
    pointer-events: none;
}

body.tbk-account-panel-scroll-lock {
    position: fixed !important;
    top: var(--tbk-account-panel-scroll-offset, 0) !important;
    left: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}

.tbk-account-panel__overlay {
    position: fixed;
    inset: 0;
    z-index: 100200;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 190ms ease;
    backdrop-filter: blur(1.5px);
}

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

.tbk-account-panel__drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100210;
    display: flex;
    flex-direction: column;
    width: min(450px, calc(100vw - 24px));
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    color: var(--tbk-account-panel-text);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 153, 0, 0.12), transparent 30%),
        var(--tbk-account-panel-bg);
    box-shadow: var(--tbk-account-panel-shadow);
    transform: translate3d(102%, 0, 0);
    visibility: hidden;
    outline: none;
    pointer-events: none;
    transition: transform 220ms ease, visibility 0s linear 220ms;
}

.tbk-account-panel.is-open {
    pointer-events: auto;
}

.tbk-account-panel.is-open .tbk-account-panel__overlay {
    opacity: 1;
    pointer-events: auto;
}

.tbk-account-panel.is-open .tbk-account-panel__drawer {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 220ms ease, visibility 0s linear 0s;
}

.tbk-account-panel__header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 86px;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 22px 18px;
    border-bottom: 1px solid var(--tbk-account-panel-border);
    background: rgba(16, 16, 16, 0.94);
}

.tbk-account-panel__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--tbk-account-panel-orange);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 1.65px;
}

.tbk-account-panel__title {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.35px;
}

.tbk-account-panel__close {
    display: inline-grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    color: #fff;
    border: 1px solid var(--tbk-account-panel-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.tbk-account-panel__close:hover {
    border-color: rgba(255, 153, 0, 0.6);
    background: rgba(255, 153, 0, 0.12);
}

.tbk-account-panel__close:active {
    transform: scale(0.96);
}

.tbk-account-panel__close svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.tbk-account-panel__main {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 24px 22px calc(28px + env(safe-area-inset-bottom, 0px));
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 153, 0, 0.45) transparent;
}

.tbk-account-panel__loading {
    display: flex;
    min-height: 280px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--tbk-account-panel-muted);
    font-size: 14px;
    font-weight: 700;
}

.tbk-account-panel__spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-top-color: var(--tbk-account-panel-orange);
    border-radius: 50%;
    animation: tbk-account-panel-spin 0.72s linear infinite;
}

.tbk-account-panel:not(.is-loading) .tbk-account-panel__loading {
    display: none;
}

.tbk-account-panel__content:empty {
    display: none;
}

.tbk-account-panel__view {
    display: grid;
    gap: 20px;
}

.tbk-account-panel__intro-icon {
    display: inline-grid;
    width: 74px;
    height: 74px;
    place-items: center;
    color: #111;
    border: 4px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    background: var(--tbk-account-panel-orange);
    box-shadow: 0 16px 38px rgba(255, 153, 0, 0.17);
}

.tbk-account-panel__intro-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tbk-account-panel__intro-copy h3,
.tbk-account-panel__identity-copy h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 25px !important;
    font-weight: 850 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.4px;
}

.tbk-account-panel__intro-copy p {
    margin: 9px 0 0 !important;
    padding: 0 !important;
    color: var(--tbk-account-panel-muted) !important;
    font-size: 14px;
    line-height: 1.65;
}

.tbk-account-panel__button {
    display: flex;
    min-height: 51px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    color: #151515 !important;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    border: 1px solid transparent;
    border-radius: 12px;
    box-sizing: border-box;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tbk-account-panel__button--primary {
    background: var(--tbk-account-panel-orange);
    box-shadow: 0 10px 28px rgba(255, 153, 0, 0.15);
}

.tbk-account-panel__button--primary:hover {
    color: #151515 !important;
    background: var(--tbk-account-panel-orange-hover);
    transform: translateY(-1px);
}

.tbk-account-panel__text-link,
.tbk-account-panel__logout {
    justify-self: center;
    color: #d7d2cd !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 153, 0, 0.55);
    text-underline-offset: 4px;
}

.tbk-account-panel__text-link:hover,
.tbk-account-panel__logout:hover {
    color: var(--tbk-account-panel-orange) !important;
}

.tbk-account-panel__benefits {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--tbk-account-panel-border);
    border-radius: var(--tbk-account-panel-radius);
    background: rgba(255, 255, 255, 0.035);
}

.tbk-account-panel__benefits span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e4e0dc;
    font-size: 13px;
    font-weight: 700;
}

.tbk-account-panel__benefits span::before {
    content: "✓";
    display: inline-grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    place-items: center;
    color: #151515;
    font-size: 12px;
    font-weight: 950;
    border-radius: 50%;
    background: var(--tbk-account-panel-orange);
}

.tbk-account-panel__identity {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 153, 0, 0.22);
    border-radius: var(--tbk-account-panel-radius);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 153, 0, 0.13), transparent 45%),
        var(--tbk-account-panel-surface);
}

.tbk-account-panel__avatar {
    display: inline-grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #151515;
    font-size: 24px;
    font-weight: 950;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: var(--tbk-account-panel-orange);
}

.tbk-account-panel__identity-copy {
    min-width: 0;
}

.tbk-account-panel__identity-copy > span {
    display: block;
    margin-bottom: 2px;
    color: var(--tbk-account-panel-muted);
    font-size: 12px;
    font-weight: 700;
}

.tbk-account-panel__identity-copy h3 {
    overflow: hidden;
    font-size: 22px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbk-account-panel__identity-copy p {
    margin: 5px 0 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: var(--tbk-account-panel-muted) !important;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbk-account-panel__notice {
    display: grid;
    gap: 5px;
    padding: 15px 16px;
    border-left: 3px solid var(--tbk-account-panel-orange);
    border-radius: 0 11px 11px 0;
    background: rgba(255, 153, 0, 0.07);
}

.tbk-account-panel__notice strong {
    color: #fff;
    font-size: 14px;
}

.tbk-account-panel__notice span {
    color: var(--tbk-account-panel-muted);
    font-size: 12px;
    line-height: 1.5;
}

.tbk-account-panel__quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.tbk-account-panel__quick-links a {
    display: flex;
    min-height: 104px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 15px;
    color: #f3f1ef !important;
    text-decoration: none !important;
    border: 1px solid var(--tbk-account-panel-border);
    border-radius: 13px;
    background: var(--tbk-account-panel-surface);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.tbk-account-panel__quick-links a:hover {
    color: #fff !important;
    border-color: rgba(255, 153, 0, 0.42);
    background: var(--tbk-account-panel-surface-strong);
    transform: translateY(-1px);
}

.tbk-account-panel__quick-links svg {
    width: 25px;
    height: 25px;
    color: var(--tbk-account-panel-orange);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tbk-account-panel__quick-links span {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.tbk-account-panel__error {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(255, 153, 0, 0.28);
    border-radius: var(--tbk-account-panel-radius);
    background: var(--tbk-account-panel-surface);
}

.tbk-account-panel__error strong {
    color: #fff;
    font-size: 18px;
}

.tbk-account-panel__error span {
    color: var(--tbk-account-panel-muted);
    font-size: 13px;
    line-height: 1.55;
}

.tbk-account-panel__error-actions {
    display: grid;
    gap: 9px;
}

.tbk-account-panel__error button {
    min-height: 46px;
    color: #151515;
    font-weight: 900;
    border: 0;
    border-radius: 10px;
    background: var(--tbk-account-panel-orange);
    cursor: pointer;
}

.tbk-account-panel :where(a, button):focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(255, 153, 0, 0.85);
}

@keyframes tbk-account-panel-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .tbk-account-panel__drawer {
        width: 100vw;
    }

    .tbk-account-panel__header {
        min-height: 72px;
        padding-right: 16px;
        padding-left: 18px;
    }

    .tbk-account-panel__main {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (max-width: 360px) {
    .tbk-account-panel__quick-links {
        grid-template-columns: 1fr;
    }

    .tbk-account-panel__quick-links a {
        min-height: 78px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tbk-account-panel__overlay,
    .tbk-account-panel__drawer,
    .tbk-account-panel__close,
    .tbk-account-panel__button,
    .tbk-account-panel__quick-links a {
        transition-duration: 1ms !important;
    }

    .tbk-account-panel__spinner {
        animation-duration: 1.5s;
    }
}

/* --------------------------------------------------------------------------
 * V2.1 — Authentification AJAX et commandes
 * ----------------------------------------------------------------------- */
.tbk-account-panel [hidden] {
    display: none !important;
}

.tbk-account-panel__intro {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tbk-account-panel__intro--compact .tbk-account-panel__intro-icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
}

.tbk-account-panel__intro--compact .tbk-account-panel__intro-icon svg {
    width: 29px;
    height: 29px;
}

.tbk-account-panel__screen {
    display: grid;
    gap: 18px;
}

.tbk-account-panel__screen-heading {
    display: grid;
    gap: 7px;
}

.tbk-account-panel__screen-heading h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 25px !important;
    font-weight: 850 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.4px;
}

.tbk-account-panel__screen-heading p {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--tbk-account-panel-muted) !important;
    font-size: 14px;
    line-height: 1.6;
}

.tbk-account-panel__back,
.tbk-account-panel__inline-link,
.tbk-account-panel__logout {
    appearance: none;
    padding: 0;
    color: #d7d2cd;
    font: inherit;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.tbk-account-panel__back {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 6px;
    color: #dedad6;
    font-size: 13px;
    font-weight: 750;
}

.tbk-account-panel__back:hover,
.tbk-account-panel__inline-link:hover {
    color: var(--tbk-account-panel-orange);
}

.tbk-account-panel__back svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tbk-account-panel__form {
    display: grid;
    gap: 15px;
}

.tbk-account-panel__form-message {
    display: none;
    padding: 11px 12px;
    color: #ffd5d5;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    border: 1px solid rgba(235, 87, 87, 0.38);
    border-radius: 10px;
    background: rgba(235, 87, 87, 0.09);
}

.tbk-account-panel__form-message.is-visible {
    display: block;
}

.tbk-account-panel__field {
    display: grid;
    gap: 7px;
}

.tbk-account-panel__field label {
    color: #efedea;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.tbk-account-panel__field input[type="text"],
.tbk-account-panel__field input[type="email"],
.tbk-account-panel__field input[type="password"] {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 11px 13px;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.25;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 11px;
    outline: none;
    background: #181818;
    box-shadow: none;
    box-sizing: border-box;
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.tbk-account-panel__field input:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.tbk-account-panel__field input:focus {
    border-color: var(--tbk-account-panel-orange);
    background: #1d1d1d;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.14);
}

.tbk-account-panel__field.has-error input {
    border-color: #eb5757;
    box-shadow: 0 0 0 3px rgba(235, 87, 87, 0.1);
}

.tbk-account-panel__field small {
    color: #8f8983;
    font-size: 11px;
    line-height: 1.45;
}

.tbk-account-panel__field-error {
    min-height: 0;
    color: #ffb1b1;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.tbk-account-panel__field-error:empty {
    display: none;
}

.tbk-account-panel__password-field {
    position: relative;
}

.tbk-account-panel__password-field input {
    padding-right: 52px !important;
}

.tbk-account-panel__password-field button {
    position: absolute;
    top: 50%;
    right: 4px;
    display: inline-grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    color: #a9a39d;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.tbk-account-panel__password-field button:hover {
    color: var(--tbk-account-panel-orange);
    background: rgba(255, 153, 0, 0.08);
}

.tbk-account-panel__password-field svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tbk-account-panel__form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tbk-account-panel__checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c8c3be;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.tbk-account-panel__checkbox input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--tbk-account-panel-orange);
}

.tbk-account-panel__inline-link {
    color: #dedad6;
    font-size: 12px;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: rgba(255, 153, 0, 0.55);
    text-underline-offset: 3px;
}

.tbk-account-panel__button {
    appearance: none;
    width: 100%;
    cursor: pointer;
}

.tbk-account-panel__button--secondary {
    color: #f5f2ef !important;
    border-color: rgba(255, 255, 255, 0.16);
    background: #1a1a1a;
    box-shadow: none;
}

.tbk-account-panel__button--secondary:hover {
    color: #fff !important;
    border-color: rgba(255, 153, 0, 0.5);
    background: #202020;
    transform: translateY(-1px);
}

.tbk-account-panel__button-spinner {
    display: none;
    width: 18px;
    height: 18px;
    margin-left: 9px;
    border: 2px solid rgba(20, 20, 20, 0.28);
    border-top-color: #151515;
    border-radius: 50%;
    animation: tbk-account-panel-spin 0.72s linear infinite;
}

.tbk-account-panel__form.is-busy .tbk-account-panel__button-spinner,
.tbk-account-panel__logout-form.is-busy .tbk-account-panel__button-spinner {
    display: inline-block;
}

.tbk-account-panel__form.is-busy,
.tbk-account-panel__logout-form.is-busy {
    opacity: 0.76;
}

.tbk-account-panel__separator {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #817b75;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.05px;
    text-transform: uppercase;
}

.tbk-account-panel__separator::before,
.tbk-account-panel__separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--tbk-account-panel-border);
}

.tbk-account-panel__legal {
    margin: 0 !important;
    padding: 0 !important;
    color: #8f8983 !important;
    font-size: 11px;
    line-height: 1.55;
}

.tbk-account-panel__legal a {
    color: #d8d2cc !important;
    text-decoration: underline;
    text-decoration-color: rgba(255, 153, 0, 0.55);
}

.tbk-account-panel__flash {
    padding: 12px 13px;
    color: #dff7e8;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
    border: 1px solid rgba(65, 190, 116, 0.35);
    border-radius: 10px;
    background: rgba(65, 190, 116, 0.09);
}

.tbk-account-panel__flash--error {
    color: #ffd5d5;
    border-color: rgba(235, 87, 87, 0.38);
    background: rgba(235, 87, 87, 0.09);
}

.tbk-account-panel__confirmation-icon {
    display: inline-grid;
    width: 68px;
    height: 68px;
    place-items: center;
    color: #151515;
    font-size: 29px;
    font-weight: 950;
    border-radius: 50%;
    background: var(--tbk-account-panel-orange);
}

.tbk-account-panel__section {
    display: grid;
    gap: 11px;
}

.tbk-account-panel__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tbk-account-panel__section-head h4 {
    margin: 0 !important;
    padding: 0 !important;
    color: #bbb5af !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.tbk-account-panel__section-head a {
    color: var(--tbk-account-panel-orange) !important;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
}

.tbk-account-panel__order-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--tbk-account-panel-border);
    border-radius: 14px;
    background: var(--tbk-account-panel-surface);
}

.tbk-account-panel__order-card--progress,
.tbk-account-panel__order-card--warning {
    border-color: rgba(255, 153, 0, 0.27);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 153, 0, 0.08), transparent 42%),
        var(--tbk-account-panel-surface);
}

.tbk-account-panel__order-card--danger {
    border-color: rgba(235, 87, 87, 0.32);
}

.tbk-account-panel__order-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.tbk-account-panel__order-head > div {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.tbk-account-panel__order-number {
    color: #fff;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
}

.tbk-account-panel__order-date {
    color: #8f8983;
    font-size: 11px;
}

.tbk-account-panel__status-badge {
    flex: 0 0 auto;
    max-width: 155px;
    padding: 6px 8px;
    color: #151515;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    border-radius: 999px;
    background: var(--tbk-account-panel-orange);
}

.tbk-account-panel__order-card--muted .tbk-account-panel__status-badge,
.tbk-account-panel__order-card--neutral .tbk-account-panel__status-badge {
    color: #e7e2dd;
    background: #343434;
}

.tbk-account-panel__order-card--danger .tbk-account-panel__status-badge {
    color: #fff;
    background: #b84545;
}

.tbk-account-panel__order-card--success .tbk-account-panel__status-badge {
    color: #0f2518;
    background: #74d496;
}

.tbk-account-panel__order-description {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--tbk-account-panel-muted) !important;
    font-size: 12px;
    line-height: 1.52;
}

.tbk-account-panel__order-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.tbk-account-panel__order-images {
    display: flex;
    min-width: 0;
    padding-left: 7px;
}

.tbk-account-panel__order-images img {
    width: 47px;
    height: 47px;
    margin-left: -7px;
    object-fit: cover;
    border: 2px solid #191919;
    border-radius: 7px;
    background: #262626;
}

.tbk-account-panel__order-meta {
    display: grid;
    flex: 0 0 auto;
    gap: 2px;
    text-align: right;
}

.tbk-account-panel__order-meta span {
    color: #96908a;
    font-size: 11px;
}

.tbk-account-panel__order-meta strong {
    color: #fff;
    font-size: 13px;
    font-weight: 850;
}

.tbk-account-panel__tracking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 9px 10px;
    color: #aaa39b;
    font-size: 10px;
    font-weight: 700;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.tbk-account-panel__order-action {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    color: #f5f2ef !important;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: #202020;
}

.tbk-account-panel__order-action:hover {
    color: #151515 !important;
    border-color: var(--tbk-account-panel-orange);
    background: var(--tbk-account-panel-orange);
}

.tbk-account-panel__order-action svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tbk-account-panel__empty-state {
    display: grid;
    gap: 7px;
    padding: 17px;
    border: 1px solid rgba(255, 153, 0, 0.24);
    border-radius: 13px;
    background: rgba(255, 153, 0, 0.06);
}

.tbk-account-panel__empty-state strong {
    color: #fff;
    font-size: 14px;
}

.tbk-account-panel__empty-state span {
    color: var(--tbk-account-panel-muted);
    font-size: 12px;
}

.tbk-account-panel__empty-state a {
    width: max-content;
    margin-top: 3px;
    color: var(--tbk-account-panel-orange) !important;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none !important;
}

.tbk-account-panel__logout-form {
    display: grid;
    justify-items: center;
}

.tbk-account-panel__logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    color: #aaa39b;
    font-size: 12px;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: rgba(255, 153, 0, 0.45);
    text-underline-offset: 4px;
}

.tbk-account-panel__logout:hover {
    color: var(--tbk-account-panel-orange);
}

@media (max-width: 420px) {
    .tbk-account-panel__intro {
        align-items: flex-start;
    }

    .tbk-account-panel__intro-copy h3 {
        font-size: 22px !important;
    }

    .tbk-account-panel__form-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .tbk-account-panel__order-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .tbk-account-panel__status-badge {
        max-width: 100%;
    }
}


.tbk-account-panel__generated-password-note {
    margin: 0;
    padding: 13px 14px;
    border: 1px solid rgba(255, 153, 0, 0.28);
    border-radius: 12px;
    background: rgba(255, 153, 0, 0.07);
    color: #dedede;
    font-size: 14px;
    line-height: 1.55;
}
