/*
 * Dox Portal en el portal del cliente: la página de entrar, las del enlace y
 * la contraseña, y el inicio. Todo cuelga de .dxpo, así no toca el resto del
 * portal; lo único de fuera es la cabecera en las páginas de entrar y la
 * barra de Archivos y Calendario en el inicio.
 *
 * Mismos colores que Dox Ads y Dox Projects: el negro de la marca para lo
 * principal y el naranja de acento. El naranja nunca es color de texto sobre
 * blanco (2,3:1): para texto y bordes, --dxpo-accent-ink.
 */

.dxpo {
    --dxpo-ink: #141313;
    --dxpo-ink-2: #6e6e73;
    --dxpo-line: #e5e5ea;
    --dxpo-control: #c7c7cc;
    --dxpo-fill: #f5f5f7;
    --dxpo-surface: #ffffff;
    --dxpo-accent: #ff8d27;
    --dxpo-accent-deep: #ea780f;
    --dxpo-accent-ink: #b8481b;
    --dxpo-accent-soft: #fff3e6;
    --dxpo-ok: #0b6a4c;
    --dxpo-ok-bg: #e8f5ef;
    --dxpo-warn: #8a4b00;
    --dxpo-warn-bg: #fff2dc;
    --dxpo-danger: #b42318;
    --dxpo-danger-bg: #fef1f0;
    --dxpo-ease: cubic-bezier(0.23, 1, 0.32, 1);
    color: var(--dxpo-ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Sin especificidad (:where): el reset no debe pisar los márgenes de las
   clases de abajo, solo los de Bootstrap. */
.dxpo :where(h1, h2, h3, p, dl, dd) {
    margin: 0;
}

.dxpo :where(button, input) {
    font: inherit;
}

.dxpo strong {
    font-weight: 600;
    color: var(--dxpo-ink);
}

.dxpo .dxpo-icon {
    flex: none;
    display: block;
}

.dxpo-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── La cabecera del portal en las páginas de entrar ──────────────────────
   Solo el logo: el botón "Login" de Perfex sobra (ya estás en ella) y el
   menú de hamburguesa no tiene nada dentro. */

body.customers_login .navbar-collapse,
body.customers_login .navbar-toggle,
body.dxpo-auth-page .navbar-collapse,
body.dxpo-auth-page .navbar-toggle {
    display: none !important;
}

/* En el inicio, la barra de Archivos y Calendario de Perfex no pinta nada. */
body:has(.dxpo-home) .customer-top-submenu {
    display: none;
}

/* ─── Páginas de entrar ─────────────────────────────────────────────────── */

.dxpo-auth {
    max-width: 452px;
    margin: 24px auto 56px;
    padding: 0 16px;
}

.dxpo-card {
    background: var(--dxpo-surface);
    border: 1px solid var(--dxpo-line);
    border-radius: 20px;
    padding: 32px 28px 28px;
    box-shadow: 0 1px 2px rgba(20, 19, 19, 0.04), 0 12px 32px rgba(20, 19, 19, 0.06);
}

.dxpo-card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--dxpo-accent-soft);
    color: var(--dxpo-accent-ink);
}

.dxpo-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.dxpo-sub {
    margin-top: 8px;
    color: var(--dxpo-ink-2);
    font-size: 15px;
    line-height: 1.5;
}

.dxpo-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.dxpo-field {
    display: grid;
    gap: 6px;
}

.dxpo .dxpo-label {
    margin: 0;
    color: var(--dxpo-ink);
    font-size: 14px;
    font-weight: 600;
}

.dxpo-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

/* El plugin de formularios de Tailwind que trae Perfex 3 pinta un anillo azul
   en [type='email']:focus con especificidad (0,2,0): por eso el [type]. */
.dxpo .dxpo-input[type] {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--dxpo-control);
    border-radius: 12px;
    background: var(--dxpo-surface);
    color: var(--dxpo-ink);
    font-size: 16px;
    line-height: 1.2;
    box-shadow: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.dxpo .dxpo-input[type]:focus {
    outline: none;
    border-color: var(--dxpo-ink);
    box-shadow: 0 0 0 4px rgba(255, 141, 39, 0.28);
}

.dxpo .dxpo-input[type][aria-invalid="true"] {
    border-color: var(--dxpo-danger);
}

.dxpo .dxpo-input[type][aria-invalid="true"]:focus {
    box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.16);
}

.dxpo-password {
    position: relative;
}

.dxpo .dxpo-password .dxpo-input[type] {
    padding-right: 52px;
}

.dxpo .dxpo-reveal {
    position: absolute;
    top: 2px;
    right: 2px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--dxpo-ink-2);
    cursor: pointer;
}

.dxpo .dxpo-reveal .dxpo-icon + .dxpo-icon,
.dxpo .dxpo-reveal.is-on .dxpo-icon:first-child {
    display: none;
}

.dxpo .dxpo-reveal.is-on .dxpo-icon + .dxpo-icon {
    display: block;
}

.dxpo .dxpo-reveal:focus-visible {
    outline: 2px solid var(--dxpo-accent-ink);
    outline-offset: -2px;
}

.dxpo-help {
    color: var(--dxpo-ink-2);
    font-size: 13px;
    line-height: 1.45;
}

.dxpo-note {
    margin-top: 12px;
}

.dxpo-center {
    text-align: center;
}

.dxpo-error {
    color: var(--dxpo-danger);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

/* "Mantener la sesión iniciada": casilla propia, que la de Tailwind sale azul. */
.dxpo .dxpo-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin: -8px 0;
    color: var(--dxpo-ink);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.dxpo .dxpo-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1.5px solid var(--dxpo-control);
    border-radius: 6px;
    background: var(--dxpo-surface);
    box-shadow: none;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.dxpo .dxpo-check input[type="checkbox"]:checked {
    border-color: var(--dxpo-ink);
    background: var(--dxpo-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.dxpo .dxpo-check input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--dxpo-accent-ink);
    outline-offset: 2px;
}

.dxpo-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: -2px 0;
    color: var(--dxpo-ink-2);
    font-size: 13px;
}

.dxpo-divider::before,
.dxpo-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--dxpo-line);
}

.dxpo-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dxpo-spinner {
    flex: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--dxpo-line);
    border-top-color: var(--dxpo-ink);
    border-radius: 50%;
    animation: dxpo-spin 700ms linear infinite;
}

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

.dxpo-space {
    margin-top: 24px;
}

.dxpo-below-link {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
}

.dxpo-langs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
}

.dxpo .dxpo-langs a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--dxpo-ink-2);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.dxpo .dxpo-langs a[aria-current="true"] {
    background: var(--dxpo-fill);
    color: var(--dxpo-ink);
    font-weight: 600;
}

/* ─── Botones y enlaces ─────────────────────────────────────────────────── */

.dxpo .dxpo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 160ms var(--dxpo-ease), background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.dxpo .dxpo-btn:active {
    transform: scale(0.97);
}

.dxpo .dxpo-btn:focus-visible {
    outline: 2px solid var(--dxpo-accent-ink);
    outline-offset: 2px;
}

.dxpo .dxpo-btn-block {
    width: 100%;
    min-height: 48px;
}

.dxpo .dxpo-btn-primary,
.dxpo .dxpo-btn-primary:hover,
.dxpo .dxpo-btn-primary:focus {
    background: var(--dxpo-ink);
    color: #fff;
}

.dxpo .dxpo-btn-secondary,
.dxpo .dxpo-btn-secondary:hover,
.dxpo .dxpo-btn-secondary:focus {
    border-color: var(--dxpo-control);
    background: var(--dxpo-surface);
    color: var(--dxpo-ink);
}

.dxpo .dxpo-btn-quiet,
.dxpo .dxpo-btn-quiet:hover,
.dxpo .dxpo-btn-quiet:focus {
    background: var(--dxpo-fill);
    color: var(--dxpo-ink);
}

@media (hover: hover) and (pointer: fine) {
    .dxpo .dxpo-btn-primary:hover {
        background: #2c2a2a;
    }

    .dxpo .dxpo-btn-secondary:hover {
        background: var(--dxpo-fill);
    }

    .dxpo .dxpo-btn-quiet:hover {
        background: #ebebef;
    }
}

/* Enviado: el botón se queda quieto hasta que llega la página siguiente. */
.dxpo .dxpo-btn.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.dxpo .dxpo-link {
    color: var(--dxpo-accent-ink);
    font-weight: 600;
    text-decoration: none;
}

.dxpo .dxpo-link:hover {
    color: var(--dxpo-accent-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dxpo .dxpo-link:focus-visible {
    outline: 2px solid var(--dxpo-accent-ink);
    outline-offset: 2px;
    border-radius: 4px;
}

.dxpo .dxpo-link-small {
    font-size: 13px;
}

/* ─── Avisos ────────────────────────────────────────────────────────────── */

.dxpo-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
}

.dxpo-alert .dxpo-icon {
    margin-top: 1px;
}

.dxpo-alert-danger {
    background: var(--dxpo-danger-bg);
    color: var(--dxpo-danger);
}

.dxpo-alert-success {
    background: var(--dxpo-ok-bg);
    color: var(--dxpo-ok);
}

.dxpo-alert-warning {
    background: var(--dxpo-warn-bg);
    color: var(--dxpo-warn);
}

.dxpo-home > .dxpo-alert {
    margin: 0 0 20px;
}

/* ─── El inicio ─────────────────────────────────────────────────────────── */

.dxpo-home {
    margin: 8px 0 56px;
    padding: 0 15px;
}

.dxpo-home-head {
    margin-bottom: 20px;
}

/* El logo del cliente (2.1.0), como en sus páginas de Dox Projects: tal cual
   o, si es claro, sobre el negro de la marca. */
.dxpo-brand {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-bottom: 18px;
}

.dxpo-brand img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(240px, 100%);
    max-height: 44px;
}

.dxpo-brand.is-dark {
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--dxpo-ink);
}

.dxpo-hello {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.dxpo-company {
    margin-top: 4px;
    color: var(--dxpo-ink-2);
    font-size: 15px;
}

/* Dos columnas de periódico que bajan a una sola: cada tarjeta mide lo suyo,
   ninguna se estira para empatar con la de al lado y no quedan huecos, sean
   dos tarjetas o seis. Con una sola, el ancho de las demás páginas del portal. */
.dxpo-grid {
    columns: 2 360px;
    column-gap: 20px;
}

.dxpo-grid.is-single {
    columns: auto;
    max-width: 720px;
}

.dxpo-panel {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0 0 20px;
    padding: 20px;
    border: 1px solid var(--dxpo-line);
    border-radius: 18px;
    background: var(--dxpo-surface);
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}

.dxpo-empty {
    max-width: 680px;
    color: var(--dxpo-ink-2);
    font-size: 15px;
    line-height: 1.5;
}

.dxpo-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.dxpo-panel-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--dxpo-fill);
    color: var(--dxpo-ink);
}

.dxpo-panel-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.dxpo-panel-text {
    margin-bottom: 16px;
    color: var(--dxpo-ink-2);
    font-size: 14px;
    line-height: 1.5;
}

.dxpo-panel-foot {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--dxpo-line);
    font-size: 14px;
}

/* Lo que dice cómo está: al día (verde) o algo por pagar (naranja suave). */
.dxpo-state {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 14px 16px;
    border-radius: 12px;
}

.dxpo-state-ok {
    background: var(--dxpo-ok-bg);
    color: var(--dxpo-ok);
}

.dxpo-state-due {
    background: var(--dxpo-accent-soft);
    color: var(--dxpo-accent-ink);
}

.dxpo-state-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
}

.dxpo-state-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.dxpo-state-sub {
    display: block;
    margin-top: 2px;
    font-size: 14px;
}

.dxpo-list-title {
    margin: 16px 0 4px;
    color: var(--dxpo-ink-2);
    font-size: 13px;
    font-weight: 600;
}

.dxpo-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dxpo-list > li + li {
    border-top: 1px solid var(--dxpo-line);
}

.dxpo .dxpo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    margin: 0 -8px;
    padding: 10px 8px;
    border-radius: 12px;
    color: var(--dxpo-ink);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 160ms ease;
}

.dxpo .dxpo-row:hover,
.dxpo .dxpo-row:focus {
    color: var(--dxpo-ink);
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .dxpo .dxpo-row:hover {
        background: var(--dxpo-fill);
    }
}

.dxpo .dxpo-row:active {
    background: var(--dxpo-fill);
}

.dxpo .dxpo-row:focus-visible {
    outline: 2px solid var(--dxpo-accent-ink);
    outline-offset: -2px;
}

.dxpo-row-main {
    flex: 1;
    min-width: 0;
}

.dxpo-row-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.dxpo-row-meta {
    display: block;
    margin-top: 2px;
    color: var(--dxpo-ink-2);
    font-size: 13px;
    line-height: 1.4;
}

.dxpo-row-meta.is-late {
    color: var(--dxpo-danger);
    font-weight: 500;
}

.dxpo-row-end {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
    color: var(--dxpo-ink-2);
    font-size: 14px;
}

.dxpo-row-end .dxpo-icon {
    color: var(--dxpo-control);
}

.dxpo-amount {
    color: var(--dxpo-ink);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.dxpo-pill {
    display: inline-flex;
    align-items: center;
    flex: none;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--dxpo-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.dxpo-live-dot {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dxpo-accent);
    box-shadow: 0 0 0 4px rgba(255, 141, 39, 0.18);
}

.dxpo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.dxpo-badge-ok {
    background: var(--dxpo-ok-bg);
    color: var(--dxpo-ok);
}

.dxpo-badge-warn {
    background: var(--dxpo-warn-bg);
    color: var(--dxpo-warn);
}

/* Proyectos */
.dxpo-project + .dxpo-project {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--dxpo-line);
}

.dxpo-project-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.dxpo-project-site {
    margin-top: 2px;
    color: var(--dxpo-ink-2);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.dxpo-progress {
    height: 8px;
    margin: 14px 0 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--dxpo-fill);
}

.dxpo-progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dxpo-accent), var(--dxpo-accent-deep));
}

.dxpo-progress-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    color: var(--dxpo-ink-2);
    font-size: 13px;
}

.dxpo-update {
    margin: 12px 0 16px;
    color: var(--dxpo-ink-2);
    font-size: 14px;
    line-height: 1.5;
}

/* ─── Los planes (2.3.0) ────────────────────────────────────────────────── */

/* Como en el inicio, la barra de Archivos y Calendario no pinta nada aquí. */
body:has(.dxpo-plans) .customer-top-submenu {
    display: none;
}

.dxpo-plan-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.dxpo-plan-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.dxpo-plan-price {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.dxpo-plan-line {
    margin-top: 4px;
    color: var(--dxpo-ink-2);
    font-size: 14px;
    line-height: 1.5;
}

.dxpo-plan-line.is-late {
    color: var(--dxpo-danger);
    font-weight: 500;
}

.dxpo-plan-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 16px;
}

.dxpo-plan-actions form {
    margin: 0;
}

.dxpo-plan-note {
    flex-basis: 100%;
    color: var(--dxpo-ink-2);
    font-size: 13px;
    line-height: 1.45;
}

.dxpo-badge-danger {
    background: var(--dxpo-danger-bg);
    color: var(--dxpo-danger);
}

.dxpo-badge-muted {
    background: var(--dxpo-fill);
    color: var(--dxpo-ink-2);
}

.dxpo-list-title-first {
    margin-top: 0;
}

.dxpo-plan-past {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 2px 12px;
    padding: 12px 0;
}

.dxpo-plans-foot {
    margin: 0 0 20px;
    font-size: 14px;
}

/* La página de cancelar: el motivo (opciones a la vista, una por fila) y el
   comentario. El plugin de formularios de Tailwind de Perfex 3 pinta su anillo
   azul en textarea; la clase del módulo gana por especificidad. */
.dxpo-choices {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.dxpo-choices .dxpo-label {
    margin-bottom: 2px;
    padding: 0;
    border: 0;
}

.dxpo .dxpo-choice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--dxpo-line);
    border-radius: 12px;
    color: var(--dxpo-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.dxpo .dxpo-choice input[type="radio"] {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--dxpo-ink);
}

.dxpo .dxpo-choice:has(input:checked) {
    border-color: var(--dxpo-ink);
    background: var(--dxpo-fill);
}

.dxpo .dxpo-choice:has(input:focus-visible) {
    outline: 2px solid var(--dxpo-accent-ink);
    outline-offset: 2px;
}

.dxpo textarea.dxpo-input {
    width: 100%;
    min-height: 96px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--dxpo-control);
    border-radius: 12px;
    background-color: var(--dxpo-surface);
    color: var(--dxpo-ink);
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
    resize: vertical;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.dxpo textarea.dxpo-input:focus {
    outline: none;
    border-color: var(--dxpo-ink);
    box-shadow: 0 0 0 4px rgba(255, 141, 39, 0.28);
}

.dxpo-actions-stack {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .dxpo-auth {
        margin-top: 8px;
        padding: 0 4px;
    }

    .dxpo-card {
        padding: 26px 20px 22px;
        border-radius: 18px;
    }

    .dxpo-hello {
        font-size: 24px;
    }

    .dxpo-panel {
        padding: 18px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dxpo .dxpo-btn,
    .dxpo .dxpo-row,
    .dxpo .dxpo-input[type],
    .dxpo textarea.dxpo-input,
    .dxpo .dxpo-choice {
        transition: none;
    }

    .dxpo .dxpo-btn:active {
        transform: none;
    }

    .dxpo-spinner {
        animation-duration: 2s;
    }
}
