.dexopep-portal {
    --dexopep-ink: #080d16;
    --dexopep-muted: #627180;
    --dexopep-line: #e1e8ef;
    --dexopep-soft: #f7f9fb;
    --dexopep-brand: #e8752d;
    --dexopep-brand-dark: #c75f1f;
    --dexopep-green: #2f8f5b;
    --dexopep-green-soft: #f4fbf6;
    color: var(--dexopep-ink);
}

.dexopep-portal *,
.dexopep-portal *::before,
.dexopep-portal *::after {
    box-sizing: border-box;
}

.dexopep-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--dexopep-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.dexopep-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1060px;
    margin: 0 auto;
}

.dexopep-auth-card,
.dexopep-card,
.dexopep-order-detail {
    border: 1px solid var(--dexopep-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(8, 13, 22, .06);
}

.dexopep-auth-card {
    padding: 30px;
}

.dexopep-auth-card h2,
.dexopep-section-heading h2,
.dexopep-order-heading h2,
.dexopep-tracking-box h3,
.dexopep-dashboard-hero h1,
.dexopep-empty h3 {
    margin: 0;
    color: var(--dexopep-ink);
    font-weight: 700;
    line-height: 1.2;
}

.dexopep-auth-card h2,
.dexopep-section-heading h2,
.dexopep-order-heading h2 {
    font-size: 28px;
}

.dexopep-auth-card p,
.dexopep-section-heading p,
.dexopep-order-heading p,
.dexopep-tracking-box p,
.dexopep-empty p {
    margin: 8px 0 0;
    color: var(--dexopep-muted);
    font-size: 14px;
    line-height: 1.55;
}

.dexopep-auth-card #dexopep-login-form,
.dexopep-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.dexopep-auth-card #dexopep-login-form p {
    margin: 0;
}

.dexopep-auth-card label,
.dexopep-form label {
    display: grid;
    gap: 7px;
    color: var(--dexopep-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dexopep-auth-card input,
.dexopep-form input {
    width: 100%;
    height: 46px;
    border: 1px solid var(--dexopep-line);
    border-radius: 7px;
    background: #fff;
    color: var(--dexopep-ink);
    font-size: 15px;
    line-height: 1.2;
    padding: 0 13px;
}

.dexopep-auth-card input:focus,
.dexopep-form input:focus {
    border-color: var(--dexopep-brand);
    box-shadow: 0 0 0 3px rgba(232, 117, 45, .16);
    outline: 0;
}

.dexopep-auth-card .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0;
    text-transform: none;
}

.dexopep-auth-card .login-remember input {
    width: 16px;
    height: 16px;
}

.dexopep-button,
.dexopep-auth-card .button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--dexopep-brand);
    border-radius: 7px;
    background: var(--dexopep-brand);
    color: #fff !important;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.1;
    padding: 12px 18px;
    text-decoration: none !important;
    text-transform: uppercase;
}

.dexopep-button:hover,
.dexopep-button:focus-visible,
.dexopep-auth-card .button-primary:hover,
.dexopep-auth-card .button-primary:focus-visible {
    border-color: var(--dexopep-brand-dark);
    background: var(--dexopep-brand-dark);
    color: #fff !important;
}

.dexopep-button-secondary {
    border-color: var(--dexopep-line);
    background: #fff;
    color: var(--dexopep-ink) !important;
}

.dexopep-button-secondary:hover,
.dexopep-button-secondary:focus-visible {
    border-color: var(--dexopep-brand);
    background: #fff;
    color: var(--dexopep-brand) !important;
}

.dexopep-dashboard {
    display: grid;
    gap: 24px;
}

.dexopep-dashboard-hero {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #0b1020;
    color: #fff;
    padding: 34px;
}

.dexopep-dashboard-hero h1 {
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
}

.dexopep-dashboard-hero p {
    max-width: 640px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .74);
    line-height: 1.55;
}

.dexopep-logout {
    display: inline-flex;
    margin-top: 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.dexopep-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.dexopep-summary-grid div {
    display: grid;
    gap: 5px;
    border: 1px solid var(--dexopep-line);
    border-radius: 8px;
    background: #fff;
    padding: 20px;
}

.dexopep-summary-grid strong {
    color: var(--dexopep-ink);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}

.dexopep-summary-grid span {
    color: var(--dexopep-muted);
    font-size: 13px;
    line-height: 1.35;
}

.dexopep-card,
.dexopep-order-detail {
    padding: 24px;
}

.dexopep-section-heading {
    margin-bottom: 18px;
}

.dexopep-order-list {
    display: grid;
    gap: 10px;
}

.dexopep-order-row {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1fr 1fr;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--dexopep-line);
    border-radius: 8px;
    padding: 14px;
}

.dexopep-order-row strong {
    color: var(--dexopep-ink);
    font-weight: 700;
}

.dexopep-order-row span,
.dexopep-muted {
    display: block;
    color: var(--dexopep-muted);
    font-size: 13px;
    line-height: 1.35;
}

.dexopep-row-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dexopep-row-actions a {
    color: var(--dexopep-brand);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.dexopep-status-pill,
.dexopep-track-mini {
    display: inline-flex !important;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    background: var(--dexopep-green-soft);
    color: var(--dexopep-green) !important;
    font-size: 12px !important;
    font-weight: 700;
    padding: 6px 10px;
}

.dexopep-order-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.dexopep-status {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
}

.dexopep-status-step {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    border: 1px solid var(--dexopep-line);
    border-radius: 8px;
    background: var(--dexopep-soft);
    color: var(--dexopep-muted);
    padding: 12px;
}

.dexopep-status-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #fff;
    color: inherit;
    font-size: 12px;
    font-weight: 700;
}

.dexopep-status-step strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.dexopep-status-step.is-active {
    border-color: #bfe5cc;
    background: var(--dexopep-green-soft);
    color: var(--dexopep-green);
}

.dexopep-tracking-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--dexopep-line);
    border-radius: 8px;
    background: var(--dexopep-soft);
    padding: 18px;
}

.dexopep-tracking-box h3 {
    font-size: 20px;
}

.dexopep-order-items {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.dexopep-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--dexopep-line);
    padding: 0 0 12px;
}

.dexopep-order-item strong {
    display: block;
    color: var(--dexopep-ink);
    font-weight: 700;
}

.dexopep-order-item span {
    display: block;
    color: var(--dexopep-muted);
    font-size: 13px;
}

.dexopep-order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    color: var(--dexopep-ink);
    font-size: 18px;
}

.dexopep-order-total strong {
    font-weight: 700;
}

.dexopep-empty,
.dexopep-alert {
    border: 1px solid var(--dexopep-line);
    border-radius: 8px;
    background: var(--dexopep-soft);
    padding: 22px;
}

.dexopep-alert {
    margin-bottom: 16px;
    border-color: #f4c7c3;
    background: #fff6f5;
    color: #b42318;
    font-size: 14px;
    font-weight: 700;
}

.dexopep-track-card {
    max-width: 720px;
    margin: 0 auto 24px;
}

.dexopep-track-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
}

@media (max-width: 900px) {
    .dexopep-auth-grid,
    .dexopep-summary-grid,
    .dexopep-status {
        grid-template-columns: 1fr;
    }

    .dexopep-order-row {
        grid-template-columns: 1fr;
    }

    .dexopep-row-actions,
    .dexopep-order-heading,
    .dexopep-tracking-box,
    .dexopep-order-total {
        align-items: flex-start;
        flex-direction: column;
    }

    .dexopep-track-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .dexopep-auth-card,
    .dexopep-card,
    .dexopep-order-detail,
    .dexopep-dashboard-hero {
        padding: 20px;
    }
}
