Files
remnawave-minishop/bot/app/web/templates/subscription_webapp.css
T

1252 lines
27 KiB
CSS

:root {
color-scheme: dark;
--bg-primary: #05070a;
--bg-secondary: #0a0e17;
--bg-card: #0f1521;
--bg-card-hover: #161e2e;
--surface: #1e2940;
--border: #1e2940;
--border-strong: #2a3752;
--text-primary: #e2e8f0;
--text-secondary: #94a3b8;
--text-muted: #64748b;
--accent: #00fe7a;
--accent-hover: #5aff9f;
--accent-glow: #00fe7a30;
--success: #10b981;
--warning: #f59e0b;
--danger: #ef4444;
--font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--font-mono: "JetBrains Mono", "Fira Code", monospace;
--radius-sm: 6px;
--radius-md: 8px;
--radius-lg: 8px;
--transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
--app-safe-top-extra: 10px;
--app-safe-top: max(var(--tg-content-safe-area-inset-top, 0px), var(--tg-safe-area-inset-top, 0px), env(safe-area-inset-top));
--app-safe-bottom: max(var(--tg-content-safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px), env(safe-area-inset-bottom));
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
width: 100%;
min-height: 100%;
margin: 0;
letter-spacing: 0;
overflow-x: hidden;
}
body {
background: var(--bg-primary);
color: var(--text-primary);
font-family: var(--font-sans);
line-height: 1.5;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: transparent;
}
body.modal-open {
overflow: hidden;
}
button,
a {
font: inherit;
}
button {
border: 0;
cursor: pointer;
}
button:disabled {
cursor: progress;
opacity: 0.58;
}
.app {
width: min(100vw, 560px);
max-width: 100vw;
margin: 0 auto;
padding: calc(max(var(--app-safe-top), 14px) + var(--app-safe-top-extra)) 14px max(var(--app-safe-bottom), 22px);
display: flex;
flex-direction: column;
gap: 16px;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-height: 48px;
min-width: 0;
}
.brand {
display: flex;
align-items: center;
min-width: 0;
gap: 10px;
}
.brand-logo,
.icon-btn {
width: 38px;
height: 38px;
flex: 0 0 auto;
}
.brand-logo {
display: block;
object-fit: contain;
border-radius: var(--radius-md);
}
.icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: var(--radius-md);
}
.brand-logo--lg {
width: 84px;
height: 84px;
}
.brand-title {
max-width: 260px;
color: var(--accent);
font-family: var(--font-mono);
font-size: 17px;
font-weight: 800;
line-height: 1.15;
letter-spacing: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-shadow: 0 0 20px color-mix(in srgb, var(--accent) 18%, transparent);
}
.top-actions {
display: flex;
align-items: center;
gap: 8px;
flex: 0 0 auto;
min-width: 0;
}
.icon-btn {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border);
color: var(--text-secondary);
transition: var(--transition);
}
.icon-btn:active,
.btn:active,
.plan:active,
.method:active {
transform: translateY(1px);
}
.icon,
.icon-btn svg,
.btn svg {
width: 16px;
height: 16px;
display: block;
fill: currentColor;
flex: 0 0 auto;
}
.panel {
position: relative;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
overflow: hidden;
}
.subscription-panel {
padding: 18px;
display: grid;
gap: 17px;
min-width: 0;
}
.account-panel,
.promo-panel,
.referral-panel {
padding: 17px;
display: grid;
gap: 14px;
min-width: 0;
}
.quick-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
min-width: 0;
}
.panel-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.section-title {
font-size: 18px;
font-weight: 850;
line-height: 1.2;
color: var(--text-primary);
}
.account-grid {
display: grid;
border: 1px solid var(--border);
border-radius: var(--radius-md);
overflow: hidden;
background: rgba(255, 255, 255, 0.018);
min-width: 0;
}
.account-row {
min-height: 46px;
padding: 10px 12px;
display: grid;
grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
align-items: center;
gap: 10px;
background: rgba(255, 255, 255, 0.02);
min-width: 0;
}
.account-row + .account-row {
border-top: 1px solid var(--border);
}
.promo-status {
min-height: 22px;
margin-top: 2px;
color: var(--text-secondary);
font-size: 14px;
line-height: 1.45;
overflow-wrap: anywhere;
}
.promo-status.error {
color: #fca5a5;
}
.promo-status.success {
color: #6ee7b7;
}
.modal-panel {
position: fixed;
left: 50%;
top: 50%;
z-index: 30;
width: min(calc(100vw - 28px), 560px);
max-height: min(86vh, 760px);
overflow: auto;
transform: translate(-50%, -50%);
box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.tools-modal-backdrop {
position: fixed;
inset: 0;
z-index: 25;
padding: 0;
border: 0;
background: rgba(3, 6, 10, 0.72);
backdrop-filter: blur(7px);
}
.referral-link-list,
.referral-bonuses,
.bonus-list {
display: grid;
gap: 8px;
min-width: 0;
}
.referral-link-row,
.bonus-row {
min-height: 58px;
padding: 11px 12px;
display: grid;
grid-template-columns: minmax(0, 1fr) 48px;
align-items: center;
gap: 10px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.02);
min-width: 0;
}
.bonus-row {
grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
.bonus-row span,
.bonus-row strong,
.referral-link-value {
min-width: 0;
overflow-wrap: anywhere;
}
.bonus-row strong {
color: var(--accent);
font-size: 13px;
text-align: right;
}
.referral-link-value {
margin-top: 4px;
color: var(--text-primary);
font-family: var(--font-mono);
font-size: 12px;
font-weight: 750;
line-height: 1.35;
}
.link-box,
.field-stack {
display: grid;
gap: 8px;
}
.field-row {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
gap: 8px;
align-items: stretch;
min-width: 0;
}
.input {
width: 100%;
min-height: 46px;
border-radius: var(--radius-md);
border: 1px solid var(--border);
background: rgba(5, 8, 13, 0.42);
color: var(--text-primary);
padding: 11px 12px;
font: inherit;
font-weight: 700;
outline: none;
transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.input:focus {
border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
background: rgba(7, 12, 19, 0.68);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent), 0 12px 28px rgba(0, 0, 0, 0.2);
}
.input[aria-invalid="true"] {
border-color: color-mix(in srgb, var(--danger) 72%, var(--border));
}
.input[aria-invalid="true"]:focus {
box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent);
}
.input::placeholder {
color: var(--text-muted);
}
.code-input {
font-family: var(--font-mono);
text-align: center;
letter-spacing: 0;
}
.badge-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-width: 0;
}
.mono-pill,
.badge {
display: inline-flex;
align-items: center;
min-height: 28px;
padding: 0 10px;
border-radius: var(--radius-md);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 700;
white-space: nowrap;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.mono-pill {
border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
background: color-mix(in srgb, var(--accent) 9%, transparent);
color: var(--accent);
}
.badge {
border: 1px solid color-mix(in srgb, var(--success) 34%, var(--border));
background: rgba(16, 185, 129, 0.12);
color: #6ee7b7;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.badge.off {
border-color: color-mix(in srgb, var(--danger) 34%, var(--border));
background: rgba(239, 68, 68, 0.12);
color: #fca5a5;
}
.status-title {
margin: 0;
font-size: 32px;
font-weight: 850;
line-height: 1.08;
overflow-wrap: anywhere;
}
.accent-text {
color: var(--text-primary);
}
@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
body {
background: var(--bg-primary);
}
.mono-pill,
.btn.primary,
.step.active,
.plan.active,
.method.active {
border-color: var(--accent);
}
.mono-pill,
.step.active,
.plan.active,
.method.active {
background: rgba(0, 254, 122, 0.08);
}
.btn.primary {
background: var(--accent);
}
}
.status-subtitle {
margin: 6px 0 0;
color: var(--text-secondary);
font-size: 14px;
}
.metrics {
display: grid;
gap: 0;
border: 1px solid var(--border);
border-radius: var(--radius-md);
overflow: hidden;
background: rgba(255, 255, 255, 0.018);
min-width: 0;
}
.metric {
display: grid;
grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
gap: 10px;
min-height: 48px;
align-items: center;
padding: 10px 12px;
background: rgba(255, 255, 255, 0.02);
min-width: 0;
}
.metric + .metric {
border-top: 1px solid var(--border);
}
.metric-label {
color: var(--text-muted);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 700;
min-width: 0;
overflow-wrap: anywhere;
}
.metric-value {
color: var(--text-primary);
font-size: 14px;
font-weight: 750;
text-align: right;
overflow-wrap: anywhere;
min-width: 0;
}
.actions {
display: grid;
grid-template-columns: minmax(0, 1fr) 48px;
gap: 8px;
min-width: 0;
}
.step-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.btn {
min-height: 46px;
border-radius: var(--radius-md);
padding: 11px 13px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.03);
color: var(--text-primary);
font-weight: 800;
text-align: center;
text-decoration: none;
min-width: 0;
overflow-wrap: anywhere;
transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn.primary {
border-color: color-mix(in srgb, var(--accent) 80%, var(--border));
background: var(--accent);
color: #04110a;
box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 18%, transparent);
}
.btn.ghost {
color: var(--text-secondary);
}
.btn.full {
width: 100%;
}
.btn.icon-only {
width: 48px;
min-width: 48px;
padding: 0;
}
.logout-btn {
min-height: 38px;
padding: 8px 11px;
color: var(--text-secondary);
font-size: 13px;
line-height: 1;
}
.extend-row {
margin-top: 2px;
padding-top: 14px;
border-top: 1px solid var(--border);
}
.extend-btn {
border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
background: color-mix(in srgb, var(--accent) 5%, transparent);
color: var(--accent);
box-shadow: none;
}
.support-link {
margin-top: 2px;
}
.legal-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 6px 16px;
margin-top: 4px;
}
#legal-links-login {
width: min(100vw, 560px);
}
.legal-link {
flex: 0 1 auto;
display: inline;
padding: 0;
border: 0;
background: transparent;
color: var(--text-secondary);
font-size: 13px;
font-weight: 650;
text-decoration: underline;
text-decoration-color: color-mix(in srgb, var(--accent) 42%, currentColor);
text-underline-offset: 3px;
transition: color var(--transition), opacity var(--transition);
}
.legal-link:hover:not(:disabled) {
color: var(--accent);
opacity: 0.98;
}
.modal {
position: fixed;
inset: 0;
z-index: 20;
display: grid;
align-items: center;
justify-items: center;
padding: calc(max(var(--app-safe-top), 14px) + var(--app-safe-top-extra)) 14px max(var(--app-safe-bottom), 14px);
opacity: 0;
pointer-events: none;
transition: opacity 0.18s ease;
}
.modal.show {
opacity: 1;
pointer-events: auto;
}
.modal-backdrop {
position: absolute;
inset: 0;
padding: 0;
border: 0;
background: rgba(3, 6, 10, 0.72);
backdrop-filter: blur(7px);
}
.modal-card {
position: relative;
width: min(100%, 560px);
max-height: min(86vh, 760px);
overflow: auto;
transform: translateY(18px) scale(0.98);
transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal.show .modal-card {
transform: translateY(0) scale(1);
}
.payment-flow {
padding: 16px;
display: grid;
gap: 14px;
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}
.code-modal-stack {
position: relative;
z-index: 1;
width: min(100%, 420px);
display: grid;
gap: 10px;
justify-items: stretch;
}
.code-modal-card {
width: 100%;
padding: 18px;
display: grid;
gap: 14px;
}
.flow-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.flow-title {
font-size: 18px;
font-weight: 850;
line-height: 1.2;
}
.flow-caption {
margin-top: 3px;
color: var(--text-secondary);
font-size: 13px;
}
.code-summary {
min-height: 46px;
padding: 10px 12px;
display: grid;
grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
align-items: center;
gap: 10px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.02);
}
.otp-field {
position: relative;
display: block;
min-height: 56px;
}
.otp-input {
position: absolute;
inset: 0;
z-index: 2;
width: 100%;
height: 100%;
border: 0;
background: transparent;
color: transparent;
caret-color: transparent;
opacity: 0.01;
outline: none;
}
.otp-slots {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 8px;
}
.otp-slots span {
min-width: 0;
aspect-ratio: 1;
display: grid;
place-items: center;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: rgba(5, 8, 13, 0.42);
color: var(--text-primary);
font-family: var(--font-mono);
font-size: 20px;
font-weight: 850;
line-height: 1;
transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.otp-slots span.filled {
border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
background: color-mix(in srgb, var(--accent) 7%, rgba(255, 255, 255, 0.035));
}
.otp-slots span.active {
border-color: color-mix(in srgb, var(--accent) 72%, var(--border));
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.code-modal-actions {
display: grid;
gap: 8px;
}
.code-modal-resend {
justify-self: center;
min-height: 28px;
padding: 0 4px;
border: 0;
background: transparent;
color: var(--text-secondary);
font: inherit;
font-size: 13px;
font-weight: 750;
text-decoration: underline;
text-decoration-color: color-mix(in srgb, var(--accent) 42%, currentColor);
text-underline-offset: 3px;
transition: color var(--transition), opacity var(--transition);
}
.stepper {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.step {
min-height: 58px;
padding: 9px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.02);
color: var(--text-muted);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}
.step-num {
display: block;
color: inherit;
font-family: var(--font-mono);
font-size: 11px;
font-weight: 800;
line-height: 1.1;
}
.step-name {
display: block;
margin-top: 5px;
color: inherit;
font-size: 12px;
font-weight: 800;
line-height: 1.15;
}
.step.active {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 9%, transparent);
color: var(--accent);
}
.step.done {
border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
color: var(--text-secondary);
}
.step-pane {
display: grid;
gap: 10px;
}
.section-label {
color: var(--text-muted);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 800;
}
.plans,
.methods {
display: grid;
gap: 8px;
}
.plan,
.method {
width: 100%;
min-height: 64px;
padding: 13px;
border-radius: var(--radius-md);
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.02);
color: var(--text-primary);
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
text-align: left;
transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
min-width: 0;
}
.plan > span,
.method > span {
min-width: 0;
}
.plan.active,
.method.active {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 8%, transparent);
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 58%, transparent), 0 12px 30px rgba(0, 0, 0, 0.2);
}
.plan-name,
.method-name,
.plan-price {
display: block;
font-size: 15px;
font-weight: 850;
line-height: 1.2;
overflow-wrap: anywhere;
}
.plan-meta,
.method-meta {
display: block;
margin-top: 4px;
color: var(--text-muted);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 700;
line-height: 1.3;
}
.plan-price {
flex: 0 0 auto;
color: var(--accent);
font-family: var(--font-mono);
text-align: right;
text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 18%, transparent);
max-width: 48%;
overflow-wrap: anywhere;
}
.notice,
.empty {
padding: 13px;
border-radius: var(--radius-md);
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.02);
color: var(--text-secondary);
font-size: 14px;
line-height: 1.45;
}
.result-box {
display: grid;
gap: 10px;
}
.loader {
min-height: 78vh;
display: grid;
place-items: center;
color: var(--text-muted);
font-family: var(--font-mono);
font-weight: 800;
}
.login {
min-height: 100vh;
padding: calc(max(var(--app-safe-top), 14px) + var(--app-safe-top-extra)) 14px max(var(--app-safe-bottom), 18px);
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 14px;
}
.login.show {
display: flex;
}
.login-card {
width: min(100vw, 560px);
padding: 20px;
display: grid;
gap: 15px;
text-align: center;
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}
.auth-tabs {
min-height: 46px;
padding: 4px;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 4px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: rgba(5, 8, 13, 0.38);
}
.auth-tab {
min-height: 36px;
border-radius: var(--radius-sm);
background: transparent;
color: var(--text-secondary);
font-weight: 850;
transition: color var(--transition), background var(--transition);
}
.auth-tab.active {
background: color-mix(in srgb, var(--accent) 12%, transparent);
color: var(--accent);
box-shadow: none;
}
.auth-pane {
display: grid;
gap: 10px;
}
.login-brand {
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
min-width: 0;
}
.login-brand-title {
max-width: 260px;
color: var(--accent);
font-family: var(--font-mono);
font-size: 24px;
font-weight: 800;
line-height: 1.1;
letter-spacing: 0;
text-align: left;
overflow-wrap: anywhere;
}
.login-text {
margin: 0;
color: var(--text-secondary);
font-size: 14px;
line-height: 1.45;
}
.telegram-login-widget {
min-height: 56px;
display: flex;
align-items: center;
justify-content: center;
}
.login-status {
min-height: 20px;
margin: 0;
}
.login-status.error {
color: var(--danger);
}
.toast {
position: fixed;
left: 50%;
bottom: max(var(--app-safe-bottom), 18px);
z-index: 40;
width: max-content;
max-width: calc(100vw - 28px);
padding: 11px 13px;
border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
border-radius: var(--radius-md);
background: rgba(15, 21, 33, 0.96);
color: var(--text-primary);
box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
font-size: 13px;
font-weight: 750;
opacity: 0;
pointer-events: none;
transform: translate(-50%, 8px);
transition: opacity var(--transition), transform var(--transition);
}
.toast.show {
opacity: 1;
transform: translate(-50%, 0);
}
.hidden {
display: none !important;
}
@media (hover: hover) and (pointer: fine) {
.btn:hover:not(:disabled),
.icon-btn:hover:not(:disabled),
.plan:hover:not(:disabled),
.method:hover:not(:disabled) {
transform: translateY(-2px);
border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
background: var(--bg-card-hover);
}
.btn.primary:hover:not(:disabled) {
background: var(--accent-hover);
box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 24%, transparent);
}
.extend-btn:hover:not(:disabled) {
background: color-mix(in srgb, var(--accent) 10%, transparent);
box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 10%, transparent);
}
.code-modal-resend:hover:not(:disabled) {
color: var(--accent);
}
}
@media (max-width: 460px) {
.app {
padding-left: 10px;
padding-right: 10px;
}
.brand-title {
max-width: 164px;
}
.status-title {
font-size: 28px;
}
.metric {
grid-template-columns: 1fr;
}
.account-row,
.field-row,
.quick-actions,
.referral-link-row,
.bonus-row {
grid-template-columns: 1fr;
}
.bonus-row strong {
text-align: left;
}
.metric-value {
text-align: left;
}
.badge-row {
align-items: flex-start;
flex-direction: column;
}
.badge,
.mono-pill {
max-width: 100%;
}
.field-row .btn {
width: 100%;
}
.plan,
.method {
align-items: flex-start;
flex-direction: column;
}
.plan-price {
max-width: 100%;
text-align: left;
}
.step-actions {
grid-template-columns: 1fr;
}
.code-summary {
grid-template-columns: 1fr;
}
.otp-slots {
gap: 6px;
}
.otp-slots span {
font-size: 18px;
}
.stepper {
gap: 6px;
}
.step {
min-height: 54px;
padding: 8px 7px;
}
.logout-btn span {
display: none;
}
.brand-logo--lg {
width: 68px;
height: 68px;
}
.login-brand {
gap: 10px;
}
.login-brand-title {
max-width: 200px;
font-size: 21px;
}
}
@media (max-width: 380px) {
.brand-title {
max-width: 150px;
}
}
@media (max-width: 560px) {
.modal {
align-items: stretch;
justify-items: stretch;
top: calc(max(var(--app-safe-top), 14px) + var(--app-safe-top-extra));
bottom: var(--app-safe-bottom);
padding: 0;
}
.modal-card {
width: 100vw;
max-height: none;
height: 100%;
border-radius: 0;
transform: translateY(12px);
}
.modal.show .modal-card {
transform: translateY(0);
}
.payment-flow {
min-height: 100%;
border-radius: 0;
}
.auth-code-modal {
align-items: center;
justify-items: center;
top: 0;
bottom: 0;
padding: calc(max(var(--app-safe-top), 14px) + var(--app-safe-top-extra)) 14px max(var(--app-safe-bottom), 14px);
}
.auth-code-modal .code-modal-stack {
width: min(100%, 420px);
}
.auth-code-modal .modal-card {
width: 100%;
height: auto;
max-height: min(90vh, 620px);
border-radius: var(--radius-lg);
transform: translateY(12px) scale(0.98);
}
.auth-code-modal.show .modal-card {
transform: translateY(0) scale(1);
}
.legal-link {
flex: 1 1 100%;
}
}