:root {
    --oxy-bg: #f3f7fb;
    --oxy-panel: #ffffff;
    --oxy-panel-soft: #f8fbfd;
    --oxy-border: #d9e4ef;
    --oxy-border-strong: #b9c9d8;
    --oxy-text: #14243d;
    --oxy-muted: #64748b;
    --oxy-primary: #02b8c5;
    --oxy-primary-dark: #078b99;
    --oxy-navy: #08245c;
    --oxy-focus: rgba(2, 184, 197, 0.24);
    --oxy-shadow: 0 18px 45px rgba(15, 35, 68, 0.10);
    --oxy-radius: 8px;
    --oxy-sidebar-width: 286px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body.oxy-blade-body {
    min-height: 100%;
    margin: 0;
    background: var(--oxy-bg);
    color: var(--oxy-text);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 0;
}

.oxy-shell {
    min-height: 100vh;
    display: flex;
    background: var(--oxy-bg);
}

.oxy-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--oxy-sidebar-width);
    background: var(--oxy-panel);
    border-right: 1px solid var(--oxy-border);
    box-shadow: 10px 0 30px rgba(15, 35, 68, 0.05);
    z-index: 1040;
    display: flex;
    flex-direction: column;
}

.oxy-sidebar-brand {
    display: flex;
    min-height: 92px;
    padding: 14px 20px;
    align-items: center;
    border-bottom: 1px solid var(--oxy-border);
}

.oxy-sidebar-brand a,
.oxy-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--oxy-text);
    text-decoration: none;
}

.oxy-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--oxy-primary);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0;
}

.oxy-sidebar-logo {
    display: inline-flex;
    width: 56px;
    height: 50px;
    padding: 7px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #07194c;
}

.oxy-sidebar-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.oxy-brand-copy,
.oxy-auth-brand span:last-child {
    display: grid;
    gap: 2px;
}

.oxy-brand-copy strong,
.oxy-auth-brand strong {
    font-size: 15px;
    line-height: 1.2;
}

.oxy-brand-copy small,
.oxy-auth-brand small {
    color: var(--oxy-muted);
    font-size: 12px;
}

.oxy-sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px 22px;
}

.oxy-nav-link,
.oxy-nav-group-toggle {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: var(--oxy-radius);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    background: transparent;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.oxy-nav-link svg,
.oxy-nav-group-toggle svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    stroke-width: 2.2;
}

.oxy-nav-link > i,
.oxy-nav-group-toggle span > i {
    width: 19px;
    flex: 0 0 auto;
    font-size: 17px;
    text-align: center;
}

.oxy-nav-group-toggle > i:last-child {
    transition: transform 0.18s ease;
}

.oxy-nav-group.open .oxy-nav-group-toggle > i:last-child {
    transform: rotate(180deg);
}

.oxy-nav-link:hover,
.oxy-nav-group-toggle:hover {
    background: #edf7fa;
    color: var(--oxy-primary-dark);
}

.oxy-nav-link.active {
    background: var(--oxy-primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(2, 184, 197, 0.24);
}

.oxy-nav-group {
    margin-top: 8px;
}

.oxy-nav-group-toggle {
    justify-content: space-between;
    cursor: pointer;
}

.oxy-nav-group-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.oxy-nav-group-toggle > svg:last-child {
    transition: transform 0.18s ease;
}

.oxy-nav-group.open .oxy-nav-group-toggle > svg:last-child {
    transform: rotate(180deg);
}

.oxy-nav-group-items {
    display: none;
    padding: 6px 0 4px 14px;
}

.oxy-nav-group.open .oxy-nav-group-items {
    display: grid;
    gap: 4px;
}

.oxy-nav-child {
    min-height: 40px;
    font-size: 14px;
}

.oxy-workspace {
    width: calc(100% - var(--oxy-sidebar-width));
    min-height: 100vh;
    margin-left: var(--oxy-sidebar-width);
    display: flex;
    flex-direction: column;
}

.oxy-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    min-height: 92px;
    padding: 12px 20px 12px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--oxy-border);
    backdrop-filter: blur(12px);
}

.oxy-topbar-left,
.oxy-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.oxy-topbar-actions {
    align-items: flex-end;
}

.oxy-topbar-left [data-oxy-menu-toggle] {
    display: none;
}

.oxy-topbar-left h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--oxy-text);
}

.oxy-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--oxy-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.oxy-icon-button,
.oxy-user-button,
.oxy-client-select select,
.btn,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.2;
}

.oxy-icon-button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--oxy-border);
    border-radius: var(--oxy-radius);
    background: #fff;
    color: #334155;
    cursor: pointer;
}

.oxy-icon-button svg {
    width: 20px;
    height: 20px;
}

.oxy-client-select {
    display: grid;
    gap: 4px;
    color: var(--oxy-muted);
    font-size: 12px;
    font-weight: 800;
}

.oxy-client-select select {
    min-width: 220px;
    min-height: 50px;
    border: 1px solid var(--oxy-border);
    border-radius: var(--oxy-radius);
    background: #fff;
    color: var(--oxy-text);
    padding: 0 12px;
    font-weight: 700;
}

.oxy-user-menu {
    position: relative;
    align-self: flex-end;
}

.oxy-user-button {
    min-height: 50px;
    border: 1px solid var(--oxy-border);
    border-radius: var(--oxy-radius);
    background: #fff;
    color: var(--oxy-text);
    padding: 6px 10px 6px 6px;
    cursor: pointer;
}

.oxy-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9f9fb;
    color: var(--oxy-primary-dark);
    font-weight: 900;
}

.oxy-user-copy {
    display: grid;
    gap: 1px;
    text-align: left;
}

.oxy-user-copy strong {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.oxy-user-copy small {
    color: var(--oxy-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.oxy-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 190px;
    display: none;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--oxy-border);
    border-radius: var(--oxy-radius);
    box-shadow: var(--oxy-shadow);
}

.oxy-user-menu.open .oxy-user-dropdown {
    display: grid;
}

.oxy-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 7px;
    color: var(--oxy-text);
    text-decoration: none;
    font-weight: 700;
}

.oxy-user-dropdown a:hover {
    background: #edf7fa;
    color: var(--oxy-primary-dark);
}

.oxy-page {
    flex: 1;
    padding: 24px;
}

.oxy-footer {
    margin: 0 24px 22px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--oxy-muted);
    background: #fff;
    border: 1px solid var(--oxy-border);
    border-radius: var(--oxy-radius);
}

.oxy-footer a {
    color: var(--oxy-primary-dark);
    font-weight: 800;
}

.content-wrapper {
    min-height: auto !important;
    margin: 0 !important;
    background: transparent !important;
}

.content,
.container-full,
.container,
.container-fluid {
    max-width: none;
}

.content {
    padding: 0 !important;
}

.box,
.card,
.modal-content,
.white-box {
    border: 1px solid var(--oxy-border) !important;
    border-radius: var(--oxy-radius) !important;
    box-shadow: 0 10px 30px rgba(15, 35, 68, 0.06) !important;
}

.box,
.card,
.white-box {
    background: #fff !important;
}

.box-header,
.card-header {
    border-bottom: 1px solid var(--oxy-border) !important;
    background: #fff !important;
}

.box-title,
.card-title,
h1,
h2,
h3,
h4 {
    color: var(--oxy-text);
    letter-spacing: 0;
}

.form-control,
.form-select,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"] {
    min-height: 42px;
    border: 1px solid var(--oxy-border) !important;
    border-radius: var(--oxy-radius) !important;
    color: var(--oxy-text);
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus,
select:focus,
textarea:focus,
input:focus {
    border-color: var(--oxy-primary) !important;
    box-shadow: 0 0 0 3px var(--oxy-focus) !important;
    outline: 0;
}

label,
.form-label {
    color: #334155;
    font-weight: 800;
}

.btn {
    min-height: 42px;
    border-radius: var(--oxy-radius) !important;
    font-weight: 800;
    letter-spacing: 0;
}

.btn-primary,
.btn-info,
.btn-success {
    border-color: var(--oxy-primary) !important;
    background: var(--oxy-primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-info:hover,
.btn-success:hover {
    border-color: var(--oxy-primary-dark) !important;
    background: var(--oxy-primary-dark) !important;
}

.btn-secondary,
.btn-default,
.btn-light {
    border-color: var(--oxy-border) !important;
    background: #fff !important;
    color: #334155 !important;
}

.btn-outline-secondary {
    border-color: var(--oxy-border-strong) !important;
    color: #334155 !important;
}

.table {
    color: var(--oxy-text);
}

.table thead th {
    border-bottom: 1px solid var(--oxy-border) !important;
    color: #475569;
    font-size: 12px;
    text-transform: uppercase;
}

.table tbody td {
    border-color: #edf2f7 !important;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8fbfd;
}

.oxy-pagination {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.oxy-pagination-summary {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
    white-space: nowrap;
}

.oxy-pagination-summary strong {
    color: #10234f;
    font-weight: 800;
}

.oxy-pagination-list {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oxy-pagination-link {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #d9e3f0;
    border-radius: 11px;
    background: #fff;
    color: #31415f;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(15, 35, 79, .03);
    transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a.oxy-pagination-link:hover,
a.oxy-pagination-link:focus-visible {
    border-color: #9eb7dc;
    background: #f2f7ff;
    color: #123993;
    box-shadow: 0 5px 14px rgba(18, 57, 147, .1);
    transform: translateY(-1px);
}

a.oxy-pagination-link:focus-visible {
    outline: 3px solid rgba(20, 184, 196, .2);
    outline-offset: 2px;
}

.oxy-pagination-item.is-active .oxy-pagination-link {
    border-color: #123993;
    background: #123993;
    color: #fff;
    box-shadow: 0 7px 16px rgba(18, 57, 147, .22);
}

.oxy-pagination-item.is-disabled .oxy-pagination-link {
    border-color: #e8edf4;
    background: #f6f8fb;
    color: #a1acbd;
    box-shadow: none;
    cursor: not-allowed;
}

.oxy-pagination-gap .oxy-pagination-link {
    min-width: 26px;
    padding-inline: 4px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: #8b98aa;
}

.oxy-pagination-simple {
    justify-content: flex-end;
}

@media (max-width: 760px) {
    .oxy-pagination {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .oxy-pagination-summary {
        text-align: center;
    }

    .oxy-pagination-list {
        width: 100%;
        justify-content: center;
    }

    .oxy-pagination-number,
    .oxy-pagination-gap {
        display: none;
    }

    .oxy-pagination-direction {
        flex: 1;
        max-width: 180px;
    }

    .oxy-pagination-direction .oxy-pagination-link {
        width: 100%;
    }
}

.alert {
    border-radius: var(--oxy-radius);
}

.oxy-backdrop {
    display: none;
}

.oxy-auth-body {
    background: var(--oxy-bg);
}

.oxy-auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.oxy-auth-panel {
    width: min(100%, 520px);
}

.oxy-auth-brand {
    margin-bottom: 18px;
}

.oxy-auth-content,
.oxy-login-card {
    background: #fff;
    border: 1px solid var(--oxy-border);
    border-radius: var(--oxy-radius);
    box-shadow: var(--oxy-shadow);
    padding: 28px;
}

.oxy-login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    background: var(--oxy-bg);
}

.oxy-login-hero {
    padding: 56px;
    display: flex;
    align-items: flex-end;
    background: #08245c;
    color: #fff;
}

.oxy-login-hero h1 {
    max-width: 620px;
    color: #fff;
    font-size: 42px;
    line-height: 1.05;
    margin: 12px 0;
}

.oxy-login-hero p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
}

.oxy-login-side {
    display: grid;
    align-items: center;
    padding: 36px;
}

.oxy-login-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.oxy-login-card p {
    color: var(--oxy-muted);
}

@media (max-width: 1100px) {
    .oxy-login-shell {
        grid-template-columns: 1fr;
    }

    .oxy-login-hero {
        min-height: 260px;
        padding: 34px;
    }
}

@media (max-width: 900px) {
    .oxy-topbar-left [data-oxy-menu-toggle] {
        display: inline-flex;
    }

    .oxy-sidebar {
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }

    .oxy-shell.sidebar-open .oxy-sidebar {
        transform: translateX(0);
    }

    .oxy-shell.sidebar-open .oxy-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1030;
        background: rgba(8, 36, 92, 0.32);
    }

    .oxy-workspace {
        width: 100%;
        margin-left: 0;
    }

    .oxy-topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px;
    }

    .oxy-topbar-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .oxy-user-menu {
        align-self: stretch;
    }

    .oxy-client-select select,
    .oxy-user-button {
        width: 100%;
    }

    .oxy-page {
        padding: 14px;
    }

    .oxy-footer {
        margin: 0 14px 14px;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .oxy-login-hero {
        display: none;
    }

    .oxy-login-side,
    .oxy-auth-shell {
        padding: 18px;
    }

    .oxy-login-card,
    .oxy-auth-content {
        padding: 22px;
    }

    .oxy-user-copy {
        display: none;
    }
}
/* Portal do cliente: autenticação */
.oxy-auth-step-hidden {
    display: none !important;
}

body.oxy-customer-auth-body {
    min-height: 100dvh;
    overflow-x: hidden;
    background: #fff;
}

.oxy-customer-auth {
    display: grid;
    min-height: 100dvh;
    grid-template-columns: minmax(390px, 44%) minmax(0, 1fr);
    background: #fff;
}

.oxy-customer-brand-panel {
    position: relative;
    display: flex;
    min-height: 100dvh;
    padding: clamp(34px, 5vw, 68px);
    overflow: hidden;
    flex-direction: column;
    color: #fff;
    background: #07194c;
    isolation: isolate;
}

.oxy-customer-brand-panel::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: -24%;
    width: 72%;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(20, 76, 153, 0.19);
    content: '';
    transform: skewX(-8deg);
}

.oxy-customer-brand-panel::after {
    position: absolute;
    z-index: -1;
    top: -130px;
    left: -110px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(119, 200, 134, 0.12);
    border-radius: 50%;
    content: '';
}

.oxy-customer-logo {
    width: 154px;
    height: auto;
}

.oxy-customer-brand-copy {
    z-index: 1;
    max-width: 500px;
    margin-top: clamp(56px, 10vh, 112px);
}

.oxy-customer-eyebrow,
.oxy-customer-form-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #a9cdfc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.oxy-customer-brand-copy h1 {
    margin: 0;
    color: #fff;
    font-family: Manrope, Inter, "Segoe UI", sans-serif;
    font-size: clamp(34px, 3.4vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.oxy-customer-brand-copy p {
    max-width: 440px;
    margin: 20px 0 0;
    color: #c9d8ee;
    font-size: 17px;
    line-height: 1.65;
}

.oxy-customer-product {
    position: absolute;
    right: clamp(-160px, -8vw, -80px);
    bottom: clamp(44px, 8vh, 90px);
    z-index: -1;
    width: min(64vw, 720px);
    max-height: 48vh;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 28px 35px rgba(0, 0, 0, 0.2));
}

.oxy-customer-security-note {
    display: flex;
    z-index: 1;
    margin-top: auto;
    align-items: center;
    gap: 10px;
    color: #c9d8ee;
    font-size: 13px;
}

.oxy-customer-security-note svg {
    width: 18px;
    height: 18px;
    color: #77c886;
}

.oxy-customer-form-panel {
    display: grid;
    min-width: 0;
    min-height: 100dvh;
    padding: 44px clamp(30px, 8vw, 120px) 26px;
    grid-template-rows: auto 1fr auto;
    background: #fff;
}

.oxy-customer-form-container {
    width: min(100%, 430px);
    margin: auto;
}

.oxy-customer-form-intro {
    margin-bottom: 28px;
}

.oxy-customer-form-eyebrow {
    margin-bottom: 10px;
    color: #0a2f87;
}

.oxy-customer-form-intro h2 {
    margin: 0 0 9px;
    color: #07194c;
    font-family: Manrope, Inter, "Segoe UI", sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.oxy-customer-form-intro p {
    margin: 0;
    color: #61708c;
    font-size: 15px;
    line-height: 1.55;
}

.oxy-customer-form-intro p strong {
    color: #263552;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.oxy-customer-form-container form,
.oxy-first-access-fields {
    display: grid;
    gap: 20px;
}

.oxy-customer-field {
    display: grid;
    gap: 8px;
}

.oxy-customer-field label {
    margin: 0;
    color: #263552;
    font-size: 14px;
    font-weight: 700;
}

.oxy-customer-field small {
    color: #7b879b;
    font-size: 12px;
}

.oxy-customer-input-wrap {
    position: relative;
}

.oxy-customer-input-wrap > svg {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    width: 19px;
    height: 19px;
    color: #71809b;
    pointer-events: none;
    transform: translateY(-50%);
}

.oxy-customer-input-wrap input,
.oxy-customer-input-wrap input.form-control {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 16px 0 46px;
    border: 1px solid #dce3ee !important;
    border-radius: 7px !important;
    outline: 0;
    color: #14213d;
    background: #fff;
    box-shadow: none !important;
    font-size: 15px;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.oxy-customer-input-wrap input::placeholder {
    color: #8b97aa;
}

.oxy-customer-input-wrap input:hover {
    border-color: #a9b5c7 !important;
}

.oxy-customer-input-wrap input:focus {
    border-color: #2b6fd3 !important;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(43, 111, 211, 0.13) !important;
}

.oxy-customer-input-wrap input[readonly] {
    color: #52617c;
    background: #f4f7fb;
    cursor: default;
}

.oxy-customer-otp-wrap input {
    min-height: 58px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.34em;
}

.oxy-customer-actions {
    display: grid;
    gap: 12px;
    margin-top: 6px;
}

.oxy-customer-primary-button,
.oxy-customer-secondary-button,
.oxy-customer-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 7px;
    font-weight: 800;
    text-decoration: none;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.oxy-customer-primary-button,
.oxy-customer-secondary-button {
    width: 100%;
    min-height: 50px;
    padding: 0 22px;
    cursor: pointer;
}

.oxy-customer-primary-button {
    border: 1px solid #0a2f87;
    color: #fff;
    background: #0a2f87;
    box-shadow: 0 9px 22px rgba(10, 47, 135, 0.14);
}

.oxy-customer-primary-button:hover,
.oxy-customer-primary-button:focus {
    border-color: #072568;
    color: #fff;
    background: #072568;
    transform: translateY(-1px);
}

.oxy-customer-secondary-button {
    border: 1px solid #dce3ee;
    color: #263552;
    background: #fff;
}

.oxy-customer-secondary-button:hover,
.oxy-customer-secondary-button:focus {
    border-color: #b8c4d4;
    color: #0a2f87;
    background: #f7f9fc;
}

.oxy-customer-primary-button svg,
.oxy-customer-secondary-button svg,
.oxy-customer-back-link svg {
    width: 18px;
    height: 18px;
}

.oxy-customer-primary-button.is-loading,
.oxy-customer-secondary-button.is-loading {
    cursor: wait;
    opacity: 0.72;
}

.oxy-customer-primary-button.is-loading::after,
.oxy-customer-secondary-button.is-loading::after {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    content: '';
    animation: oxy-customer-spin 700ms linear infinite;
}

.oxy-customer-primary-button:disabled,
.oxy-customer-secondary-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.oxy-customer-back-link {
    width: fit-content;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    color: #52617c;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
}

.oxy-customer-back-link:hover,
.oxy-customer-back-link:focus {
    color: #0a2f87;
}

.oxy-customer-form-intro .oxy-customer-back-link {
    margin-bottom: 24px;
}

.oxy-customer-message {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 7px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.45;
}

.oxy-customer-message svg {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 1px;
}

.oxy-customer-message-success {
    border-color: #b8ddc0;
    color: #176128;
    background: #f0faf2;
}

.oxy-customer-message-error {
    border-color: #f4c7c3;
    color: #8f241c;
    background: #fff4f3;
}

.oxy-customer-resend-message {
    min-height: 22px;
    margin-top: 14px;
    color: #61708c;
    font-size: 13px;
    text-align: center;
}

.oxy-customer-resend-message.is-success {
    color: #176128;
}

.oxy-customer-resend-message.is-error {
    color: #8f241c;
}

.oxy-customer-form-panel footer {
    color: #8792a5;
    font-size: 12px;
    text-align: center;
}

.oxy-customer-mobile-brand {
    display: none;
}

@keyframes oxy-customer-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .oxy-customer-auth {
        grid-template-columns: minmax(310px, 38%) minmax(0, 1fr);
    }

    .oxy-customer-brand-panel {
        padding: 36px;
    }

    .oxy-customer-brand-copy h1 {
        font-size: 36px;
    }

    .oxy-customer-product {
        right: -190px;
        width: 620px;
    }

    .oxy-customer-form-panel {
        padding-inline: 36px;
    }
}

@media (max-width: 700px) {
    .oxy-customer-auth {
        display: block;
    }

    .oxy-customer-brand-panel {
        display: none;
    }

    .oxy-customer-form-panel {
        min-height: 100dvh;
        padding: 0 24px 20px;
        grid-template-rows: 108px 1fr auto;
    }

    .oxy-customer-mobile-brand {
        display: flex;
        margin-inline: -24px;
        padding: 26px 24px;
        align-items: center;
        background: #07194c;
    }

    .oxy-customer-mobile-brand img {
        width: 124px;
    }

    .oxy-customer-form-container {
        padding-block: 38px;
    }
}

@media (max-width: 420px) {
    .oxy-customer-form-intro h2 {
        font-size: 27px;
    }

    .oxy-customer-form-panel {
        padding-inline: 20px;
    }

    .oxy-customer-mobile-brand {
        margin-inline: -20px;
        padding-inline: 20px;
    }
}

.oxy-message-box {
    width: min(calc(100% - 32px), 440px);
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: #14213d;
    background: transparent;
    overflow: visible;
}

.oxy-message-box::backdrop {
    background: rgba(7, 25, 76, .48);
    backdrop-filter: blur(2px);
}

.oxy-message-box-card {
    position: relative;
    display: grid;
    padding: 28px;
    border: 1px solid #dce3ee;
    border-radius: 10px;
    grid-template-columns: auto 1fr;
    gap: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(7, 25, 76, .26);
}

.oxy-message-box[open] .oxy-message-box-card { animation: oxy-message-box-in 160ms ease-out; }
.oxy-message-box-icon {
    display: grid;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    place-items: center;
    color: #0a2f87;
    background: #eaf1fb;
    font-size: 22px;
}
.oxy-message-box.tone-success .oxy-message-box-icon { color: #176128; background: #eaf7ed; }
.oxy-message-box.tone-warning .oxy-message-box-icon { color: #8a5700; background: #fff4d6; }
.oxy-message-box.tone-danger .oxy-message-box-icon { color: #b42318; background: #ffebe9; }
.oxy-message-box-copy { min-width: 0; padding: 2px 24px 0 0; }
.oxy-message-box-copy h2 { margin: 0 0 8px; color: #07194c; font-size: 20px; font-weight: 700; line-height: 1.3; }
.oxy-message-box-copy p { margin: 0; color: #5b6880; font-size: 14px; line-height: 1.55; white-space: pre-line; }
.oxy-message-box-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    color: #66738a;
    background: transparent;
    cursor: pointer;
}
.oxy-message-box-close:hover { color: #07194c; background: #eef2f8; }
.oxy-message-box-actions { display: flex; grid-column: 1 / -1; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.oxy-message-box-actions button {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}
.oxy-message-box-cancel { border: 1px solid #cfd8e5; color: #35435d; background: #fff; }
.oxy-message-box-confirm { border: 1px solid #0a2f87; color: #fff; background: #0a2f87; }
.oxy-message-box-confirm.is-danger { border-color: #b42318; background: #b42318; }
.oxy-message-box-actions button:focus-visible, .oxy-message-box-close:focus-visible { outline: 3px solid rgba(43, 111, 211, .28); outline-offset: 2px; }

@keyframes oxy-message-box-in {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
}

@media (max-width: 520px) {
    .oxy-message-box-card { padding: 24px 20px; grid-template-columns: 1fr; }
    .oxy-message-box-copy { padding-right: 0; }
    .oxy-message-box-actions { flex-direction: column-reverse; }
    .oxy-message-box-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .oxy-message-box[open] .oxy-message-box-card { animation: none; }
}
