.card{background:#0f172a;border:1px solid #1e293b;border-radius:1rem;padding:1.25rem}.input{width:100%;background:#020617;border:1px solid #334155;border-radius:.75rem;padding:.7rem .85rem;margin-top:.35rem}.btn,.btn-danger{display:inline-flex;align-items:center;justify-content:center;border-radius:.75rem;padding:.72rem 1rem;font-weight:700}.btn{background:#06b6d4;color:#042f2e}.btn-danger{background:#7f1d1d;color:#fecaca}.nav{display:block;padding:.7rem .85rem;border-radius:.75rem;color:#cbd5e1}.nav:hover{background:#1e293b}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:.85rem;border-bottom:1px solid #1e293b;vertical-align:top}.badge{background:#1e293b;border-radius:999px;padding:.2rem .55rem;font-size:.75rem}.alert{padding:.8rem 1rem;border-radius:.75rem;margin-bottom:1rem}.success{background:#064e3b}.error{background:#7f1d1d}.link,.copy{color:#67e8f9}

/* =========================================================
   Authentication UI
   ========================================================= */

* {
    box-sizing: border-box;
}

.auth-page {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: #020617;
    color: #e2e8f0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.auth-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.auth-grid {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.auth-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(110px);
    opacity: 0.35;
}

.auth-glow-one {
    width: 440px;
    height: 440px;
    left: -140px;
    top: -130px;
    background: #0891b2;
}

.auth-glow-two {
    width: 500px;
    height: 500px;
    right: -180px;
    bottom: -190px;
    background: #2563eb;
}

.auth-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(430px, 0.9fr);
}

.auth-brand-panel {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 52px 7vw 40px;
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    background:
        linear-gradient(
            145deg,
            rgba(8, 145, 178, 0.12),
            rgba(15, 23, 42, 0.18) 42%,
            rgba(2, 6, 23, 0.45)
        );
}

.auth-brand-content {
    width: 100%;
    max-width: 690px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #f8fafc;
    text-decoration: none;
}

.auth-brand-icon,
.auth-mobile-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    border: 1px solid rgba(103, 232, 249, 0.26);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(6, 182, 212, 0.3),
            rgba(37, 99, 235, 0.2)
        );
    box-shadow:
        0 16px 40px rgba(6, 182, 212, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.auth-brand-icon svg,
.auth-mobile-logo svg {
    width: 27px;
    height: 27px;
    fill: #a5f3fc;
}

.auth-brand strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.auth-brand small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-hero-copy {
    margin-top: clamp(80px, 13vh, 145px);
}

.auth-eyebrow,
.auth-signin-label {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(6, 182, 212, 0.08);
    color: #67e8f9;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.auth-hero-copy h1 {
    max-width: 680px;
    margin: 25px 0 20px;
    color: #f8fafc;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.04;
    font-weight: 760;
    letter-spacing: -0.055em;
}

.auth-hero-copy h1 span {
    display: block;
    background: linear-gradient(90deg, #67e8f9, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-hero-copy > p {
    max-width: 580px;
    margin: 0;
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.8;
}

.auth-features {
    display: grid;
    gap: 14px;
    max-width: 570px;
    margin-top: 42px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(12px);
}

.auth-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.13);
    color: #67e8f9;
    font-size: 0.82rem;
    font-weight: 800;
}

.auth-feature strong {
    display: block;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.auth-feature small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 0.78rem;
}

.auth-brand-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #64748b;
    font-size: 0.78rem;
}

.auth-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.75);
}

.auth-form-panel {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 45px;
}

.auth-card {
    width: 100%;
    max-width: 470px;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 42, 0.91),
            rgba(7, 15, 31, 0.88)
        );
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
}

.auth-mobile-logo {
    display: none;
    margin-bottom: 24px;
}

.auth-card-header h2 {
    margin: 18px 0 9px;
    color: #f8fafc;
    font-size: clamp(2rem, 4vw, 2.55rem);
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -0.045em;
}

.auth-card-header p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.93rem;
    line-height: 1.65;
}

.auth-form {
    display: grid;
    gap: 21px;
    margin-top: 32px;
}

.auth-field label {
    display: block;
    margin-bottom: 9px;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 650;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    display: flex;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-input-icon svg {
    width: 19px;
    height: 19px;
    fill: #64748b;
    transition: fill 0.2s ease;
}

.auth-input {
    display: block;
    width: 100%;
    height: 53px;
    padding: 0 48px 0 46px;
    outline: none;
    border: 1px solid #26354a;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.72);
    color: #f8fafc;
    font-size: 0.94rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.auth-input::placeholder {
    color: #475569;
}

.auth-input:hover {
    border-color: #334a63;
}

.auth-input:focus {
    border-color: #06b6d4;
    background: rgba(2, 6, 23, 0.9);
    box-shadow:
        0 0 0 4px rgba(6, 182, 212, 0.1),
        0 12px 30px rgba(6, 182, 212, 0.07);
}

.auth-input-wrap:focus-within .auth-input-icon svg {
    fill: #67e8f9;
}

.auth-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.auth-password-toggle:hover {
    background: rgba(148, 163, 184, 0.08);
    color: #cbd5e1;
}

.auth-password-toggle svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.auth-password-toggle .eye-closed {
    display: none;
}

.auth-password-toggle.is-visible .eye-open {
    display: none;
}

.auth-password-toggle.is-visible .eye-closed {
    display: block;
}

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 53px;
    margin-top: 2px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(100deg, #06b6d4, #0ea5e9);
    color: #042f2e;
    font-size: 0.91rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 16px 35px rgba(6, 182, 212, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.auth-submit svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.auth-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow:
        0 20px 42px rgba(6, 182, 212, 0.27),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.auth-submit:hover svg {
    transform: translateX(3px);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 29px 0 18px;
    color: #526176;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(148, 163, 184, 0.13);
}

.auth-register-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.42);
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.auth-register-link:hover {
    border-color: rgba(34, 211, 238, 0.36);
    background: rgba(6, 182, 212, 0.08);
    color: #67e8f9;
}

.auth-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 22px 0 0;
    color: #526176;
    font-size: 0.73rem;
}

.auth-alert {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
    padding: 13px 14px;
    border: 1px solid rgba(248, 113, 113, 0.27);
    border-radius: 13px;
    background: rgba(127, 29, 29, 0.25);
    color: #fecaca;
    font-size: 0.83rem;
}

.auth-alert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(248, 113, 113, 0.17);
    color: #fca5a5;
    font-weight: 800;
}

.auth-copyright {
    margin: 25px 0 0;
    color: #475569;
    font-size: 0.74rem;
    text-align: center;
}

@media (max-width: 1040px) {
    .auth-shell {
        grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    }

    .auth-brand-panel {
        padding-left: 45px;
        padding-right: 45px;
    }

    .auth-hero-copy h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 860px) {
    .auth-shell {
        display: block;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        min-height: 100vh;
        padding: 25px 18px;
    }

    .auth-card {
        max-width: 490px;
    }

    .auth-mobile-logo {
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .auth-form-panel {
        justify-content: flex-start;
        padding-top: 28px;
    }

    .auth-card {
        padding: 25px 20px;
        border-radius: 22px;
    }

    .auth-card-header h2 {
        font-size: 2rem;
    }

    .auth-input,
    .auth-submit {
        min-height: 51px;
    }

    .auth-copyright {
        padding-bottom: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   Domain DNS records UI
   UI-only update
   ========================================================= */

.dns-page {
    display: grid;
    gap: 22px;
}

.dns-page-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.dns-verify-button,
.dns-delete-button {
    gap: 8px;
}

.dns-domain-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 15px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.1);
    color: #86efac;
    font-size: 0.88rem;
    font-weight: 700;
}

.dns-domain-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.17);
}

.dns-intro-card,
.dns-guide-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    border: 1px solid #1e293b;
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 42, 0.98),
            rgba(9, 17, 34, 0.96)
        );
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.dns-intro-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 14px;
    background: rgba(6, 182, 212, 0.09);
    color: #67e8f9;
}

.dns-intro-heading-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.dns-intro-heading-row h2,
.dns-guide-header h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.08rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.dns-intro-card p,
.dns-guide-header p {
    max-width: 800px;
    margin: 7px 0 0;
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.65;
}

.dns-record-count {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.7);
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 700;
}

.dns-record-list {
    display: grid;
    gap: 15px;
}

.dns-record-card {
    overflow: hidden;
    border: 1px solid #1e293b;
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 42, 0.97),
            rgba(8, 15, 30, 0.97)
        );
    box-shadow:
        0 16px 42px rgba(0, 0, 0, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.022);
}

.dns-record-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 21px 17px;
    border-bottom: 1px solid rgba(30, 41, 59, 0.85);
}

.dns-record-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
}

.dns-record-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.08);
    color: #67e8f9;
    font-size: 0.77rem;
    font-weight: 800;
}

.dns-record-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.dns-record-title-row h3 {
    margin: 0;
    color: #f1f5f9;
    font-size: 0.98rem;
    font-weight: 740;
    letter-spacing: -0.015em;
}

.dns-record-heading p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 0.79rem;
    line-height: 1.55;
}

.dns-type-badge {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 0 8px;
    border: 1px solid rgba(148, 163, 184, 0.17);
    border-radius: 7px;
    background: rgba(30, 41, 59, 0.75);
    color: #cbd5e1;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    font-size: 0.68rem;
    font-weight: 800;
}

.dns-type-mx {
    border-color: rgba(34, 211, 238, 0.25);
    background: rgba(6, 182, 212, 0.1);
    color: #67e8f9;
}

.dns-type-txt {
    border-color: rgba(96, 165, 250, 0.24);
    background: rgba(37, 99, 235, 0.1);
    color: #93c5fd;
}

.dns-copy-all-button,
.dns-inline-copy {
    appearance: none;
    border: 0;
    background: transparent;
    color: #67e8f9;
    cursor: pointer;
    font: inherit;
}

.dns-copy-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 7px;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid rgba(34, 211, 238, 0.17);
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.06);
    font-size: 0.76rem;
    font-weight: 700;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.dns-copy-all-button:hover {
    border-color: rgba(34, 211, 238, 0.34);
    background: rgba(6, 182, 212, 0.12);
    transform: translateY(-1px);
}

.dns-record-fields {
    display: grid;
    grid-template-columns:
        minmax(150px, 0.65fr)
        minmax(320px, 2fr)
        minmax(115px, 0.45fr);
    gap: 12px;
    padding: 17px 21px 20px;
}

.dns-record-fields-with-priority {
    grid-template-columns:
        minmax(135px, 0.6fr)
        minmax(280px, 1.7fr)
        minmax(105px, 0.38fr)
        minmax(105px, 0.38fr);
}

.dns-field {
    min-width: 0;
}

.dns-field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 23px;
    margin-bottom: 7px;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 680;
}

.dns-inline-copy {
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 700;
}

.dns-inline-copy:hover {
    color: #cffafe;
}

.dns-field-value {
    display: flex;
    align-items: center;
    min-height: 48px;
    overflow: hidden;
    padding: 10px 12px;
    border: 1px solid #26364d;
    border-radius: 11px;
    background: rgba(2, 6, 23, 0.74);
}

.dns-field-value code {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #e2e8f0;
    font-size: 0.79rem;
    line-height: 1.5;
}

.dns-priority-value code {
    color: #67e8f9;
    font-size: 0.92rem;
    font-weight: 800;
}

.dns-record-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 21px 20px;
    padding: 11px 12px;
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 11px;
    background: rgba(6, 182, 212, 0.055);
    color: #94a3b8;
    font-size: 0.76rem;
    line-height: 1.55;
}

.dns-record-note strong {
    color: #cffafe;
}

.dns-record-note-warning {
    border-color: rgba(245, 158, 11, 0.18);
    background: rgba(245, 158, 11, 0.06);
}

.dns-record-note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    color: #67e8f9;
    font-size: 0.68rem;
    font-weight: 850;
}

.dns-record-note-warning .dns-record-note-icon {
    background: rgba(245, 158, 11, 0.13);
    color: #fbbf24;
}

.dns-guide-card {
    display: block;
}

.dns-guide-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #67e8f9;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dns-provider-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
    margin-top: 18px;
}

.dns-provider-item {
    padding: 13px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.31);
}

.dns-provider-item strong {
    display: block;
    color: #e2e8f0;
    font-size: 0.8rem;
}

.dns-provider-item span {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 0.7rem;
    line-height: 1.45;
}

.dns-guide-tips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.dns-guide-tip {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.39);
}

.dns-guide-tip-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.1);
    color: #67e8f9;
    font-size: 0.7rem;
    font-weight: 850;
}

.dns-guide-tip strong {
    display: block;
    color: #cbd5e1;
    font-size: 0.76rem;
}

.dns-guide-tip p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 0.7rem;
    line-height: 1.52;
}

.dns-guide-tip code {
    color: #a5f3fc;
}

@media (max-width: 1100px) {
    .dns-record-fields,
    .dns-record-fields-with-priority {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dns-provider-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dns-guide-tips {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .dns-page {
        gap: 16px;
    }

    .dns-intro-card {
        padding: 17px;
    }

    .dns-record-card-header {
        display: block;
        padding: 17px;
    }

    .dns-copy-all-button {
        width: 100%;
        margin-top: 15px;
    }

    .dns-record-fields,
    .dns-record-fields-with-priority {
        grid-template-columns: 1fr;
        padding: 15px 17px 17px;
    }

    .dns-record-note {
        margin-right: 17px;
        margin-left: 17px;
    }

    .dns-provider-grid {
        grid-template-columns: 1fr;
    }
}

/* === Domain DNS UI v2: click boxes + DKIM GET VALUE === */
.dns-page-v2 .dns-record-card-header {
    align-items: center;
}

.dns-page-v2 .dns-field-value {
    position: relative;
    width: 100%;
    appearance: none;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 150ms ease,
        background 150ms ease,
        box-shadow 150ms ease,
        transform 150ms ease;
}

.dns-page-v2 .dns-field-value:hover {
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(6, 182, 212, 0.07);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.06);
}

.dns-page-v2 .dns-field-value:active {
    transform: translateY(1px);
}

.dns-page-v2 .dns-field-value.is-copied {
    border-color: rgba(34, 197, 94, 0.6);
    background: rgba(34, 197, 94, 0.08);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.07);
}

.dns-copy-state {
    position: absolute;
    top: 7px;
    right: 9px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    color: #64748b;
    font-family: inherit;
    font-size: 0.58rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 150ms ease, transform 150ms ease;
    pointer-events: none;
}

.dns-copy-box:hover .dns-copy-state,
.dns-copy-box.is-copied .dns-copy-state {
    opacity: 1;
    transform: translateY(0);
}

.dns-copy-box.is-copied .dns-copy-state {
    background: rgba(22, 101, 52, 0.95);
    color: #dcfce7;
}

.dns-get-value-form {
    width: 100%;
    margin: 0;
}

.dns-get-value-button {
    display: flex;
    min-height: 48px;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 9px 13px;
    border: 1px solid rgba(34, 211, 238, 0.4);
    border-radius: 11px;
    background:
        linear-gradient(
            135deg,
            rgba(6, 182, 212, 0.16),
            rgba(14, 116, 144, 0.08)
        );
    color: #67e8f9;
    cursor: pointer;
    text-align: left;
    transition:
        border-color 150ms ease,
        background 150ms ease,
        transform 150ms ease,
        box-shadow 150ms ease;
}

.dns-get-value-button:hover {
    border-color: rgba(34, 211, 238, 0.75);
    background:
        linear-gradient(
            135deg,
            rgba(6, 182, 212, 0.24),
            rgba(14, 116, 144, 0.13)
        );
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.07);
    transform: translateY(-1px);
}

.dns-get-value-button span {
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.dns-get-value-button small {
    color: #94a3b8;
    font-size: 0.64rem;
    font-weight: 500;
}

.dns-copy-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(34, 197, 94, 0.42);
    border-radius: 12px;
    background: rgba(20, 83, 45, 0.96);
    color: #dcfce7;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
    font-size: 0.8rem;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.dns-copy-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 680px) {
    .dns-copy-state {
        display: none;
    }

    .dns-copy-toast {
        right: 14px;
        bottom: 14px;
    }
}

/* ==========================================================================
   Premium DNS Setup UI v3
   ========================================================================== */

.dns-premium-page {
    --dns-bg: #07101f;
    --dns-card: rgba(13, 27, 49, 0.94);
    --dns-card-strong: rgba(16, 33, 58, 0.98);
    --dns-border: rgba(82, 122, 170, 0.28);
    --dns-border-soft: rgba(82, 122, 170, 0.17);
    --dns-text: #f4f8ff;
    --dns-muted: #91a3bb;
    --dns-subtle: #617791;
    display: grid;
    gap: 18px;
    width: 100%;
}

.dns-premium-page *,
.dns-premium-page *::before,
.dns-premium-page *::after {
    box-sizing: border-box;
}

.dns-premium-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 25px 28px;
    border: 1px solid var(--dns-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 20%, rgba(16, 185, 129, 0.10), transparent 27%),
        radial-gradient(circle at 87% 18%, rgba(14, 165, 233, 0.11), transparent 29%),
        linear-gradient(140deg, rgba(13, 27, 49, 0.99), rgba(8, 19, 37, 0.99));
    box-shadow:
        0 22px 65px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.dns-premium-hero-main {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.dns-premium-domain-icon {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(14, 165, 233, 0.42);
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.12);
    color: #38bdf8;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.14);
}

.dns-premium-domain-icon.is-verified {
    border-color: rgba(34, 197, 94, 0.52);
    background: rgba(34, 197, 94, 0.13);
    color: #4ade80;
    box-shadow: 0 0 34px rgba(34, 197, 94, 0.20);
}

.dns-premium-domain-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dns-premium-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

.dns-premium-title-row h1 {
    margin: 0;
    color: var(--dns-text);
    font-size: clamp(1.26rem, 2.1vw, 1.75rem);
    font-weight: 780;
    letter-spacing: -0.035em;
}

.dns-premium-status {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
}

.dns-premium-status.is-verified {
    border-color: rgba(34, 197, 94, 0.38);
    background: rgba(34, 197, 94, 0.12);
    color: #6ee7a0;
}

.dns-premium-status.is-pending {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.10);
    color: #fbbf24;
}

.dns-premium-hero-main p {
    max-width: 620px;
    margin: 8px 0 0;
    color: var(--dns-muted);
    font-size: 0.86rem;
    line-height: 1.65;
}

.dns-premium-progress {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0;
    min-width: 520px;
}

.dns-premium-progress-item {
    position: relative;
    display: grid;
    min-width: 96px;
    justify-items: center;
    gap: 8px;
    color: #8192aa;
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
}

.dns-premium-progress-item:not(:last-child)::after {
    position: absolute;
    top: 13px;
    left: calc(50% + 15px);
    width: calc(100% - 30px);
    height: 2px;
    background: rgba(82, 122, 170, 0.26);
    content: "";
}

.dns-premium-progress-item.is-done:not(:last-child)::after {
    background: linear-gradient(90deg, #34d399, #22d3ee);
}

.dns-premium-progress-dot {
    position: relative;
    z-index: 1;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(82, 122, 170, 0.38);
    border-radius: 50%;
    background: #0b1a30;
    color: #7990aa;
    font-size: 0.68rem;
    font-weight: 850;
}

.dns-premium-progress-item.is-done .dns-premium-progress-dot {
    border-color: rgba(52, 211, 153, 0.56);
    background: #34d399;
    color: #052e24;
    box-shadow: 0 0 22px rgba(52, 211, 153, 0.25);
}

.dns-premium-progress-dot svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dns-premium-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 18px;
    border: 1px solid rgba(14, 165, 233, 0.31);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(14, 165, 233, 0.12), rgba(14, 165, 233, 0.045));
}

.dns-premium-notice-icon {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #38bdf8;
    color: #042638;
    font-size: 0.76rem;
    font-weight: 900;
}

.dns-premium-notice strong {
    color: #dff5ff;
    font-size: 0.8rem;
}

.dns-premium-notice p {
    margin: 3px 0 0;
    color: #8fa8bf;
    font-size: 0.74rem;
    line-height: 1.55;
}

.dns-premium-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;
    align-items: start;
    gap: 17px;
}

.dns-premium-records {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.dns-premium-record {
    --record-accent: #38bdf8;
    --record-rgb: 56, 189, 248;
    position: relative;
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    align-items: center;
    min-height: 126px;
    overflow: hidden;
    border: 1px solid rgba(var(--record-rgb), 0.23);
    border-left: 3px solid var(--record-accent);
    border-radius: 15px;
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--record-rgb), 0.07), transparent 34%),
        linear-gradient(140deg, rgba(14, 29, 52, 0.99), rgba(10, 23, 43, 0.99));
    box-shadow:
        0 15px 42px rgba(0, 0, 0, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.022);
}

.dns-accent-green { --record-accent: #34d399; --record-rgb: 52, 211, 153; }
.dns-accent-blue { --record-accent: #3b82f6; --record-rgb: 59, 130, 246; }
.dns-accent-cyan { --record-accent: #22d3ee; --record-rgb: 34, 211, 238; }
.dns-accent-yellow { --record-accent: #facc15; --record-rgb: 250, 204, 21; }
.dns-accent-purple { --record-accent: #a855f7; --record-rgb: 168, 85, 247; }

.dns-premium-record-summary {
    display: grid;
    grid-template-columns: 34px 38px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 22px 19px;
}

.dns-premium-step,
.dns-premium-record-icon {
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.dns-premium-step {
    width: 31px;
    height: 31px;
    border: 1px solid rgba(var(--record-rgb), 0.65);
    background: rgba(var(--record-rgb), 0.10);
    color: var(--record-accent);
    font-size: 0.75rem;
    font-weight: 850;
}

.dns-premium-record-icon {
    width: 35px;
    height: 35px;
    color: var(--record-accent);
}

.dns-premium-record-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dns-premium-record-heading {
    min-width: 0;
}

.dns-premium-record-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dns-premium-record-title h2 {
    margin: 0;
    color: #f5f8fd;
    font-size: 0.93rem;
    font-weight: 780;
    letter-spacing: -0.02em;
}

.dns-premium-record-title span {
    display: inline-flex;
    min-height: 21px;
    align-items: center;
    padding: 0 7px;
    border: 1px solid rgba(var(--record-rgb), 0.26);
    border-radius: 6px;
    background: rgba(var(--record-rgb), 0.08);
    color: var(--record-accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.58rem;
    font-weight: 850;
}

.dns-premium-record-heading p {
    margin: 7px 0 0;
    color: #7990aa;
    font-size: 0.69rem;
    line-height: 1.55;
}

.dns-premium-fields {
    display: grid;
    grid-template-columns: minmax(125px, 0.58fr) minmax(260px, 1.45fr) minmax(90px, 0.38fr);
    align-items: end;
    gap: 10px;
    padding: 19px 16px 19px 0;
}

.dns-premium-fields.has-priority {
    grid-template-columns:
        minmax(115px, 0.52fr)
        minmax(245px, 1.35fr)
        minmax(82px, 0.34fr)
        minmax(82px, 0.34fr);
}

.dns-premium-field {
    min-width: 0;
}

.dns-premium-field label {
    display: block;
    margin: 0 0 7px;
    color: #91a7be;
    font-size: 0.65rem;
    font-weight: 700;
}

.dns-premium-copy-field {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 45px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    overflow: hidden;
    padding: 10px 11px;
    border: 1px solid rgba(85, 119, 159, 0.42);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(4, 13, 27, 0.93), rgba(7, 20, 39, 0.93));
    color: #e6effa;
    cursor: pointer;
    text-align: left;
    transition:
        border-color 140ms ease,
        box-shadow 140ms ease,
        background 140ms ease,
        transform 140ms ease;
}

.dns-premium-copy-field:hover {
    border-color: rgba(var(--record-rgb), 0.66);
    background:
        linear-gradient(145deg, rgba(var(--record-rgb), 0.07), rgba(7, 20, 39, 0.95));
    box-shadow: 0 0 0 3px rgba(var(--record-rgb), 0.055);
}

.dns-premium-copy-field:active {
    transform: translateY(1px);
}

.dns-premium-copy-field.is-copied {
    border-color: rgba(34, 197, 94, 0.75);
    background: rgba(34, 197, 94, 0.08);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.065);
}

.dns-premium-copy-field code {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    color: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.45;
}

.dns-premium-copy-icon {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 7px;
    color: #5f7895;
    transition: color 140ms ease, background 140ms ease;
}

.dns-premium-copy-field:hover .dns-premium-copy-icon {
    background: rgba(var(--record-rgb), 0.10);
    color: var(--record-accent);
}

.dns-premium-copy-field.is-copied .dns-premium-copy-icon {
    background: rgba(34, 197, 94, 0.13);
    color: #4ade80;
}

.dns-premium-copy-icon svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dns-premium-priority code {
    color: var(--record-accent);
    font-size: 0.75rem;
    font-weight: 850;
}

.dns-premium-record-note {
    grid-column: 2;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: -8px 16px 14px 0;
    padding: 9px 11px;
    border: 1px solid rgba(var(--record-rgb), 0.17);
    border-radius: 9px;
    background: rgba(var(--record-rgb), 0.055);
}

.dns-premium-record-note > span {
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: rgba(var(--record-rgb), 0.15);
    color: var(--record-accent);
    font-size: 0.58rem;
    font-weight: 900;
}

.dns-premium-record-note p {
    margin: 0;
    color: #89a0b7;
    font-size: 0.65rem;
    line-height: 1.5;
}

.dns-premium-record-note strong {
    color: #c7def1;
}

.dns-premium-dkim-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;
    align-items: center;
    gap: 18px;
    margin: 17px 17px 17px 0;
    padding: 17px 18px;
    border: 1px dashed rgba(168, 85, 247, 0.48);
    border-radius: 12px;
    background:
        radial-gradient(circle at 100% 0%, rgba(168, 85, 247, 0.12), transparent 38%),
        rgba(7, 16, 33, 0.74);
}

.dns-premium-dkim-kicker {
    display: block;
    margin-bottom: 4px;
    color: #c084fc;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dns-premium-dkim-copy strong {
    display: block;
    color: #f5edff;
    font-size: 0.84rem;
    line-height: 1.4;
}

.dns-premium-dkim-copy p {
    margin: 6px 0 0;
    color: #8f9fb4;
    font-size: 0.67rem;
    line-height: 1.55;
}

.dns-premium-get-value-form {
    margin: 0;
}

.dns-premium-get-value-button {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    border: 0;
    border-radius: 11px;
    background:
        linear-gradient(110deg, #22c1ef, #3b82f6 55%, #9333ea);
    color: white;
    cursor: pointer;
    box-shadow:
        0 13px 32px rgba(59, 130, 246, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
    transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.dns-premium-get-value-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow:
        0 16px 38px rgba(59, 130, 246, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.dns-premium-get-value-button svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dns-premium-get-value-button span {
    display: grid;
    gap: 2px;
    text-align: left;
}

.dns-premium-get-value-button strong {
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.025em;
}

.dns-premium-get-value-button small {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.59rem;
    font-weight: 600;
}

.dns-premium-sidebar {
    display: grid;
    gap: 13px;
}

.dns-premium-side-card {
    padding: 17px;
    border: 1px solid var(--dns-border);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(16, 33, 58, 0.97), rgba(10, 23, 43, 0.97));
    box-shadow:
        0 16px 42px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.dns-premium-side-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}

.dns-premium-side-title h3,
.dns-premium-help-card h3 {
    margin: 0;
    color: #f3f7fc;
    font-size: 0.79rem;
    font-weight: 780;
}

.dns-premium-side-title > span {
    color: #617791;
    font-size: 0.58rem;
    font-weight: 700;
}

.dns-premium-status-list {
    display: grid;
    gap: 10px;
}

.dns-premium-status-row {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    color: #b9c7d7;
    font-size: 0.64rem;
}

.dns-premium-status-row strong {
    color: #70859e;
    font-size: 0.58rem;
}

.dns-premium-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08);
}

.dns-premium-status-dot.is-done {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.09);
}

.dns-premium-provider-list {
    display: grid;
    gap: 0;
}

.dns-premium-provider-list > div {
    display: grid;
    gap: 3px;
    padding: 10px 0;
    border-top: 1px solid rgba(82, 122, 170, 0.13);
}

.dns-premium-provider-list > div:first-child {
    border-top: 0;
    padding-top: 1px;
}

.dns-premium-provider-list strong {
    color: #dce7f3;
    font-size: 0.68rem;
}

.dns-premium-provider-list span {
    color: #647a93;
    font-size: 0.58rem;
}

.dns-premium-help-card {
    text-align: center;
}

.dns-premium-help-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin: 0 auto 11px;
    place-items: center;
    border: 1px solid rgba(56, 189, 248, 0.34);
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.09);
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 900;
}

.dns-premium-help-card p {
    margin: 8px 0 0;
    color: #7e93aa;
    font-size: 0.63rem;
    line-height: 1.62;
}

.dns-premium-tips {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dns-premium-tips li {
    position: relative;
    padding-left: 17px;
    color: #9cafc2;
    font-size: 0.63rem;
    line-height: 1.5;
}

.dns-premium-tips li::before {
    position: absolute;
    top: 0.34em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.08);
    content: "";
}

.dns-premium-bottom-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

.dns-premium-bottom-actions form {
    margin: 0;
}

.dns-premium-main-action,
.dns-premium-delete-action {
    min-height: 44px;
}

.dns-premium-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 43px;
    padding: 0 15px;
    border: 1px solid rgba(34, 197, 94, 0.45);
    border-radius: 11px;
    background: rgba(20, 83, 45, 0.96);
    color: #dcfce7;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
    font-size: 0.72rem;
    font-weight: 850;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.dns-premium-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.dns-premium-toast svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1280px) {
    .dns-premium-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .dns-premium-progress {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
    }

    .dns-premium-progress-item {
        min-width: 0;
        flex: 1;
    }

    .dns-premium-layout {
        grid-template-columns: 1fr;
    }

    .dns-premium-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .dns-premium-record {
        grid-template-columns: 1fr;
    }

    .dns-premium-record-summary {
        padding-bottom: 12px;
    }

    .dns-premium-fields,
    .dns-premium-fields.has-priority {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 18px 18px;
    }

    .dns-premium-record-note {
        grid-column: 1;
        margin: -6px 18px 17px;
    }

    .dns-premium-dkim-panel {
        grid-template-columns: 1fr;
        margin: 0 18px 18px;
    }
}

@media (max-width: 700px) {
    .dns-premium-hero {
        padding: 20px;
    }

    .dns-premium-progress {
        display: none;
    }

    .dns-premium-layout {
        gap: 14px;
    }

    .dns-premium-sidebar {
        grid-template-columns: 1fr;
    }

    .dns-premium-fields,
    .dns-premium-fields.has-priority {
        grid-template-columns: 1fr;
    }

    .dns-premium-record-summary {
        grid-template-columns: 31px 32px minmax(0, 1fr);
        padding: 18px 15px 12px;
    }

    .dns-premium-title-row h1 {
        overflow-wrap: anywhere;
    }

    .dns-premium-toast {
        right: 14px;
        bottom: 14px;
    }
}

/* =========================================================
   Bold boxed DNS type badges
   TXT = Cyan
   MX  = Blue
   ========================================================= */

.dns-premium-record-title span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 48px !important;
    min-height: 30px !important;

    padding: 5px 12px !important;

    border-width: 1px !important;
    border-style: solid !important;
    border-radius: 9px !important;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;

    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.08em !important;

    text-transform: uppercase !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 7px 20px rgba(0, 0, 0, 0.18) !important;

    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease !important;
}

/* TXT badge */

.dns-premium-record-title span:not(.dns-type-mx) {
    border-color: rgba(34, 211, 238, 0.55) !important;

    background:
        linear-gradient(
            145deg,
            rgba(8, 145, 178, 0.20),
            rgba(6, 78, 99, 0.14)
        ) !important;

    color: #67e8f9 !important;

    text-shadow:
        0 0 12px rgba(34, 211, 238, 0.38) !important;
}

/* MX badge */

.dns-accent-blue .dns-premium-record-title span {
    border-color: rgba(59, 130, 246, 0.62) !important;

    background:
        linear-gradient(
            145deg,
            rgba(37, 99, 235, 0.25),
            rgba(30, 64, 175, 0.15)
        ) !important;

    color: #93c5fd !important;

    text-shadow:
        0 0 12px rgba(59, 130, 246, 0.40) !important;
}

/* Green verification TXT badge */

.dns-accent-green .dns-premium-record-title span {
    border-color: rgba(52, 211, 153, 0.55) !important;

    background:
        linear-gradient(
            145deg,
            rgba(16, 185, 129, 0.21),
            rgba(6, 95, 70, 0.14)
        ) !important;

    color: #6ee7b7 !important;

    text-shadow:
        0 0 12px rgba(52, 211, 153, 0.34) !important;
}

/* SPF TXT badge */

.dns-accent-cyan .dns-premium-record-title span {
    border-color: rgba(34, 211, 238, 0.62) !important;

    background:
        linear-gradient(
            145deg,
            rgba(6, 182, 212, 0.23),
            rgba(14, 116, 144, 0.14)
        ) !important;

    color: #67e8f9 !important;
}

/* DMARC TXT badge */

.dns-accent-yellow .dns-premium-record-title span {
    border-color: rgba(250, 204, 21, 0.58) !important;

    background:
        linear-gradient(
            145deg,
            rgba(234, 179, 8, 0.20),
            rgba(133, 77, 14, 0.14)
        ) !important;

    color: #fde047 !important;

    text-shadow:
        0 0 12px rgba(250, 204, 21, 0.30) !important;
}

/* DKIM TXT badge */

.dns-accent-purple .dns-premium-record-title span {
    border-color: rgba(168, 85, 247, 0.62) !important;

    background:
        linear-gradient(
            145deg,
            rgba(147, 51, 234, 0.23),
            rgba(88, 28, 135, 0.15)
        ) !important;

    color: #d8b4fe !important;

    text-shadow:
        0 0 12px rgba(168, 85, 247, 0.36) !important;
}

/* Badge hover */

.dns-premium-record:hover .dns-premium-record-title span {
    transform: translateY(-1px) scale(1.03) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 9px 24px rgba(0, 0, 0, 0.24),
        0 0 16px rgba(var(--record-rgb), 0.13) !important;
}

/* Stronger record headings */

.dns-premium-record-title h2 {
    color: #ffffff !important;

    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;

    letter-spacing: -0.025em !important;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.28) !important;
}

/* Better title and badge spacing */

.dns-premium-record-title {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

/* Stronger description */

.dns-premium-record-heading p {
    max-width: 230px !important;

    margin-top: 8px !important;

    color: #9db1c8 !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.65 !important;
}

/* Bigger number badge */

.dns-premium-step {
    width: 38px !important;
    height: 38px !important;

    border-width: 2px !important;

    font-size: 14px !important;
    font-weight: 900 !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 0 18px rgba(var(--record-rgb), 0.14) !important;
}

/* Bigger record icon */

.dns-premium-record-icon {
    width: 42px !important;
    height: 42px !important;
}

.dns-premium-record-icon svg {
    width: 29px !important;
    height: 29px !important;

    stroke-width: 2.1 !important;

    filter:
        drop-shadow(0 0 8px rgba(var(--record-rgb), 0.28)) !important;
}

/* More spacing on record information */

.dns-premium-record-summary {
    grid-template-columns:
        40px
        45px
        minmax(0, 1fr) !important;

    gap: 14px !important;

    padding:
        24px
        21px !important;
}

/* Mobile */

@media (max-width: 700px) {
    .dns-premium-record-title h2 {
        font-size: 15px !important;
    }

    .dns-premium-record-title span {
        min-width: 43px !important;
        min-height: 27px !important;

        padding: 4px 9px !important;

        font-size: 10px !important;
    }

    .dns-premium-step {
        width: 34px !important;
        height: 34px !important;

        font-size: 12px !important;
    }

    .dns-premium-record-icon {
        width: 36px !important;
        height: 36px !important;
    }

    .dns-premium-record-icon svg {
        width: 25px !important;
        height: 25px !important;
    }

    .dns-premium-record-summary {
        grid-template-columns:
            35px
            37px
            minmax(0, 1fr) !important;

        gap: 10px !important;

        padding:
            18px
            15px !important;
    }
}

/* ==========================================================================
   Admin contact + DNS assistance rail v4
   ========================================================================== */
.dns-premium-contact-rail{position:fixed;top:285px;left:278px;z-index:15;width:185px;padding:19px 17px;border:1px solid rgba(56,189,248,.28);border-radius:16px;background:radial-gradient(circle at 50% 0%,rgba(56,189,248,.13),transparent 48%),linear-gradient(145deg,rgba(14,30,53,.98),rgba(8,19,37,.98));box-shadow:0 22px 55px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.035);text-align:center}
.dns-premium-contact-rail-kicker{display:block;margin-bottom:9px;color:#38bdf8;font-size:.62rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.dns-premium-contact-rail>strong{display:block;color:#fff;font-size:1.05rem;font-weight:950;line-height:1.35;letter-spacing:-.025em;text-shadow:0 3px 15px rgba(0,0,0,.28)}
.dns-premium-contact-rail>p{margin:10px 0 0;color:#91a7be;font-size:.69rem;font-weight:600;line-height:1.65}
.dns-premium-contact-rail-button,.dns-premium-admin-contact-button{text-decoration:none}
.dns-premium-contact-rail-button{display:flex;min-height:39px;align-items:center;justify-content:center;margin-top:14px;padding:0 12px;border:1px solid rgba(34,211,238,.42);border-radius:10px;background:linear-gradient(120deg,rgba(6,182,212,.22),rgba(37,99,235,.20));color:#cffafe;font-size:.7rem;font-weight:900}
.dns-premium-help-eyebrow{display:block;margin:11px 0 6px;color:#38bdf8;font-size:.58rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.dns-premium-help-card h3{font-size:.92rem;font-weight:900;line-height:1.35}
.dns-premium-help-card p{color:#92a7be;font-size:.66rem;font-weight:600;line-height:1.65}
.dns-premium-admin-contact-button{display:flex;width:100%;min-height:43px;align-items:center;justify-content:center;gap:8px;margin-top:14px;padding:9px 12px;border:1px solid rgba(34,211,238,.42);border-radius:10px;background:linear-gradient(110deg,#06b6d4,#2563eb);color:#fff;box-shadow:0 11px 28px rgba(37,99,235,.20);font-size:.69rem;font-weight:900}
.dns-premium-admin-contact-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dns-premium-contact-not-configured{margin-top:13px;padding:9px;border:1px dashed rgba(245,158,11,.30);border-radius:9px;background:rgba(245,158,11,.07);color:#fbbf24;font-size:.6rem;font-weight:700;line-height:1.5}
.admin-contact-settings-page{display:grid;gap:20px}
.admin-contact-settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px;border:1px solid rgba(56,189,248,.25);border-radius:17px;background:radial-gradient(circle at 100% 0%,rgba(56,189,248,.10),transparent 34%),linear-gradient(145deg,rgba(15,30,53,.98),rgba(8,19,37,.98))}
.admin-contact-settings-header>div>span,.admin-contact-preview-label{color:#38bdf8;font-size:.65rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.admin-contact-settings-header h1{margin:7px 0 0;color:#fff;font-size:1.65rem;font-weight:950;letter-spacing:-.035em}
.admin-contact-settings-header p{max-width:650px;margin:8px 0 0;color:#91a7be;font-size:.82rem;line-height:1.65}
.admin-contact-back-link{display:inline-flex;min-height:40px;align-items:center;padding:0 13px;border:1px solid rgba(148,163,184,.20);border-radius:10px;background:rgba(15,23,42,.55);color:#cbd5e1;font-size:.72rem;font-weight:800;text-decoration:none}
.admin-contact-settings-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);align-items:start;gap:18px}
.admin-contact-form-card,.admin-contact-preview-card{border:1px solid rgba(82,122,170,.24);border-radius:16px;background:linear-gradient(145deg,rgba(15,30,53,.98),rgba(8,19,37,.98));box-shadow:0 18px 52px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.025)}
.admin-contact-form-card{padding:22px}
.admin-contact-field{display:grid;gap:7px;margin-bottom:17px}
.admin-contact-field label{color:#e5edf7;font-size:.76rem;font-weight:850}
.admin-contact-field input,.admin-contact-field textarea{width:100%;border:1px solid rgba(82,122,170,.40);border-radius:10px;outline:none;background:rgba(3,12,27,.88);color:#f4f8ff;font:inherit;font-size:.78rem}
.admin-contact-field input{min-height:47px;padding:0 13px}
.admin-contact-field textarea{min-height:120px;padding:12px 13px;resize:vertical;line-height:1.6}
.admin-contact-field small{color:#667d96;font-size:.63rem;line-height:1.5}
.admin-contact-save-button{display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;border:0;border-radius:10px;background:linear-gradient(110deg,#06b6d4,#2563eb);color:#fff;cursor:pointer;font-size:.76rem;font-weight:900}
.admin-contact-preview-card{padding:23px;text-align:center}
.admin-contact-preview-icon{display:grid;width:48px;height:48px;margin:17px auto 13px;place-items:center;border:1px solid rgba(56,189,248,.40);border-radius:50%;background:rgba(56,189,248,.10);color:#38bdf8;font-size:1rem;font-weight:950}
.admin-contact-preview-card h2{margin:0;color:#fff;font-size:1.1rem;font-weight:950;line-height:1.35}
.admin-contact-preview-card>p{margin:10px 0 0;color:#91a7be;font-size:.72rem;line-height:1.65}
.admin-contact-preview-button{display:flex;min-height:43px;align-items:center;justify-content:center;margin-top:15px;border-radius:10px;background:linear-gradient(110deg,#06b6d4,#2563eb);color:#fff;font-size:.72rem;font-weight:900}
.admin-contact-preview-note{margin-top:13px;color:#617791;font-size:.6rem;line-height:1.5}
.admin-contact-dashboard-link{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:1.5rem;padding:18px;border:1px solid rgba(56,189,248,.28);border-radius:14px;background:linear-gradient(120deg,rgba(6,182,212,.09),rgba(37,99,235,.07));color:#fff;text-decoration:none}
.admin-contact-dashboard-link strong{display:block;font-size:.9rem;font-weight:900}
.admin-contact-dashboard-link span{display:block;margin-top:4px;color:#91a7be;font-size:.68rem}
.admin-contact-dashboard-link b{color:#67e8f9;font-size:.74rem}
@media(max-width:1700px){.dns-premium-contact-rail{display:none}}
@media(max-width:900px){.admin-contact-settings-grid{grid-template-columns:1fr}.admin-contact-settings-header{flex-direction:column}}

/* ==========================================================================
   Premium Mailboxes UI v1
   ========================================================================== */

.mailbox-premium-page {
    --mb-bg: #070f1f;
    --mb-card: rgba(15, 28, 50, 0.97);
    --mb-card-strong: rgba(18, 34, 59, 0.98);
    --mb-border: rgba(83, 116, 157, 0.28);
    --mb-border-strong: rgba(83, 116, 157, 0.42);
    --mb-text: #f7fbff;
    --mb-muted: #8da3bb;
    --mb-subtle: #627994;
    --mb-cyan: #22d3ee;
    --mb-blue: #3b82f6;
    display: grid;
    gap: 20px;
    width: 100%;
}

.mailbox-premium-page *,
.mailbox-premium-page *::before,
.mailbox-premium-page *::after {
    box-sizing: border-box;
}

.mailbox-premium-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
    border: 1px solid var(--mb-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 10% 10%, rgba(34, 211, 238, 0.11), transparent 31%),
        radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.11), transparent 28%),
        linear-gradient(145deg, rgba(15, 30, 53, 0.99), rgba(8, 18, 36, 0.99));
    box-shadow:
        0 24px 68px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mailbox-premium-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #5ee7f7;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mailbox-premium-hero h1,
.mailbox-list-heading h2 {
    margin: 0;
    color: var(--mb-text);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.mailbox-premium-hero h1 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.mailbox-premium-hero p {
    max-width: 650px;
    margin: 8px 0 0;
    color: var(--mb-muted);
    font-size: 0.85rem;
    line-height: 1.65;
}

.mailbox-premium-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(105px, 1fr));
    gap: 10px;
}

.mailbox-premium-stat {
    min-width: 108px;
    padding: 14px;
    border: 1px solid rgba(83, 116, 157, 0.22);
    border-radius: 13px;
    background: rgba(4, 13, 28, 0.48);
    text-align: center;
}

.mailbox-premium-stat span {
    display: block;
    color: var(--mb-subtle);
    font-size: 0.62rem;
    font-weight: 750;
}

.mailbox-premium-stat strong {
    display: block;
    margin-top: 5px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 950;
}

.mailbox-create-card,
.mailbox-list-section {
    border: 1px solid var(--mb-border);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(15, 28, 50, 0.98), rgba(8, 18, 35, 0.98));
    box-shadow:
        0 20px 58px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.026);
}

.mailbox-create-card {
    padding: 22px;
}

.mailbox-create-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 19px;
}

.mailbox-create-icon {
    display: grid;
    width: 45px;
    height: 45px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.31);
    border-radius: 13px;
    background: rgba(34, 211, 238, 0.09);
    color: #67e8f9;
}

.mailbox-create-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mailbox-create-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.03rem;
    font-weight: 900;
}

.mailbox-create-heading p {
    margin: 5px 0 0;
    color: var(--mb-muted);
    font-size: 0.7rem;
    line-height: 1.5;
}

.mailbox-create-form {
    display: grid;
    grid-template-columns:
        minmax(270px, 1.65fr)
        minmax(210px, 1.05fr)
        minmax(145px, 0.72fr)
        minmax(145px, 0.72fr)
        minmax(135px, 0.65fr);
    align-items: end;
    gap: 12px;
}

.mailbox-form-field {
    min-width: 0;
}

.mailbox-form-field label {
    display: block;
    margin: 0 0 7px;
    color: #a9bbcf;
    font-size: 0.67rem;
    font-weight: 800;
}

.mailbox-email-builder {
    display: grid;
    grid-template-columns: minmax(100px, 1fr) minmax(160px, auto);
    overflow: hidden;
    border: 1px solid var(--mb-border-strong);
    border-radius: 11px;
    background: rgba(3, 11, 25, 0.86);
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.mailbox-email-builder:focus-within {
    border-color: rgba(34, 211, 238, 0.7);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.07);
}

.mailbox-email-builder input,
.mailbox-email-builder select,
.mailbox-password-wrap input,
.mailbox-input-with-suffix input,
.mailbox-password-form input {
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #f4f8ff;
    font: inherit;
    font-size: 0.76rem;
}

.mailbox-email-builder input {
    min-height: 47px;
    padding: 0 13px;
}

.mailbox-email-builder select {
    min-height: 47px;
    padding: 0 34px 0 11px;
    border-left: 1px solid rgba(83, 116, 157, 0.26);
    background-color: rgba(12, 26, 47, 0.92);
}

.mailbox-email-builder option {
    color: #ffffff;
    background: #0c1a2f;
}

.mailbox-password-wrap,
.mailbox-input-with-suffix {
    position: relative;
    display: flex;
    min-height: 47px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--mb-border-strong);
    border-radius: 11px;
    background: rgba(3, 11, 25, 0.86);
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.mailbox-password-wrap:focus-within,
.mailbox-input-with-suffix:focus-within {
    border-color: rgba(34, 211, 238, 0.7);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.07);
}

.mailbox-password-wrap input,
.mailbox-input-with-suffix input {
    width: 100%;
    min-height: 45px;
    padding: 0 12px;
}

.mailbox-password-toggle {
    display: grid;
    width: 42px;
    height: 45px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-left: 1px solid rgba(83, 116, 157, 0.22);
    background: transparent;
    color: #7087a2;
    cursor: pointer;
}

.mailbox-password-toggle:hover,
.mailbox-password-toggle.is-visible {
    color: #67e8f9;
}

.mailbox-password-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mailbox-input-with-suffix span {
    display: flex;
    min-height: 45px;
    align-items: center;
    padding: 0 11px;
    border-left: 1px solid rgba(83, 116, 157, 0.22);
    background: rgba(12, 26, 47, 0.7);
    color: #7f95ad;
    font-size: 0.64rem;
    font-weight: 800;
}

.mailbox-create-cost {
    display: grid;
    min-height: 47px;
    align-content: center;
    padding: 7px 12px;
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 11px;
    background: rgba(34, 211, 238, 0.06);
}

.mailbox-create-cost span {
    color: #7890aa;
    font-size: 0.57rem;
    font-weight: 750;
}

.mailbox-create-cost strong {
    margin-top: 3px;
    color: #67e8f9;
    font-size: 0.76rem;
    font-weight: 900;
}

.mailbox-create-button {
    grid-column: 1 / -1;
    display: flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 11px;
    background:
        linear-gradient(110deg, #06b6d4, #0ea5e9 54%, #2563eb);
    color: #03131f;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 950;
    box-shadow:
        0 13px 32px rgba(14, 165, 233, 0.19),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition:
        transform 150ms ease,
        filter 150ms ease,
        box-shadow 150ms ease;
}

.mailbox-create-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow:
        0 16px 38px rgba(14, 165, 233, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.mailbox-create-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
}

.mailbox-no-domain-notice {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 11px;
    background: rgba(245, 158, 11, 0.07);
}

.mailbox-no-domain-notice strong {
    color: #fcd34d;
    font-size: 0.75rem;
}

.mailbox-no-domain-notice span {
    color: #9aaabd;
    font-size: 0.68rem;
}

.mailbox-no-domain-notice a {
    margin-left: auto;
    color: #67e8f9;
    font-size: 0.68rem;
    font-weight: 850;
}

.mailbox-list-section {
    padding: 22px;
}

.mailbox-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
}

.mailbox-list-heading h2 {
    font-size: 1.18rem;
}

.mailbox-list-count {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(83, 116, 157, 0.25);
    border-radius: 999px;
    background: rgba(4, 13, 28, 0.48);
    color: #9fb1c5;
    font-size: 0.63rem;
    font-weight: 800;
}

.mailbox-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 15px;
}

.mailbox-account-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--mb-border);
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.05), transparent 30%),
        linear-gradient(145deg, rgba(16, 32, 56, 0.98), rgba(8, 19, 37, 0.98));
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.024);
}

.mailbox-account-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #22c55e;
    content: "";
}

.mailbox-account-card.is-suspended::before {
    background: #f59e0b;
}

.mailbox-account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 13px;
}

.mailbox-account-identity {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.mailbox-account-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.31);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(34, 211, 238, 0.15), rgba(37, 99, 235, 0.11));
    color: #67e8f9;
    font-size: 0.88rem;
    font-weight: 950;
}

.mailbox-account-title {
    min-width: 0;
}

.mailbox-account-title > span {
    display: block;
    color: #607994;
    font-size: 0.57rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mailbox-account-title h3 {
    max-width: 100%;
    margin: 4px 0 0;
    overflow-wrap: anywhere;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.4;
}

.mailbox-status-badge {
    display: inline-flex;
    min-height: 25px;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 0.57rem;
    font-weight: 850;
    text-transform: capitalize;
}

.mailbox-status-badge > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.mailbox-status-badge.is-active {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.08);
    color: #86efac;
}

.mailbox-status-badge.is-active > span {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.58);
}

.mailbox-status-badge.is-suspended {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.08);
    color: #fcd34d;
}

.mailbox-status-badge.is-suspended > span {
    background: #f59e0b;
}

.mailbox-login-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 9px;
    padding: 0 18px 15px;
}

.mailbox-login-button {
    display: flex;
    min-height: 49px;
    align-items: center;
    gap: 10px;
    padding: 8px 13px;
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 11px;
    background:
        linear-gradient(110deg, rgba(6, 182, 212, 0.14), rgba(37, 99, 235, 0.1));
    color: #e9fbff;
    text-decoration: none;
    transition:
        transform 150ms ease,
        border-color 150ms ease,
        background 150ms ease;
}

.mailbox-login-button:hover {
    border-color: rgba(34, 211, 238, 0.62);
    background:
        linear-gradient(110deg, rgba(6, 182, 212, 0.22), rgba(37, 99, 235, 0.16));
    transform: translateY(-1px);
}

.mailbox-login-button > svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: #67e8f9;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mailbox-login-button > span {
    display: grid;
    gap: 2px;
}

.mailbox-login-button strong {
    font-size: 0.7rem;
    font-weight: 900;
}

.mailbox-login-button small {
    color: #7890a9;
    font-size: 0.57rem;
}

.mailbox-copy-email-button {
    display: grid;
    width: 44px;
    min-height: 49px;
    place-items: center;
    border: 1px solid var(--mb-border-strong);
    border-radius: 11px;
    background: rgba(4, 13, 28, 0.62);
    color: #7088a3;
    cursor: pointer;
    transition:
        color 150ms ease,
        border-color 150ms ease,
        background 150ms ease;
}

.mailbox-copy-email-button:hover {
    border-color: rgba(34, 211, 238, 0.45);
    color: #67e8f9;
}

.mailbox-copy-email-button.is-copied {
    border-color: rgba(34, 197, 94, 0.48);
    background: rgba(34, 197, 94, 0.08);
    color: #4ade80;
}

.mailbox-copy-email-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mailbox-account-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 18px 15px;
    overflow: hidden;
    border: 1px solid rgba(83, 116, 157, 0.19);
    border-radius: 11px;
    background: rgba(3, 11, 25, 0.46);
}

.mailbox-metric {
    min-width: 0;
    padding: 11px;
    border-left: 1px solid rgba(83, 116, 157, 0.16);
}

.mailbox-metric:first-child {
    border-left: 0;
}

.mailbox-metric span {
    display: block;
    color: #627a94;
    font-size: 0.55rem;
    font-weight: 750;
}

.mailbox-metric strong {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
    color: #dce8f5;
    font-size: 0.64rem;
    font-weight: 850;
    line-height: 1.45;
}

.mailbox-metric.is-warning strong {
    color: #fbbf24;
}

.mailbox-metric.is-expired strong {
    color: #fb7185;
}

.mailbox-renew-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 18px 15px;
    padding: 13px;
    border: 1px solid rgba(83, 116, 157, 0.2);
    border-radius: 12px;
    background:
        linear-gradient(110deg, rgba(15, 30, 53, 0.76), rgba(5, 15, 31, 0.66));
}

.mailbox-renew-copy > span {
    display: block;
    color: #627a94;
    font-size: 0.55rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mailbox-renew-copy strong {
    display: block;
    margin-top: 4px;
    color: #f3f8fd;
    font-size: 0.7rem;
    font-weight: 900;
}

.mailbox-renew-copy p {
    margin: 4px 0 0;
    color: #758ba3;
    font-size: 0.58rem;
    line-height: 1.5;
}

.mailbox-renew-form {
    flex: 0 0 auto;
    margin: 0;
}

.mailbox-toggle-switch {
    position: relative;
    width: 88px;
    height: 39px;
    overflow: hidden;
    border: 1px solid;
    border-radius: 999px;
    cursor: pointer;
    box-shadow:
        inset 0 2px 7px rgba(0, 0, 0, 0.3),
        0 7px 18px rgba(0, 0, 0, 0.17);
    transition:
        background 180ms ease,
        border-color 180ms ease,
        transform 150ms ease;
}

.mailbox-toggle-switch:hover {
    transform: translateY(-1px);
}

.mailbox-toggle-switch.is-on {
    border-color: rgba(74, 222, 128, 0.64);
    background:
        linear-gradient(180deg, #22c55e, #15803d);
}

.mailbox-toggle-switch.is-off {
    border-color: rgba(248, 113, 113, 0.62);
    background:
        linear-gradient(180deg, #dc2626, #991b1b);
}

.mailbox-toggle-knob {
    position: absolute;
    top: 4px;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background:
        linear-gradient(145deg, #ffffff, #dce7f5);
    box-shadow:
        0 4px 11px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: left 180ms ease;
}

.mailbox-toggle-switch.is-off .mailbox-toggle-knob {
    left: 5px;
}

.mailbox-toggle-switch.is-on .mailbox-toggle-knob {
    left: 52px;
}

.mailbox-toggle-label {
    position: absolute;
    top: 50%;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    transform: translateY(-50%);
}

.mailbox-toggle-label-on {
    left: 13px;
}

.mailbox-toggle-label-off {
    right: 10px;
}

.mailbox-toggle-switch.is-on .mailbox-toggle-label-off,
.mailbox-toggle-switch.is-off .mailbox-toggle-label-on {
    opacity: 0;
}

.mailbox-plan-panel,
.mailbox-password-panel {
    margin: 0 18px 12px;
    overflow: hidden;
    border: 1px solid rgba(83, 116, 157, 0.19);
    border-radius: 11px;
    background: rgba(4, 13, 28, 0.42);
}

.mailbox-plan-panel summary,
.mailbox-password-panel summary {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    color: #b6c7d8;
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 850;
    list-style: none;
}

.mailbox-plan-panel summary::-webkit-details-marker,
.mailbox-password-panel summary::-webkit-details-marker {
    display: none;
}

.mailbox-plan-panel summary > span,
.mailbox-password-panel summary > span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mailbox-plan-panel summary svg,
.mailbox-password-panel summary svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #67e8f9;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mailbox-details-arrow {
    transition: transform 150ms ease;
}

.mailbox-plan-panel[open] .mailbox-details-arrow,
.mailbox-password-panel[open] .mailbox-details-arrow {
    transform: rotate(180deg);
}

.mailbox-plan-form,
.mailbox-password-form {
    display: grid;
    gap: 9px;
    padding: 12px;
    border-top: 1px solid rgba(83, 116, 157, 0.15);
}

.mailbox-plan-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mailbox-plan-form .mailbox-secondary-button {
    grid-column: 1 / -1;
}

.mailbox-password-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mailbox-password-form input {
    min-height: 43px;
    padding: 0 11px;
    border: 1px solid var(--mb-border-strong);
    border-radius: 10px;
    background: rgba(3, 11, 25, 0.82);
}

.mailbox-password-form .mailbox-secondary-button {
    grid-column: 1 / -1;
}

.mailbox-secondary-button,
.mailbox-reactivate-button,
.mailbox-state-button,
.mailbox-delete-button {
    display: flex;
    min-height: 41px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    cursor: pointer;
    font-size: 0.64rem;
    font-weight: 900;
}

.mailbox-secondary-button {
    border: 1px solid rgba(34, 211, 238, 0.34);
    background: rgba(34, 211, 238, 0.08);
    color: #a5f3fc;
}

.mailbox-reactivate-panel {
    margin: 0 18px 12px;
    padding: 13px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 11px;
    background: rgba(245, 158, 11, 0.065);
}

.mailbox-reactivate-panel > div > strong {
    color: #fcd34d;
    font-size: 0.7rem;
}

.mailbox-reactivate-panel > div > p {
    margin: 4px 0 10px;
    color: #8fa0b2;
    font-size: 0.6rem;
}

.mailbox-reactivate-panel form {
    display: grid;
    grid-template-columns: minmax(110px, 0.65fr) minmax(160px, 1fr);
    gap: 9px;
}

.mailbox-reactivate-button {
    border: 0;
    background: linear-gradient(110deg, #f59e0b, #d97706);
    color: #201001;
}

.mailbox-account-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 4px 18px 18px;
}

.mailbox-account-actions form {
    flex: 1;
    margin: 0;
}

.mailbox-state-button,
.mailbox-delete-button {
    width: 100%;
}

.mailbox-state-button.is-suspend {
    border: 1px solid rgba(245, 158, 11, 0.28);
    background: rgba(245, 158, 11, 0.07);
    color: #fcd34d;
}

.mailbox-state-button.is-activate {
    border: 1px solid rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.07);
    color: #86efac;
}

.mailbox-delete-button {
    gap: 7px;
    border: 1px solid rgba(244, 63, 94, 0.28);
    background: rgba(244, 63, 94, 0.065);
    color: #fda4af;
}

.mailbox-delete-button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mailbox-empty-state {
    display: grid;
    min-height: 245px;
    place-items: center;
    align-content: center;
    text-align: center;
}

.mailbox-empty-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 16px;
    background: rgba(34, 211, 238, 0.07);
    color: #67e8f9;
}

.mailbox-empty-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mailbox-empty-state h3 {
    margin: 13px 0 0;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
}

.mailbox-empty-state p {
    margin: 6px 0 0;
    color: #768ca4;
    font-size: 0.67rem;
}

.mailbox-copy-toast {
    position: fixed;
    right: 23px;
    bottom: 23px;
    z-index: 9999;
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid rgba(34, 197, 94, 0.42);
    border-radius: 11px;
    background: rgba(20, 83, 45, 0.97);
    color: #dcfce7;
    box-shadow: 0 17px 45px rgba(0, 0, 0, 0.28);
    font-size: 0.68rem;
    font-weight: 850;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity 150ms ease,
        transform 150ms ease;
}

.mailbox-copy-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1280px) {
    .mailbox-create-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mailbox-create-button {
        grid-column: 1 / -1;
    }

    .mailbox-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .mailbox-premium-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .mailbox-premium-stats {
        width: 100%;
    }

    .mailbox-create-form {
        grid-template-columns: 1fr;
    }

    .mailbox-form-email,
    .mailbox-create-button {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .mailbox-premium-hero,
    .mailbox-create-card,
    .mailbox-list-section {
        padding: 17px;
    }

    .mailbox-premium-stats {
        grid-template-columns: 1fr;
    }

    .mailbox-email-builder {
        grid-template-columns: 1fr;
    }

    .mailbox-email-builder select {
        border-top: 1px solid rgba(83, 116, 157, 0.26);
        border-left: 0;
    }

    .mailbox-account-header,
    .mailbox-renew-card,
    .mailbox-account-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mailbox-status-badge {
        align-self: flex-start;
    }

    .mailbox-account-metrics,
    .mailbox-plan-form,
    .mailbox-password-form,
    .mailbox-reactivate-panel form {
        grid-template-columns: 1fr;
    }

    .mailbox-metric {
        border-top: 1px solid rgba(83, 116, 157, 0.16);
        border-left: 0;
    }

    .mailbox-metric:first-child {
        border-top: 0;
    }

    .mailbox-toggle-switch {
        width: 100%;
    }

    .mailbox-toggle-switch.is-on .mailbox-toggle-knob {
        left: calc(100% - 34px);
    }

    .mailbox-copy-toast {
        right: 14px;
        bottom: 14px;
    }
}


/* ==========================================================================
   Mailboxes Full-width Friendly UI v2
   ========================================================================== */

/*
 * Removes the layout max-width only after the mailbox page script adds this
 * class to its parent content shell.
 */
.mailbox-fullwidth-shell {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: clamp(18px, 2.1vw, 34px) !important;
}

.mailbox-fullwidth-shell .mailbox-premium-page {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Use available horizontal space without making cards excessively wide. */
.mailbox-fullwidth-shell .mailbox-card-grid {
    grid-template-columns:
        repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: clamp(15px, 1.4vw, 22px);
}

/* Wider, clearer top section. */
.mailbox-fullwidth-shell .mailbox-premium-hero {
    min-height: 150px;
    padding: clamp(24px, 2.2vw, 36px);
}

.mailbox-fullwidth-shell .mailbox-premium-hero-content {
    max-width: 760px;
}

.mailbox-fullwidth-shell .mailbox-premium-hero h1 {
    font-size: clamp(1.9rem, 2.5vw, 2.8rem);
}

.mailbox-fullwidth-shell .mailbox-premium-hero p {
    max-width: 760px;
    font-size: clamp(0.82rem, 0.9vw, 0.98rem);
}

.mailbox-fullwidth-shell .mailbox-premium-stats {
    grid-template-columns: repeat(3, minmax(125px, 1fr));
}

.mailbox-fullwidth-shell .mailbox-premium-stat {
    min-width: 125px;
    padding: 17px 16px;
}

.mailbox-fullwidth-shell .mailbox-premium-stat span {
    font-size: 0.66rem;
}

.mailbox-fullwidth-shell .mailbox-premium-stat strong {
    font-size: 1.45rem;
}

/* Friendly creation area with clearer labels and larger controls. */
.mailbox-fullwidth-shell .mailbox-create-card,
.mailbox-fullwidth-shell .mailbox-list-section {
    padding: clamp(21px, 1.8vw, 30px);
}

.mailbox-fullwidth-shell .mailbox-create-heading {
    margin-bottom: 23px;
}

.mailbox-fullwidth-shell .mailbox-create-heading h2 {
    font-size: 1.15rem;
}

.mailbox-fullwidth-shell .mailbox-create-heading p {
    font-size: 0.75rem;
}

.mailbox-fullwidth-shell .mailbox-create-form {
    grid-template-columns:
        minmax(330px, 1.8fr)
        minmax(240px, 1.15fr)
        minmax(150px, 0.72fr)
        minmax(150px, 0.72fr)
        minmax(150px, 0.68fr);
    gap: 14px;
}

.mailbox-fullwidth-shell .mailbox-form-field label {
    margin-bottom: 8px;
    color: #c0d0e1;
    font-size: 0.7rem;
}

.mailbox-fullwidth-shell .mailbox-email-builder,
.mailbox-fullwidth-shell .mailbox-password-wrap,
.mailbox-fullwidth-shell .mailbox-input-with-suffix,
.mailbox-fullwidth-shell .mailbox-create-cost {
    min-height: 51px;
}

.mailbox-fullwidth-shell .mailbox-email-builder input,
.mailbox-fullwidth-shell .mailbox-email-builder select,
.mailbox-fullwidth-shell .mailbox-password-wrap input,
.mailbox-fullwidth-shell .mailbox-input-with-suffix input {
    min-height: 49px;
    font-size: 0.8rem;
}

.mailbox-fullwidth-shell .mailbox-create-button {
    min-height: 52px;
    font-size: 0.82rem;
}

/* Card visual hierarchy. */
.mailbox-fullwidth-shell .mailbox-account-card {
    border-radius: 18px;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.mailbox-fullwidth-shell .mailbox-account-card:hover {
    border-color: rgba(34, 211, 238, 0.33);
    box-shadow:
        0 23px 60px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transform: translateY(-2px);
}

.mailbox-fullwidth-shell .mailbox-account-header {
    padding: 21px 21px 14px;
}

.mailbox-fullwidth-shell .mailbox-account-avatar {
    width: 44px;
    height: 44px;
    font-size: 0.96rem;
}

.mailbox-fullwidth-shell .mailbox-account-title h3 {
    font-size: 0.88rem;
}

.mailbox-fullwidth-shell .mailbox-login-area {
    grid-template-columns: minmax(0, 1fr) 49px;
    padding: 0 21px 17px;
}

.mailbox-fullwidth-shell .mailbox-login-button,
.mailbox-fullwidth-shell .mailbox-copy-email-button {
    min-height: 53px;
}

.mailbox-fullwidth-shell .mailbox-copy-email-button {
    width: 49px;
}

.mailbox-fullwidth-shell .mailbox-login-button strong {
    font-size: 0.75rem;
}

.mailbox-fullwidth-shell .mailbox-login-button small {
    font-size: 0.61rem;
}

.mailbox-fullwidth-shell .mailbox-account-metrics {
    margin: 0 21px 17px;
}

.mailbox-fullwidth-shell .mailbox-metric {
    padding: 13px;
}

.mailbox-fullwidth-shell .mailbox-metric span {
    font-size: 0.59rem;
}

.mailbox-fullwidth-shell .mailbox-metric strong {
    font-size: 0.68rem;
}

.mailbox-fullwidth-shell .mailbox-renew-card {
    margin: 0 21px 17px;
    padding: 15px;
}

.mailbox-fullwidth-shell .mailbox-renew-copy strong {
    font-size: 0.75rem;
}

.mailbox-fullwidth-shell .mailbox-renew-copy p {
    font-size: 0.61rem;
}

/* More polished, readable toggle. */
.mailbox-fullwidth-shell .mailbox-toggle-switch {
    width: 96px;
    height: 43px;
}

.mailbox-fullwidth-shell .mailbox-toggle-knob {
    top: 4px;
    width: 33px;
    height: 33px;
}

.mailbox-fullwidth-shell .mailbox-toggle-switch.is-off .mailbox-toggle-knob {
    left: 5px;
}

.mailbox-fullwidth-shell .mailbox-toggle-switch.is-on .mailbox-toggle-knob {
    left: 57px;
}

.mailbox-fullwidth-shell .mailbox-toggle-label {
    font-size: 0.69rem;
}

.mailbox-fullwidth-shell .mailbox-toggle-label-on {
    left: 14px;
}

.mailbox-fullwidth-shell .mailbox-toggle-label-off {
    right: 12px;
}

/* Friendly action areas and stronger buttons. */
.mailbox-fullwidth-shell .mailbox-plan-panel,
.mailbox-fullwidth-shell .mailbox-password-panel {
    margin-right: 21px;
    margin-left: 21px;
}

.mailbox-fullwidth-shell .mailbox-plan-panel summary,
.mailbox-fullwidth-shell .mailbox-password-panel summary {
    min-height: 47px;
    font-size: 0.69rem;
}

.mailbox-fullwidth-shell .mailbox-secondary-button,
.mailbox-fullwidth-shell .mailbox-reactivate-button,
.mailbox-fullwidth-shell .mailbox-state-button,
.mailbox-fullwidth-shell .mailbox-delete-button {
    min-height: 44px;
    font-size: 0.68rem;
    transition:
        filter 150ms ease,
        transform 150ms ease,
        border-color 150ms ease;
}

.mailbox-fullwidth-shell .mailbox-secondary-button:hover,
.mailbox-fullwidth-shell .mailbox-reactivate-button:hover,
.mailbox-fullwidth-shell .mailbox-state-button:hover,
.mailbox-fullwidth-shell .mailbox-delete-button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.mailbox-fullwidth-shell .mailbox-account-actions {
    padding: 5px 21px 21px;
}

/* Better use of extra-wide desktop screens. */
@media (min-width: 1780px) {
    .mailbox-fullwidth-shell .mailbox-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* At normal desktop width, keep the create form easy to scan. */
@media (max-width: 1450px) {
    .mailbox-fullwidth-shell .mailbox-create-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mailbox-fullwidth-shell .mailbox-form-email {
        grid-column: 1 / -1;
    }

    .mailbox-fullwidth-shell .mailbox-create-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .mailbox-fullwidth-shell {
        padding: 18px !important;
    }

    .mailbox-fullwidth-shell .mailbox-premium-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .mailbox-fullwidth-shell .mailbox-create-form {
        grid-template-columns: 1fr;
    }

    .mailbox-fullwidth-shell .mailbox-form-email {
        grid-column: auto;
    }

    .mailbox-fullwidth-shell .mailbox-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .mailbox-fullwidth-shell {
        padding: 12px !important;
    }

    .mailbox-fullwidth-shell .mailbox-premium-stats {
        grid-template-columns: 1fr;
    }

    .mailbox-fullwidth-shell .mailbox-account-header,
    .mailbox-fullwidth-shell .mailbox-renew-card,
    .mailbox-fullwidth-shell .mailbox-account-actions {
        flex-direction: column;
    }

    .mailbox-fullwidth-shell .mailbox-toggle-switch {
        width: 100%;
    }

    .mailbox-fullwidth-shell .mailbox-toggle-switch.is-on .mailbox-toggle-knob {
        left: calc(100% - 38px);
    }
}

/* ==========================================================================
   Premium Commercial Dashboard v1
   ========================================================================== */

.dashboard-fullwidth-shell {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: clamp(20px, 2vw, 34px) !important;
}

.dashboard-premium-page {
    --db-card: rgba(15, 29, 51, 0.98);
    --db-card-soft: rgba(13, 26, 47, 0.95);
    --db-border: rgba(83, 118, 160, 0.25);
    --db-border-strong: rgba(83, 118, 160, 0.4);
    --db-text: #f7fbff;
    --db-muted: #8ea5be;
    --db-subtle: #607a96;
    display: grid;
    gap: 18px;
    width: 100%;
}

.dashboard-premium-page *,
.dashboard-premium-page *::before,
.dashboard-premium-page *::after {
    box-sizing: border-box;
}

.dashboard-premium-page svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-premium-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 220px;
    padding: clamp(28px, 3vw, 46px);
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 14%, rgba(34, 211, 238, 0.15), transparent 31%),
        radial-gradient(circle at 90% 8%, rgba(99, 102, 241, 0.18), transparent 30%),
        linear-gradient(140deg, rgba(14, 31, 57, 0.99), rgba(8, 18, 36, 0.99));
    box-shadow:
        0 27px 80px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-eyebrow {
    display: block;
    color: #5ee7f7;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.dashboard-hero-copy h1 {
    margin: 9px 0 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.2vw, 3.15rem);
    font-weight: 950;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.dashboard-hero-copy > p {
    max-width: 720px;
    margin: 13px 0 0;
    color: #9ab0c7;
    font-size: clamp(0.82rem, 1vw, 0.98rem);
    line-height: 1.7;
}

.dashboard-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 23px;
}

.dashboard-primary-action,
.dashboard-secondary-action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border-radius: 11px;
    font-size: 0.7rem;
    font-weight: 900;
    text-decoration: none;
    transition:
        transform 150ms ease,
        filter 150ms ease,
        border-color 150ms ease;
}

.dashboard-primary-action {
    border: 1px solid rgba(34, 211, 238, 0.55);
    background: linear-gradient(110deg, #06b6d4, #2563eb);
    color: #ffffff;
    box-shadow: 0 13px 32px rgba(37, 99, 235, 0.23);
}

.dashboard-secondary-action {
    border: 1px solid rgba(110, 143, 184, 0.3);
    background: rgba(4, 14, 30, 0.56);
    color: #d9e7f5;
}

.dashboard-primary-action:hover,
.dashboard-secondary-action:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.dashboard-primary-action svg,
.dashboard-secondary-action svg {
    width: 17px;
    height: 17px;
}

.dashboard-hero-status {
    display: grid;
    width: 260px;
    justify-items: center;
    gap: 13px;
}

.dashboard-date {
    display: grid;
    justify-items: center;
    gap: 3px;
}

.dashboard-date span {
    color: #617d9c;
    font-size: 0.6rem;
    font-weight: 750;
    text-transform: uppercase;
}

.dashboard-date strong {
    color: #dce9f7;
    font-size: 0.74rem;
}

.dashboard-system-pill {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 0.61rem;
    font-weight: 850;
}

.dashboard-system-pill.is-online {
    border-color: rgba(34, 197, 94, 0.33);
    background: rgba(34, 197, 94, 0.09);
    color: #86efac;
}

.dashboard-system-pill.has-warning {
    border-color: rgba(245, 158, 11, 0.34);
    background: rgba(245, 158, 11, 0.09);
    color: #fcd34d;
}

.dashboard-system-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

.dashboard-health-ring {
    --ring-size: 116px;
    display: grid;
    width: var(--ring-size);
    height: var(--ring-size);
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle closest-side, #0c1d36 76%, transparent 78% 99%),
        conic-gradient(#22d3ee calc(var(--health) * 1%), rgba(83, 118, 160, 0.2) 0);
    box-shadow:
        0 0 35px rgba(34, 211, 238, 0.13),
        inset 0 0 20px rgba(0, 0, 0, 0.28);
}

.dashboard-health-ring > div {
    display: grid;
    justify-items: center;
    gap: 2px;
}

.dashboard-health-ring strong {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 950;
}

.dashboard-health-ring span {
    color: #6d86a2;
    font-size: 0.55rem;
    font-weight: 750;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-stat-card {
    --stat-color: #22d3ee;
    --stat-rgb: 34, 211, 238;
    position: relative;
    min-height: 148px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(var(--stat-rgb), 0.25);
    border-radius: 17px;
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--stat-rgb), 0.12), transparent 45%),
        linear-gradient(145deg, rgba(15, 30, 53, 0.98), rgba(8, 19, 37, 0.98));
    color: inherit;
    text-decoration: none;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.dashboard-stat-card:hover {
    border-color: rgba(var(--stat-rgb), 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.dashboard-stat-purple { --stat-color: #c084fc; --stat-rgb: 192, 132, 252; }
.dashboard-stat-blue { --stat-color: #60a5fa; --stat-rgb: 96, 165, 250; }
.dashboard-stat-green { --stat-color: #4ade80; --stat-rgb: 74, 222, 128; }
.dashboard-stat-cyan { --stat-color: #22d3ee; --stat-rgb: 34, 211, 238; }

.dashboard-stat-icon {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid rgba(var(--stat-rgb), 0.3);
    border-radius: 12px;
    background: rgba(var(--stat-rgb), 0.09);
    color: var(--stat-color);
}

.dashboard-stat-icon svg {
    width: 21px;
    height: 21px;
}

.dashboard-stat-card > span {
    display: block;
    margin-top: 13px;
    color: #7f96b0;
    font-size: 0.65rem;
    font-weight: 750;
}

.dashboard-stat-card > strong {
    display: block;
    margin-top: 3px;
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.dashboard-stat-card > small {
    display: block;
    margin-top: 5px;
    color: var(--stat-color);
    font-size: 0.6rem;
    font-weight: 800;
}

.dashboard-admin-overview,
.dashboard-panel {
    border: 1px solid var(--db-border);
    border-radius: 17px;
    background:
        linear-gradient(145deg, rgba(15, 29, 51, 0.98), rgba(8, 18, 36, 0.98));
    box-shadow:
        0 18px 54px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.dashboard-admin-overview {
    padding: 22px;
    border-color: rgba(168, 85, 247, 0.24);
    background:
        radial-gradient(circle at 100% 0%, rgba(168, 85, 247, 0.08), transparent 35%),
        linear-gradient(145deg, rgba(18, 29, 54, 0.99), rgba(9, 18, 36, 0.99));
}

.dashboard-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.dashboard-section-heading h2,
.dashboard-panel > h2 {
    margin: 6px 0 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.dashboard-section-heading > a {
    color: #67e8f9;
    font-size: 0.65rem;
    font-weight: 850;
    text-decoration: none;
}

.dashboard-admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 17px;
}

.dashboard-admin-stat-grid > div {
    padding: 14px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 12px;
    background: rgba(7, 15, 31, 0.48);
}

.dashboard-admin-stat-grid span {
    display: block;
    color: #7389a2;
    font-size: 0.59rem;
    font-weight: 750;
}

.dashboard-admin-stat-grid strong {
    display: block;
    margin-top: 5px;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 950;
}

.dashboard-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.dashboard-admin-actions a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 11px;
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 9px;
    background: rgba(168, 85, 247, 0.07);
    color: #d8b4fe;
    font-size: 0.62rem;
    font-weight: 850;
    text-decoration: none;
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(275px, 0.7fr);
    align-items: start;
    gap: 16px;
}

.dashboard-main-column,
.dashboard-side-column {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.dashboard-panel {
    padding: 21px;
}

.dashboard-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.dashboard-quick-grid > a {
    display: grid;
    min-height: 128px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 15px;
    border: 1px solid rgba(83, 118, 160, 0.2);
    border-radius: 13px;
    background: rgba(4, 13, 28, 0.47);
    color: inherit;
    text-align: center;
    text-decoration: none;
    transition:
        transform 150ms ease,
        border-color 150ms ease,
        background 150ms ease;
}

.dashboard-quick-grid > a:hover {
    border-color: rgba(34, 211, 238, 0.38);
    background: rgba(34, 211, 238, 0.05);
    transform: translateY(-2px);
}

.dashboard-quick-icon {
    display: grid;
    width: 41px;
    height: 41px;
    place-items: center;
    border: 1px solid;
    border-radius: 12px;
}

.dashboard-quick-icon svg {
    width: 20px;
    height: 20px;
}

.dashboard-quick-purple { border-color: rgba(192, 132, 252, 0.32); background: rgba(192, 132, 252, 0.08); color: #c084fc; }
.dashboard-quick-blue { border-color: rgba(96, 165, 250, 0.32); background: rgba(96, 165, 250, 0.08); color: #60a5fa; }
.dashboard-quick-green { border-color: rgba(74, 222, 128, 0.32); background: rgba(74, 222, 128, 0.08); color: #4ade80; }
.dashboard-quick-cyan { border-color: rgba(34, 211, 238, 0.32); background: rgba(34, 211, 238, 0.08); color: #22d3ee; }

.dashboard-quick-grid strong {
    margin-top: 4px;
    color: #eff6ff;
    font-size: 0.72rem;
    font-weight: 900;
}

.dashboard-quick-grid small {
    color: #68809a;
    font-size: 0.58rem;
    line-height: 1.45;
}

.dashboard-domain-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.dashboard-domain-list > a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto 20px;
    align-items: center;
    gap: 11px;
    min-height: 63px;
    padding: 10px 12px;
    border: 1px solid rgba(83, 118, 160, 0.17);
    border-radius: 11px;
    background: rgba(4, 13, 28, 0.42);
    color: inherit;
    text-decoration: none;
    transition:
        border-color 150ms ease,
        background 150ms ease;
}

.dashboard-domain-list > a:hover {
    border-color: rgba(34, 211, 238, 0.32);
    background: rgba(34, 211, 238, 0.04);
}

.dashboard-domain-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(192, 132, 252, 0.3);
    border-radius: 11px;
    background: rgba(192, 132, 252, 0.08);
    color: #d8b4fe;
    font-size: 0.76rem;
    font-weight: 950;
}

.dashboard-domain-name strong {
    display: block;
    overflow-wrap: anywhere;
    color: #f3f8fd;
    font-size: 0.7rem;
    font-weight: 900;
}

.dashboard-domain-name span {
    display: block;
    margin-top: 3px;
    color: #66809b;
    font-size: 0.56rem;
}

.dashboard-domain-status,
.dashboard-mailbox-status {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 0 9px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 0.56rem;
    font-weight: 850;
}

.dashboard-domain-status.is-verified,
.dashboard-mailbox-status.is-active {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.08);
    color: #86efac;
}

.dashboard-domain-status.is-pending {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.08);
    color: #fcd34d;
}

.dashboard-domain-status.is-suspended,
.dashboard-mailbox-status.is-suspended {
    border-color: rgba(244, 63, 94, 0.3);
    background: rgba(244, 63, 94, 0.08);
    color: #fda4af;
}

.dashboard-row-arrow {
    width: 17px;
    height: 17px;
    color: #58718d;
}

.dashboard-mailbox-table {
    display: grid;
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid rgba(83, 118, 160, 0.18);
    border-radius: 11px;
}

.dashboard-mailbox-head,
.dashboard-mailbox-row {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(90px, 0.55fr) minmax(90px, 0.45fr);
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
}

.dashboard-mailbox-head {
    background: rgba(4, 13, 28, 0.62);
    color: #68819b;
    font-size: 0.57rem;
    font-weight: 850;
    text-transform: uppercase;
}

.dashboard-mailbox-row {
    border-top: 1px solid rgba(83, 118, 160, 0.14);
}

.dashboard-mailbox-row > div strong {
    display: block;
    overflow-wrap: anywhere;
    color: #eaf2fb;
    font-size: 0.67rem;
    font-weight: 850;
}

.dashboard-mailbox-row > div span {
    display: block;
    margin-top: 3px;
    color: #627a94;
    font-size: 0.55rem;
}

.dashboard-mailbox-row > strong {
    color: #aabdd0;
    font-size: 0.62rem;
}

.dashboard-service-list {
    display: grid;
    gap: 0;
    margin-top: 14px;
}

.dashboard-service-list > div {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 10px 0;
    border-top: 1px solid rgba(83, 118, 160, 0.13);
}

.dashboard-service-list > div:first-child {
    border-top: 0;
}

.dashboard-service-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dashboard-service-dot.is-online {
    background: #22c55e;
    box-shadow: 0 0 9px rgba(34, 197, 94, 0.65);
}

.dashboard-service-dot.is-offline {
    background: #f43f5e;
    box-shadow: 0 0 9px rgba(244, 63, 94, 0.55);
}

.dashboard-service-list strong {
    color: #c8d7e6;
    font-size: 0.65rem;
    font-weight: 800;
}

.dashboard-service-list > div > span:last-child {
    color: #66809b;
    font-size: 0.57rem;
    font-weight: 750;
}

.dashboard-wallet-panel {
    overflow: hidden;
    border-color: rgba(34, 211, 238, 0.22);
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.11), transparent 42%),
        linear-gradient(145deg, rgba(15, 31, 53, 0.99), rgba(8, 19, 37, 0.99));
}

.dashboard-wallet-panel h2 {
    margin: 9px 0 0;
    font-size: 1.5rem;
}

.dashboard-wallet-panel p {
    margin: 8px 0 0;
    color: #8198b0;
    font-size: 0.64rem;
    line-height: 1.55;
}

.dashboard-wallet-progress {
    height: 7px;
    margin-top: 15px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(83, 118, 160, 0.18);
}

.dashboard-wallet-progress > div {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22d3ee, #3b82f6);
}

.dashboard-wallet-panel > a {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    border: 1px solid rgba(34, 211, 238, 0.33);
    border-radius: 9px;
    background: rgba(34, 211, 238, 0.08);
    color: #a5f3fc;
    font-size: 0.65rem;
    font-weight: 900;
    text-decoration: none;
}

.dashboard-health-panel .dashboard-section-heading > strong {
    color: #67e8f9;
    font-size: 1rem;
    font-weight: 950;
}

.dashboard-health-checks {
    display: grid;
    gap: 9px;
    margin-top: 15px;
}

.dashboard-health-checks > div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #7890a9;
    font-size: 0.64rem;
    font-weight: 750;
}

.dashboard-health-checks > div > span {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid rgba(83, 118, 160, 0.3);
    border-radius: 8px;
    background: rgba(4, 13, 28, 0.55);
    color: #6d87a2;
    font-size: 0.6rem;
    font-weight: 900;
}

.dashboard-health-checks > div.is-complete {
    color: #c1d2e2;
}

.dashboard-health-checks > div.is-complete > span {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
}

.dashboard-support-panel {
    text-align: center;
}

.dashboard-support-icon {
    display: grid;
    width: 43px;
    height: 43px;
    margin: 0 auto;
    place-items: center;
    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.08);
    color: #60a5fa;
    font-size: 0.82rem;
    font-weight: 950;
}

.dashboard-support-panel h2 {
    margin-top: 11px;
}

.dashboard-support-panel p {
    margin: 7px 0 0;
    color: #7890a9;
    font-size: 0.63rem;
    line-height: 1.6;
}

.dashboard-support-panel a {
    display: flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    margin-top: 13px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 9px;
    background: rgba(96, 165, 250, 0.07);
    color: #bfdbfe;
    font-size: 0.63rem;
    font-weight: 900;
    text-decoration: none;
}

.dashboard-empty-state {
    display: grid;
    min-height: 165px;
    place-items: center;
    align-content: center;
    padding: 20px;
    text-align: center;
}

.dashboard-empty-state strong {
    color: #eaf2fb;
    font-size: 0.78rem;
}

.dashboard-empty-state p {
    margin: 6px 0 0;
    color: #7188a1;
    font-size: 0.62rem;
}

.dashboard-empty-state a {
    margin-top: 11px;
    color: #67e8f9;
    font-size: 0.63rem;
    font-weight: 850;
}

@media (max-width: 1300px) {
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-side-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .dashboard-premium-hero {
        grid-template-columns: 1fr;
    }

    .dashboard-hero-status {
        width: 100%;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        justify-items: start;
    }

    .dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-admin-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .dashboard-fullwidth-shell {
        padding: 13px !important;
    }

    .dashboard-premium-hero {
        padding: 22px;
    }

    .dashboard-hero-status,
    .dashboard-stat-grid,
    .dashboard-admin-stat-grid,
    .dashboard-side-column,
    .dashboard-quick-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-hero-status {
        justify-items: center;
    }

    .dashboard-mailbox-head {
        display: none;
    }

    .dashboard-mailbox-row {
        grid-template-columns: 1fr auto;
    }

    .dashboard-mailbox-row > div {
        grid-column: 1 / -1;
    }

    .dashboard-domain-list > a {
        grid-template-columns: 38px minmax(0, 1fr) auto;
    }

    .dashboard-row-arrow {
        display: none;
    }
}

/* ==========================================================================
   Domains + Wallet Premium UI v1
   ========================================================================== */

/* Shared full-width shells */
.domains-premium-shell,
.wallet-premium-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(18px, 2vw, 34px) !important;
}

.domains-premium-shell *,
.wallet-premium-shell *,
.domains-premium-shell *::before,
.wallet-premium-shell *::before,
.domains-premium-shell *::after,
.wallet-premium-shell *::after {
    box-sizing: border-box;
}

/* ------------------------- Domains ------------------------- */

.domains-premium-shell {
    display: grid;
    gap: 18px;
}

.domains-premium-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 190px;
    padding: clamp(26px, 3vw, 42px);
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.27);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 12%, rgba(168, 85, 247, 0.16), transparent 33%),
        radial-gradient(circle at 93% 10%, rgba(34, 211, 238, 0.13), transparent 30%),
        linear-gradient(140deg, rgba(17, 31, 55, 0.99), rgba(8, 18, 36, 0.99));
    box-shadow:
        0 27px 75px rgba(0, 0, 0, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.domains-premium-eyebrow,
.wallet-premium-eyebrow {
    display: block;
    color: #67e8f9;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.domains-premium-hero h1,
.wallet-premium-hero h1 {
    margin: 9px 0 0;
    color: #ffffff;
    font-size: clamp(1.7rem, 3vw, 2.85rem);
    font-weight: 950;
    letter-spacing: -0.045em;
    line-height: 1.07;
}

.domains-premium-hero p,
.wallet-premium-hero p {
    max-width: 720px;
    margin: 12px 0 0;
    color: #99aec5;
    font-size: clamp(0.78rem, 0.95vw, 0.94rem);
    line-height: 1.7;
}

.domains-premium-hero-tags,
.wallet-premium-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.domains-premium-hero-tags span,
.wallet-premium-hero-actions span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(103, 232, 249, 0.18);
    border-radius: 999px;
    background: rgba(103, 232, 249, 0.055);
    color: #9fc6d5;
    font-size: 0.6rem;
    font-weight: 750;
}

.domains-premium-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(105px, 1fr));
    gap: 10px;
}

.domains-premium-stats > div {
    min-width: 110px;
    padding: 17px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 14px;
    background: rgba(4, 13, 28, 0.5);
    text-align: center;
}

.domains-premium-stats span {
    display: block;
    color: #7289a3;
    font-size: 0.6rem;
    font-weight: 750;
}

.domains-premium-stats strong {
    display: block;
    margin-top: 5px;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 950;
}

.domains-premium-card,
.domains-premium-shell > section:not(.domains-premium-hero),
.domains-premium-shell > div:not(.domains-premium-hero) {
    border-radius: 18px;
}

.domains-guide-card,
.domains-add-card,
.domains-list-card {
    border: 1px solid rgba(83, 118, 160, 0.25) !important;
    background:
        linear-gradient(145deg, rgba(15, 29, 51, 0.98), rgba(8, 18, 36, 0.98)) !important;
    box-shadow:
        0 19px 56px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.026) !important;
}

.domains-guide-card {
    position: relative;
    padding: 24px !important;
}

.domains-guide-toggle {
    display: none;
    width: 100%;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.domains-guide-toggle > span:first-child {
    display: grid;
    gap: 4px;
}

.domains-guide-toggle b {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
}

.domains-guide-toggle small {
    color: #7189a4;
    font-size: 0.62rem;
}

.domains-guide-toggle-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 10px;
    background: rgba(34, 211, 238, 0.07);
    color: #67e8f9;
    font-size: 1rem;
    transition: transform 160ms ease;
}

.domains-guide-card .domains-guide-toggle {
    display: flex;
}

.domains-guide-card.is-collapsed > *:not(.domains-guide-toggle) {
    display: none !important;
}

.domains-guide-card:not(.is-collapsed) .domains-guide-toggle-icon {
    transform: rotate(180deg);
}

.domains-add-card {
    padding: clamp(20px, 2vw, 28px) !important;
    border-color: rgba(34, 211, 238, 0.22) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.075), transparent 35%),
        linear-gradient(145deg, rgba(15, 29, 51, 0.98), rgba(8, 18, 36, 0.98)) !important;
}

.domains-add-card h1,
.domains-add-card h2,
.domains-add-card h3,
.domains-list-card h1,
.domains-list-card h2,
.domains-list-card h3 {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.domains-add-card form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    gap: 12px !important;
}

.domains-add-card input[type="text"],
.domains-add-card input[type="url"] {
    min-height: 50px !important;
    border: 1px solid rgba(83, 118, 160, 0.42) !important;
    border-radius: 11px !important;
    outline: 0 !important;
    background: rgba(3, 11, 25, 0.86) !important;
    color: #f5f9fd !important;
    font-size: 0.78rem !important;
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease !important;
}

.domains-add-card input:focus {
    border-color: rgba(34, 211, 238, 0.7) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.07) !important;
}

.domains-add-card button[type="submit"] {
    min-height: 50px !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(110deg, #06b6d4, #2563eb) !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    box-shadow: 0 13px 32px rgba(37, 99, 235, 0.2) !important;
}

.domains-list-card {
    overflow: hidden;
    padding: 20px !important;
}

.domains-table-wrap,
.wallet-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.domains-premium-shell table,
.wallet-premium-shell table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.domains-premium-shell th {
    padding: 13px 14px !important;
    border-bottom: 1px solid rgba(83, 118, 160, 0.2) !important;
    color: #7d94ad !important;
    font-size: 0.61rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.05em !important;
    text-align: left !important;
    text-transform: uppercase !important;
}

.domains-premium-shell td {
    padding: 15px 14px !important;
    border-bottom: 1px solid rgba(83, 118, 160, 0.14) !important;
    color: #dbe7f3 !important;
    font-size: 0.68rem !important;
}

.domains-premium-shell tbody tr {
    transition:
        background 150ms ease,
        transform 150ms ease;
}

.domains-premium-shell tbody tr:hover {
    background: rgba(34, 211, 238, 0.035);
}

.domains-premium-shell td:first-child {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.domains-premium-shell td a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 9px;
    background: rgba(34, 211, 238, 0.065);
    color: #67e8f9 !important;
    font-size: 0.62rem;
    font-weight: 850;
    text-decoration: none;
}

/* ------------------------- Wallet ------------------------- */

.wallet-premium-shell {
    display: grid;
    grid-template-columns: minmax(250px, 0.38fr) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.wallet-premium-hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 190px;
    padding: clamp(26px, 3vw, 42px);
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.27);
    border-radius: 22px;
    background:
        radial-gradient(circle at 10% 10%, rgba(34, 211, 238, 0.16), transparent 33%),
        radial-gradient(circle at 92% 5%, rgba(34, 197, 94, 0.12), transparent 28%),
        linear-gradient(140deg, rgba(13, 31, 54, 0.99), rgba(7, 18, 35, 0.99));
    box-shadow:
        0 27px 75px rgba(0, 0, 0, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wallet-premium-hero-actions > a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid rgba(34, 211, 238, 0.38);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    color: #a5f3fc;
    font-size: 0.63rem;
    font-weight: 900;
    text-decoration: none;
}

.wallet-premium-hero-balance {
    display: grid;
    min-width: 225px;
    justify-items: center;
    padding: 22px;
    border: 1px solid rgba(34, 197, 94, 0.28);
    border-radius: 17px;
    background: rgba(3, 17, 26, 0.53);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.wallet-premium-hero-balance span {
    color: #7890a8;
    font-size: 0.63rem;
    font-weight: 750;
}

.wallet-premium-hero-balance strong {
    margin-top: 6px;
    color: #6ee7b7;
    font-size: clamp(1.7rem, 2.6vw, 2.45rem);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.wallet-premium-hero-balance small {
    margin-top: 2px;
    color: #4ade80;
    font-size: 0.62rem;
    font-weight: 850;
}

.wallet-premium-balance-card,
.wallet-premium-buy-card,
.wallet-premium-history-card {
    border: 1px solid rgba(83, 118, 160, 0.25) !important;
    border-radius: 18px !important;
    background:
        linear-gradient(145deg, rgba(15, 29, 51, 0.98), rgba(8, 18, 36, 0.98)) !important;
    box-shadow:
        0 19px 56px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.026) !important;
}

.wallet-premium-balance-card {
    position: sticky;
    top: 24px;
    min-height: 280px;
    padding: 25px !important;
    border-color: rgba(34, 197, 94, 0.23) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.09), transparent 36%),
        linear-gradient(145deg, rgba(15, 31, 52, 0.99), rgba(8, 18, 36, 0.99)) !important;
}

.wallet-premium-balance-card h1,
.wallet-premium-balance-card h2,
.wallet-premium-balance-card strong {
    color: #ffffff !important;
    font-weight: 950 !important;
}

.wallet-premium-buy-card {
    padding: clamp(20px, 2vw, 28px) !important;
    border-color: rgba(34, 211, 238, 0.23) !important;
}

.wallet-premium-buy-card h1,
.wallet-premium-buy-card h2,
.wallet-premium-buy-card h3,
.wallet-premium-history-card h1,
.wallet-premium-history-card h2,
.wallet-premium-history-card h3 {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.wallet-premium-buy-card input,
.wallet-premium-buy-card select {
    min-height: 48px !important;
    border: 1px solid rgba(83, 118, 160, 0.42) !important;
    border-radius: 11px !important;
    outline: 0 !important;
    background: rgba(3, 11, 25, 0.86) !important;
    color: #f5f9fd !important;
}

.wallet-premium-buy-card input:focus,
.wallet-premium-buy-card select:focus {
    border-color: rgba(34, 211, 238, 0.7) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.07) !important;
}

.wallet-premium-buy-card button[type="submit"] {
    min-height: 50px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(110deg, #06b6d4, #0ea5e9 55%, #2563eb) !important;
    color: #02131f !important;
    font-size: 0.74rem !important;
    font-weight: 950 !important;
    box-shadow:
        0 13px 32px rgba(14, 165, 233, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

.wallet-premium-buy-card button:not([type="submit"]) {
    border-radius: 10px !important;
}

.wallet-file-upload-wrap {
    border-radius: 13px;
    transition:
        border-color 150ms ease,
        background 150ms ease;
}

.wallet-file-upload-wrap:hover {
    border-color: rgba(34, 211, 238, 0.45) !important;
    background: rgba(34, 211, 238, 0.035) !important;
}

.wallet-premium-history-card {
    grid-column: 1 / -1;
    overflow: hidden;
    padding: 22px !important;
}

.wallet-premium-shell th {
    padding: 13px 14px !important;
    border-bottom: 1px solid rgba(83, 118, 160, 0.2) !important;
    color: #7d94ad !important;
    font-size: 0.6rem !important;
    font-weight: 850 !important;
    text-transform: uppercase !important;
}

.wallet-premium-shell td {
    padding: 15px 14px !important;
    border-bottom: 1px solid rgba(83, 118, 160, 0.14) !important;
    color: #dce7f3 !important;
    font-size: 0.66rem !important;
}

.wallet-premium-shell tbody tr:hover {
    background: rgba(34, 211, 238, 0.035);
}

/* Desktop adjustment for unclassified original cards */
.wallet-premium-shell > *:not(.wallet-premium-hero):not(script):not(style) {
    min-width: 0;
}

@media (max-width: 1200px) {
    .domains-premium-hero,
    .wallet-premium-hero {
        grid-template-columns: 1fr;
    }

    .domains-premium-stats {
        width: 100%;
    }

    .wallet-premium-shell {
        grid-template-columns: 1fr;
    }

    .wallet-premium-balance-card {
        position: static;
        min-height: auto;
    }

    .wallet-premium-history-card {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .domains-premium-shell,
    .wallet-premium-shell {
        padding: 13px !important;
    }

    .domains-premium-hero,
    .wallet-premium-hero {
        padding: 22px;
    }

    .domains-premium-stats {
        grid-template-columns: 1fr;
    }

    .domains-add-card form {
        grid-template-columns: 1fr !important;
    }

    .domains-add-card button[type="submit"] {
        width: 100% !important;
    }

    .wallet-premium-hero-balance {
        min-width: 0;
        width: 100%;
    }
}

/* ==========================================================================
   Wallet Ultra Premium UI v2
   ========================================================================== */

.wallet-ultra-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(20px, 2.2vw, 38px) !important;
    display: grid;
    grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
    align-items: start;
    gap: 22px;
}

.wallet-ultra-shell *,
.wallet-ultra-shell *::before,
.wallet-ultra-shell *::after {
    box-sizing: border-box;
}

.wallet-ultra-hero {
    grid-column: 1 / -1;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.72fr);
    align-items: center;
    gap: 34px;
    min-height: 280px;
    overflow: hidden;
    padding: clamp(34px, 4vw, 58px);
    border: 1px solid rgba(34, 211, 238, 0.30);
    border-radius: 26px;
    background:
        radial-gradient(circle at 8% 10%, rgba(34, 211, 238, 0.18), transparent 32%),
        radial-gradient(circle at 92% 8%, rgba(34, 197, 94, 0.16), transparent 31%),
        radial-gradient(circle at 72% 100%, rgba(59, 130, 246, 0.14), transparent 34%),
        linear-gradient(138deg, rgba(15, 34, 60, 0.995), rgba(7, 18, 36, 0.995));
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wallet-ultra-hero::after {
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 50%;
    box-shadow:
        0 0 0 40px rgba(34, 211, 238, 0.03),
        0 0 0 90px rgba(34, 211, 238, 0.02);
    content: "";
}

.wallet-ultra-hero-copy {
    position: relative;
    z-index: 1;
}

.wallet-ultra-eyebrow {
    display: block;
    color: #67e8f9;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.wallet-ultra-hero h1 {
    max-width: 850px;
    margin: 12px 0 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 980;
    letter-spacing: -0.06em;
    line-height: 1.02;
}

.wallet-ultra-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #9eb4ca;
    font-size: clamp(0.86rem, 1.1vw, 1.05rem);
    line-height: 1.75;
}

.wallet-ultra-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.wallet-ultra-feature-row span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(103, 232, 249, 0.22);
    border-radius: 999px;
    background: rgba(103, 232, 249, 0.07);
    color: #b8d9e5;
    font-size: 0.65rem;
    font-weight: 800;
}

.wallet-ultra-hero-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 0 20px;
    border: 1px solid rgba(34, 211, 238, 0.55);
    border-radius: 12px;
    background: linear-gradient(110deg, #06b6d4, #0ea5e9 52%, #2563eb);
    color: #ffffff;
    box-shadow:
        0 16px 36px rgba(37, 99, 235, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
    font-size: 0.76rem;
    font-weight: 950;
    text-decoration: none;
    transition:
        transform 160ms ease,
        filter 160ms ease,
        box-shadow 160ms ease;
}

.wallet-ultra-hero-button:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow:
        0 20px 44px rgba(37, 99, 235, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.wallet-ultra-balance-visual {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
}

.wallet-ultra-balance-ring {
    display: grid;
    min-height: 190px;
    align-content: center;
    justify-items: center;
    padding: 26px;
    border: 1px solid rgba(34, 197, 94, 0.34);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 40%, rgba(34, 197, 94, 0.16), transparent 54%),
        linear-gradient(145deg, rgba(6, 24, 34, 0.88), rgba(4, 15, 28, 0.88));
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wallet-ultra-balance-ring span {
    color: #7ea294;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wallet-ultra-balance-ring strong {
    margin-top: 8px;
    color: #6ee7b7;
    font-size: clamp(2.3rem, 4vw, 4.1rem);
    font-weight: 980;
    letter-spacing: -0.06em;
    line-height: 1;
    text-shadow: 0 0 30px rgba(34, 197, 94, 0.22);
}

.wallet-ultra-balance-ring small {
    margin-top: 6px;
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 900;
}

.wallet-ultra-balance-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wallet-ultra-balance-meta > div {
    padding: 15px;
    border: 1px solid rgba(83, 118, 160, 0.23);
    border-radius: 13px;
    background: rgba(3, 12, 27, 0.52);
}

.wallet-ultra-balance-meta span {
    display: block;
    color: #667f99;
    font-size: 0.59rem;
    font-weight: 750;
}

.wallet-ultra-balance-meta strong {
    display: block;
    margin-top: 5px;
    color: #eaf3fb;
    font-size: 0.7rem;
    font-weight: 900;
}

/* Balance side card */
.wallet-ultra-balance-card {
    position: sticky;
    top: 24px;
    min-height: 420px;
    padding: 30px !important;
    overflow: hidden;
    border: 1px solid rgba(34, 197, 94, 0.28) !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.13), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(34, 211, 238, 0.09), transparent 40%),
        linear-gradient(145deg, rgba(15, 31, 52, 0.99), rgba(7, 18, 35, 0.99)) !important;
    box-shadow:
        0 24px 68px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

.wallet-ultra-balance-card::after {
    position: absolute;
    right: -75px;
    bottom: -75px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 32px rgba(34, 197, 94, 0.025),
        0 0 0 70px rgba(34, 197, 94, 0.015);
    content: "";
}

.wallet-ultra-balance-card h1,
.wallet-ultra-balance-card h2,
.wallet-ultra-balance-card h3,
.wallet-ultra-balance-card strong {
    color: #ffffff !important;
    font-weight: 950 !important;
}

.wallet-ultra-balance-card > * {
    position: relative;
    z-index: 1;
}

/* Buy credits panel */
.wallet-ultra-buy-card {
    padding: clamp(26px, 2.8vw, 38px) !important;
    border: 1px solid rgba(34, 211, 238, 0.28) !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.10), transparent 36%),
        linear-gradient(145deg, rgba(15, 30, 53, 0.99), rgba(8, 18, 36, 0.99)) !important;
    box-shadow:
        0 24px 68px rgba(0, 0, 0, 0.19),
        inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.wallet-ultra-buy-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.wallet-ultra-buy-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.32);
    border-radius: 15px;
    background: rgba(34, 211, 238, 0.09);
    color: #67e8f9;
}

.wallet-ultra-buy-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wallet-ultra-buy-title span {
    color: #67e8f9;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wallet-ultra-buy-title h2 {
    margin: 4px 0 0 !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 950 !important;
}

.wallet-ultra-buy-title p {
    margin: 5px 0 0;
    color: #8299b1;
    font-size: 0.68rem;
}

/* Make all form sections larger */
.wallet-ultra-buy-card label {
    color: #c2d2e2 !important;
    font-size: 0.72rem !important;
    font-weight: 850 !important;
}

.wallet-ultra-buy-card input,
.wallet-ultra-buy-card select,
.wallet-ultra-buy-card textarea {
    min-height: 54px !important;
    border: 1px solid rgba(83, 118, 160, 0.44) !important;
    border-radius: 12px !important;
    outline: 0 !important;
    background: rgba(3, 11, 25, 0.88) !important;
    color: #f4f8fc !important;
    font-size: 0.8rem !important;
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease,
        background 150ms ease !important;
}

.wallet-ultra-buy-card input:focus,
.wallet-ultra-buy-card select:focus,
.wallet-ultra-buy-card textarea:focus {
    border-color: rgba(34, 211, 238, 0.75) !important;
    background: rgba(4, 16, 32, 0.95) !important;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.07) !important;
}

/* Payment method cards */
.wallet-ultra-method-card {
    min-height: 102px !important;
    padding: 17px !important;
    border: 1px solid rgba(83, 118, 160, 0.34) !important;
    border-radius: 15px !important;
    background:
        linear-gradient(145deg, rgba(12, 26, 47, 0.94), rgba(5, 16, 32, 0.94)) !important;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease !important;
}

.wallet-ultra-method-card:hover {
    border-color: rgba(34, 211, 238, 0.55) !important;
    background:
        linear-gradient(145deg, rgba(11, 36, 58, 0.96), rgba(5, 18, 35, 0.96)) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.17) !important;
    transform: translateY(-2px);
}

/* Existing selected states get stronger */
.wallet-ultra-buy-card [aria-selected="true"],
.wallet-ultra-buy-card .active,
.wallet-ultra-buy-card .selected {
    border-color: rgba(34, 211, 238, 0.8) !important;
    background:
        linear-gradient(145deg, rgba(6, 182, 212, 0.17), rgba(37, 99, 235, 0.11)) !important;
    box-shadow:
        0 0 0 3px rgba(34, 211, 238, 0.07),
        0 15px 34px rgba(0, 0, 0, 0.16) !important;
}

/* Payment address box */
.wallet-ultra-buy-card code,
.wallet-ultra-buy-card .payment-address,
.wallet-ultra-buy-card [data-payment-address] {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
}

/* Upload area */
.wallet-ultra-upload-area {
    min-height: 150px !important;
    border: 1px dashed rgba(103, 232, 249, 0.36) !important;
    border-radius: 16px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.08), transparent 48%),
        rgba(3, 12, 27, 0.42) !important;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease !important;
}

.wallet-ultra-upload-area:hover {
    border-color: rgba(103, 232, 249, 0.7) !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.14), transparent 52%),
        rgba(4, 16, 32, 0.56) !important;
    transform: translateY(-1px);
}

/* Submit button */
.wallet-ultra-buy-card button[type="submit"] {
    min-height: 56px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background:
        linear-gradient(110deg, #06b6d4, #0ea5e9 52%, #2563eb) !important;
    color: #02131f !important;
    box-shadow:
        0 17px 38px rgba(14, 165, 233, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    font-size: 0.82rem !important;
    font-weight: 980 !important;
    transition:
        transform 160ms ease,
        filter 160ms ease,
        box-shadow 160ms ease !important;
}

.wallet-ultra-buy-card button[type="submit"]:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow:
        0 21px 46px rgba(14, 165, 233, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Deposit history */
.wallet-ultra-history-card {
    grid-column: 1 / -1;
    padding: clamp(24px, 2.4vw, 34px) !important;
    overflow: hidden;
    border: 1px solid rgba(83, 118, 160, 0.27) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(145deg, rgba(15, 29, 51, 0.99), rgba(8, 18, 36, 0.99)) !important;
    box-shadow:
        0 24px 68px rgba(0, 0, 0, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.wallet-ultra-history-card h1,
.wallet-ultra-history-card h2,
.wallet-ultra-history-card h3 {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 950 !important;
}

.wallet-ultra-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 16px;
    border: 1px solid rgba(83, 118, 160, 0.18);
    border-radius: 14px;
}

.wallet-ultra-shell table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.wallet-ultra-shell th {
    padding: 15px 16px !important;
    border-bottom: 1px solid rgba(83, 118, 160, 0.2) !important;
    background: rgba(3, 12, 27, 0.58);
    color: #7890aa !important;
    font-size: 0.62rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.05em !important;
    text-align: left !important;
    text-transform: uppercase !important;
}

.wallet-ultra-shell td {
    padding: 17px 16px !important;
    border-bottom: 1px solid rgba(83, 118, 160, 0.14) !important;
    color: #dce8f3 !important;
    font-size: 0.7rem !important;
}

.wallet-ultra-shell tbody tr {
    transition: background 150ms ease;
}

.wallet-ultra-shell tbody tr:hover {
    background: rgba(34, 211, 238, 0.04);
}

@media (max-width: 1250px) {
    .wallet-ultra-shell {
        grid-template-columns: 1fr;
    }

    .wallet-ultra-hero {
        grid-template-columns: 1fr;
    }

    .wallet-ultra-balance-card {
        position: static;
        min-height: auto;
    }

    .wallet-ultra-history-card {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .wallet-ultra-shell {
        padding: 13px !important;
    }

    .wallet-ultra-hero {
        min-height: 0;
        padding: 24px;
        border-radius: 19px;
    }

    .wallet-ultra-feature-row {
        display: grid;
    }

    .wallet-ultra-feature-row span {
        justify-content: center;
    }

    .wallet-ultra-balance-meta {
        grid-template-columns: 1fr;
    }

    .wallet-ultra-buy-card,
    .wallet-ultra-history-card,
    .wallet-ultra-balance-card {
        padding: 20px !important;
        border-radius: 17px !important;
    }
}

/* ==========================================================================
   Wallet Fixed Full UI v3
   ========================================================================== */

.wallet-v3-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(18px, 2vw, 34px) !important;
    display: block !important;
}

.wallet-v3-shell *,
.wallet-v3-shell *::before,
.wallet-v3-shell *::after {
    box-sizing: border-box;
}

/* Neutralize broken layout from older wallet patches. */
.wallet-v3-shell > * {
    min-width: 0 !important;
}

.wallet-v3-shell .wallet-premium-hero,
.wallet-v3-shell .wallet-ultra-hero {
    display: none !important;
}

.wallet-v3-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.38fr) !important;
    align-items: center !important;
    gap: clamp(24px, 3vw, 48px) !important;
    width: 100% !important;
    min-height: 245px !important;
    margin: 0 0 22px !important;
    padding: clamp(30px, 3.5vw, 52px) !important;
    overflow: hidden !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 8% 12%, rgba(34, 211, 238, 0.17), transparent 33%),
        radial-gradient(circle at 93% 7%, rgba(34, 197, 94, 0.14), transparent 29%),
        linear-gradient(138deg, rgba(15, 34, 60, 0.995), rgba(7, 18, 36, 0.995)) !important;
    box-shadow:
        0 30px 84px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
}

.wallet-v3-eyebrow {
    display: block !important;
    color: #67e8f9 !important;
    font-size: 0.7rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
}

.wallet-v3-hero h1 {
    max-width: 850px !important;
    margin: 10px 0 0 !important;
    color: #ffffff !important;
    font-size: clamp(2rem, 3.7vw, 3.7rem) !important;
    font-weight: 980 !important;
    letter-spacing: -0.055em !important;
    line-height: 1.03 !important;
}

.wallet-v3-hero p {
    max-width: 760px !important;
    margin: 16px 0 0 !important;
    color: #9eb3c9 !important;
    font-size: clamp(0.84rem, 1vw, 1rem) !important;
    line-height: 1.72 !important;
}

.wallet-v3-benefits {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 20px !important;
}

.wallet-v3-benefits span {
    display: inline-flex !important;
    min-height: 32px !important;
    align-items: center !important;
    padding: 0 11px !important;
    border: 1px solid rgba(103, 232, 249, 0.2) !important;
    border-radius: 999px !important;
    background: rgba(103, 232, 249, 0.06) !important;
    color: #b4d5e2 !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
}

.wallet-v3-hero-button {
    display: inline-flex !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 22px !important;
    padding: 0 18px !important;
    border: 1px solid rgba(34, 211, 238, 0.55) !important;
    border-radius: 11px !important;
    background: linear-gradient(110deg, #06b6d4, #0ea5e9 52%, #2563eb) !important;
    color: #ffffff !important;
    font-size: 0.73rem !important;
    font-weight: 950 !important;
    text-decoration: none !important;
    box-shadow: 0 15px 36px rgba(37, 99, 235, 0.24) !important;
}

.wallet-v3-hero-balance {
    display: grid !important;
    min-height: 175px !important;
    align-content: center !important;
    justify-items: center !important;
    padding: 24px !important;
    border: 1px solid rgba(34, 197, 94, 0.34) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 50% 35%, rgba(34, 197, 94, 0.15), transparent 55%),
        rgba(4, 17, 29, 0.63) !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22) !important;
}

.wallet-v3-hero-balance > span {
    color: #7e9a91 !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

.wallet-v3-hero-balance > strong {
    margin-top: 6px !important;
    color: #6ee7b7 !important;
    font-size: clamp(2.1rem, 3.4vw, 3.5rem) !important;
    font-weight: 980 !important;
    letter-spacing: -0.055em !important;
    line-height: 1 !important;
}

.wallet-v3-hero-balance > small {
    margin-top: 5px !important;
    color: #4ade80 !important;
    font-size: 0.66rem !important;
    font-weight: 900 !important;
}

.wallet-v3-hero-balance > div {
    display: flex !important;
    gap: 7px !important;
    margin-top: 15px !important;
    padding-top: 13px !important;
    border-top: 1px solid rgba(34, 197, 94, 0.15) !important;
    color: #829a91 !important;
    font-size: 0.61rem !important;
}

.wallet-v3-hero-balance b {
    color: #d8f7e6 !important;
}

/* Explicit fixed two-column layout */
.wallet-v3-main-grid {
    display: grid !important;
    grid-template-columns: minmax(270px, 0.34fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 0 0 22px !important;
}

.wallet-v3-balance-card,
.wallet-v3-buy-card,
.wallet-v3-history-card {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    box-shadow:
        0 22px 64px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.wallet-v3-balance-card {
    min-height: 100% !important;
    padding: 28px !important;
    border: 1px solid rgba(34, 197, 94, 0.27) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.11), transparent 37%),
        linear-gradient(145deg, rgba(15, 31, 52, 0.99), rgba(8, 18, 36, 0.99)) !important;
}

.wallet-v3-buy-card {
    padding: clamp(24px, 2.5vw, 36px) !important;
    border: 1px solid rgba(34, 211, 238, 0.27) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.09), transparent 35%),
        linear-gradient(145deg, rgba(15, 30, 53, 0.99), rgba(8, 18, 36, 0.99)) !important;
}

.wallet-v3-history-card {
    display: block !important;
    width: 100% !important;
    margin-top: 0 !important;
    padding: clamp(22px, 2.3vw, 32px) !important;
    border: 1px solid rgba(83, 118, 160, 0.26) !important;
    background:
        linear-gradient(145deg, rgba(15, 29, 51, 0.99), rgba(8, 18, 36, 0.99)) !important;
}

/* Typography */
.wallet-v3-balance-card h1,
.wallet-v3-balance-card h2,
.wallet-v3-balance-card h3,
.wallet-v3-buy-card h1,
.wallet-v3-buy-card h2,
.wallet-v3-buy-card h3,
.wallet-v3-history-card h1,
.wallet-v3-history-card h2,
.wallet-v3-history-card h3 {
    color: #ffffff !important;
    font-weight: 950 !important;
}

/* Controls */
.wallet-v3-control {
    width: 100% !important;
    min-height: 50px !important;
    border: 1px solid rgba(83, 118, 160, 0.43) !important;
    border-radius: 11px !important;
    outline: none !important;
    background: rgba(3, 11, 25, 0.88) !important;
    color: #f5f9fd !important;
    font-size: 0.78rem !important;
}

.wallet-v3-control:focus {
    border-color: rgba(34, 211, 238, 0.75) !important;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.07) !important;
}

.wallet-v3-payment-method {
    min-width: 0 !important;
    min-height: 96px !important;
    padding: 15px !important;
    border: 1px solid rgba(83, 118, 160, 0.34) !important;
    border-radius: 14px !important;
    background:
        linear-gradient(145deg, rgba(12, 26, 47, 0.95), rgba(5, 16, 32, 0.95)) !important;
}

.wallet-v3-copy-button {
    min-width: 120px !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(110deg, #06b6d4, #0ea5e9) !important;
    color: #02131f !important;
    font-weight: 950 !important;
}

.wallet-v3-upload-box {
    min-height: 145px !important;
    border-radius: 15px !important;
}

.wallet-v3-submit {
    width: 100% !important;
    min-height: 54px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(110deg, #06b6d4, #0ea5e9 52%, #2563eb) !important;
    color: #02131f !important;
    font-size: 0.8rem !important;
    font-weight: 980 !important;
    box-shadow: 0 17px 38px rgba(14, 165, 233, 0.23) !important;
}

/* Prevent narrow old grid rules inside buy form */
.wallet-v3-buy-card form,
.wallet-v3-buy-card > div,
.wallet-v3-buy-card > section {
    max-width: none !important;
}

.wallet-v3-buy-card [style*="grid-template-columns"] {
    min-width: 0 !important;
}

/* History table */
.wallet-v3-table-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    margin-top: 15px !important;
    border: 1px solid rgba(83, 118, 160, 0.18) !important;
    border-radius: 13px !important;
}

.wallet-v3-history-card table {
    width: 100% !important;
    min-width: 760px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.wallet-v3-history-card th {
    padding: 14px 15px !important;
    background: rgba(3, 12, 27, 0.58) !important;
    color: #7890aa !important;
    font-size: 0.61rem !important;
    font-weight: 900 !important;
    text-align: left !important;
    text-transform: uppercase !important;
}

.wallet-v3-history-card td {
    padding: 16px 15px !important;
    border-top: 1px solid rgba(83, 118, 160, 0.14) !important;
    color: #dce8f3 !important;
    font-size: 0.68rem !important;
}

@media (max-width: 1150px) {
    .wallet-v3-hero,
    .wallet-v3-main-grid {
        grid-template-columns: 1fr !important;
    }

    .wallet-v3-balance-card {
        min-height: auto !important;
    }
}

@media (max-width: 720px) {
    .wallet-v3-shell {
        padding: 13px !important;
    }

    .wallet-v3-hero {
        min-height: 0 !important;
        padding: 23px !important;
        border-radius: 18px !important;
    }

    .wallet-v3-benefits {
        display: grid !important;
    }

    .wallet-v3-benefits span {
        justify-content: center !important;
    }

    .wallet-v3-balance-card,
    .wallet-v3-buy-card,
    .wallet-v3-history-card {
        padding: 19px !important;
        border-radius: 17px !important;
    }

    .wallet-v3-copy-button {
        width: 100% !important;
    }
}

/* ==========================================================================
   Wallet Battery Card v4
   ========================================================================== */

.wallet-battery-card-v4 {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-height: 620px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: clamp(28px, 3.2vw, 48px) !important;
    border: 1px solid rgba(34, 211, 238, 0.28) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 50% 22%, rgba(34, 211, 238, 0.11), transparent 34%),
        radial-gradient(circle at 50% 78%, rgba(34, 197, 94, 0.08), transparent 32%),
        linear-gradient(145deg, rgba(15, 29, 51, 0.995), rgba(7, 17, 34, 0.995)) !important;
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

.wallet-battery-card-v4::before,
.wallet-battery-card-v4::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.wallet-battery-card-v4::before {
    top: -160px;
    left: -160px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(34, 211, 238, 0.09);
    box-shadow:
        0 0 0 50px rgba(34, 211, 238, 0.02),
        0 0 0 105px rgba(34, 211, 238, 0.012);
}

.wallet-battery-card-v4::after {
    right: -170px;
    bottom: -170px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(34, 197, 94, 0.08);
    box-shadow:
        0 0 0 55px rgba(34, 197, 94, 0.018),
        0 0 0 115px rgba(34, 197, 94, 0.01);
}

.wallet-battery-inner {
    --battery-main: #22c55e;
    --battery-soft: rgba(34, 197, 94, 0.18);
    position: relative;
    z-index: 1;
    display: grid;
    width: min(100%, 760px);
    justify-items: center;
    text-align: center;
}

.wallet-battery-inner.is-full,
.wallet-battery-inner.is-good {
    --battery-main: #22c55e;
    --battery-soft: rgba(34, 197, 94, 0.18);
}

.wallet-battery-inner.is-medium {
    --battery-main: #eab308;
    --battery-soft: rgba(234, 179, 8, 0.18);
}

.wallet-battery-inner.is-low {
    --battery-main: #f97316;
    --battery-soft: rgba(249, 115, 22, 0.18);
}

.wallet-battery-inner.is-empty {
    --battery-main: #ef4444;
    --battery-soft: rgba(239, 68, 68, 0.18);
}

.wallet-battery-icon {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--battery-main) 48%, transparent);
    border-radius: 21px;
    background: var(--battery-soft);
    color: var(--battery-main);
    box-shadow:
        0 0 34px color-mix(in srgb, var(--battery-main) 20%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wallet-battery-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wallet-battery-label {
    margin-top: 22px;
    color: #9cb1c7;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    font-weight: 750;
    letter-spacing: 0.02em;
}

.wallet-battery-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.wallet-battery-amount strong {
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 6.1rem);
    font-weight: 980;
    letter-spacing: -0.065em;
    line-height: 0.98;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.wallet-battery-amount span {
    color: #22d3ee;
    font-size: clamp(1.1rem, 2vw, 1.75rem);
    font-weight: 950;
}

.wallet-battery-rate {
    margin-top: 16px;
    color: #9eb1c5;
    font-size: clamp(0.75rem, 1vw, 0.92rem);
    font-weight: 700;
}

.wallet-battery-divider {
    width: min(100%, 620px);
    height: 1px;
    margin: 32px 0 28px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(83, 118, 160, 0.42),
        transparent
    );
}

.wallet-battery-shell {
    position: relative;
    width: min(100%, 590px);
    height: 90px;
    padding: 10px;
    border: 3px solid var(--battery-main);
    border-radius: 22px;
    background: rgba(3, 12, 27, 0.86);
    box-shadow:
        0 0 28px color-mix(in srgb, var(--battery-main) 25%, transparent),
        inset 0 3px 12px rgba(0, 0, 0, 0.4);
}

.wallet-battery-fill {
    height: 100%;
    min-width: 0;
    max-width: 100%;
    border-radius: 13px;
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--battery-main) 92%, white 8%),
            color-mix(in srgb, var(--battery-main) 74%, black 26%)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 0 24px color-mix(in srgb, var(--battery-main) 32%, transparent);
    transition: width 500ms ease;
}

.wallet-battery-tip {
    position: absolute;
    top: 24px;
    right: -17px;
    width: 13px;
    height: 40px;
    border: 3px solid var(--battery-main);
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: rgba(7, 17, 34, 0.98);
}

.wallet-battery-percentage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 980;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.wallet-battery-credit-scale {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 20px;
}

.wallet-battery-credit-scale strong {
    color: var(--battery-main);
    font-size: 1.12rem;
    font-weight: 950;
}

.wallet-battery-credit-scale span {
    color: #a9b8c8;
    font-size: 0.86rem;
    font-weight: 750;
}

.wallet-battery-status {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 0 14px;
    border: 1px solid color-mix(in srgb, var(--battery-main) 36%, transparent);
    border-radius: 999px;
    background: var(--battery-soft);
    color: var(--battery-main);
    font-size: 0.73rem;
    font-weight: 900;
}

.wallet-battery-status svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wallet-battery-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 650px);
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid rgba(83, 118, 160, 0.2);
    border-radius: 15px;
    background: rgba(3, 12, 27, 0.45);
}

.wallet-battery-footer-grid > div {
    padding: 17px 14px;
    border-left: 1px solid rgba(83, 118, 160, 0.17);
}

.wallet-battery-footer-grid > div:first-child {
    border-left: 0;
}

.wallet-battery-footer-grid span {
    display: block;
    color: #6d839c;
    font-size: 0.6rem;
    font-weight: 750;
}

.wallet-battery-footer-grid strong {
    display: block;
    margin-top: 5px;
    color: #eaf2fb;
    font-size: 0.74rem;
    font-weight: 900;
}

@media (max-width: 720px) {
    .wallet-battery-card-v4 {
        min-height: 520px !important;
        padding: 24px 17px !important;
        border-radius: 18px !important;
    }

    .wallet-battery-icon {
        width: 62px;
        height: 62px;
        border-radius: 18px;
    }

    .wallet-battery-icon svg {
        width: 32px;
        height: 32px;
    }

    .wallet-battery-shell {
        height: 72px;
        border-width: 2px;
        border-radius: 17px;
    }

    .wallet-battery-fill {
        border-radius: 10px;
    }

    .wallet-battery-tip {
        top: 20px;
        right: -12px;
        width: 10px;
        height: 31px;
        border-width: 2px;
    }

    .wallet-battery-percentage {
        font-size: 1.05rem;
    }

    .wallet-battery-footer-grid {
        grid-template-columns: 1fr;
    }

    .wallet-battery-footer-grid > div {
        border-top: 1px solid rgba(83, 118, 160, 0.17);
        border-left: 0;
    }

    .wallet-battery-footer-grid > div:first-child {
        border-top: 0;
    }
}

/* ==========================================================================
   Wallet Left Card v5
   ========================================================================== */

.wallet-left-card-v5 {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-height: 690px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: clamp(30px, 3vw, 48px) !important;
    border: 1px solid rgba(34, 211, 238, 0.34) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 50% 13%, rgba(34, 211, 238, 0.14), transparent 32%),
        radial-gradient(circle at 50% 72%, rgba(34, 197, 94, 0.09), transparent 34%),
        linear-gradient(145deg, rgba(15, 29, 51, 0.995), rgba(6, 16, 32, 0.995)) !important;
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.wallet-left-card-v5::before,
.wallet-left-card-v5::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.wallet-left-card-v5::before {
    top: -155px;
    left: -155px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(34, 211, 238, 0.08);
    box-shadow:
        0 0 0 44px rgba(34, 211, 238, 0.018),
        0 0 0 90px rgba(34, 211, 238, 0.01);
}

.wallet-left-card-v5::after {
    right: -170px;
    bottom: -170px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(34, 197, 94, 0.08);
    box-shadow:
        0 0 0 48px rgba(34, 197, 94, 0.016),
        0 0 0 95px rgba(34, 197, 94, 0.009);
}

.wallet-left-card-inner {
    --battery-main: #22c55e;
    --battery-soft: rgba(34, 197, 94, 0.16);
    position: relative;
    z-index: 1;
    display: grid;
    width: min(100%, 720px);
    justify-items: center;
    text-align: center;
}

.wallet-left-card-inner.is-full,
.wallet-left-card-inner.is-good {
    --battery-main: #22c55e;
    --battery-soft: rgba(34, 197, 94, 0.16);
}

.wallet-left-card-inner.is-medium {
    --battery-main: #eab308;
    --battery-soft: rgba(234, 179, 8, 0.16);
}

.wallet-left-card-inner.is-low {
    --battery-main: #f97316;
    --battery-soft: rgba(249, 115, 22, 0.16);
}

.wallet-left-card-inner.is-empty {
    --battery-main: #ef4444;
    --battery-soft: rgba(239, 68, 68, 0.16);
}

.wallet-left-wallet-icon {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--battery-main) 48%, transparent);
    border-radius: 22px;
    background: var(--battery-soft);
    color: var(--battery-main);
    box-shadow:
        0 0 34px color-mix(in srgb, var(--battery-main) 24%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wallet-left-wallet-icon svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wallet-left-label {
    margin-top: 22px;
    color: #a3b6ca;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 760;
}

.wallet-left-balance {
    margin-top: 7px;
    color: #ffffff;
    font-size: clamp(3rem, 5.4vw, 5.7rem);
    font-weight: 980;
    letter-spacing: -0.065em;
    line-height: 0.98;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.wallet-left-credits {
    margin-top: 9px;
    color: #22d3ee;
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    font-weight: 950;
}

.wallet-left-rate {
    margin-top: 15px;
    color: #a5b6c7;
    font-size: clamp(0.76rem, 1vw, 0.92rem);
    font-weight: 700;
}

.wallet-left-divider {
    width: min(100%, 610px);
    height: 1px;
    margin: 31px 0 28px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(83, 118, 160, 0.42),
        transparent
    );
}

.wallet-left-battery {
    position: relative;
    width: min(100%, 580px);
    height: 88px;
    padding: 10px;
    border: 3px solid var(--battery-main);
    border-radius: 22px;
    background: rgba(3, 12, 27, 0.88);
    box-shadow:
        0 0 30px color-mix(in srgb, var(--battery-main) 28%, transparent),
        inset 0 3px 12px rgba(0, 0, 0, 0.4);
}

.wallet-left-battery-fill {
    height: 100%;
    max-width: 100%;
    border-radius: 13px;
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--battery-main) 92%, white 8%),
            color-mix(in srgb, var(--battery-main) 76%, black 24%)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 0 24px color-mix(in srgb, var(--battery-main) 34%, transparent);
    transition: width 450ms ease;
}

.wallet-left-battery-percent {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 980;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
}

.wallet-left-battery-tip {
    position: absolute;
    top: 23px;
    right: -17px;
    width: 13px;
    height: 40px;
    border: 3px solid var(--battery-main);
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: rgba(6, 16, 32, 0.98);
}

.wallet-left-scale {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 20px;
}

.wallet-left-scale strong {
    color: var(--battery-main);
    font-size: 1.12rem;
    font-weight: 950;
}

.wallet-left-scale span {
    color: #a9b9c8;
    font-size: 0.86rem;
    font-weight: 760;
}

.wallet-left-status {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 0 14px;
    border: 1px solid color-mix(in srgb, var(--battery-main) 36%, transparent);
    border-radius: 999px;
    background: var(--battery-soft);
    color: var(--battery-main);
    font-size: 0.73rem;
    font-weight: 900;
}

.wallet-left-status svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wallet-left-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 660px);
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid rgba(83, 118, 160, 0.2);
    border-radius: 15px;
    background: rgba(3, 12, 27, 0.46);
}

.wallet-left-metrics > div {
    padding: 18px 14px;
    border-left: 1px solid rgba(83, 118, 160, 0.17);
}

.wallet-left-metrics > div:first-child {
    border-left: 0;
}

.wallet-left-metrics span {
    display: block;
    color: #6e849d;
    font-size: 0.6rem;
    font-weight: 760;
}

.wallet-left-metrics strong {
    display: block;
    margin-top: 5px;
    color: #eaf2fb;
    font-size: 0.75rem;
    font-weight: 900;
}

@media (max-width: 720px) {
    .wallet-left-card-v5 {
        min-height: 560px !important;
        padding: 24px 17px !important;
        border-radius: 18px !important;
    }

    .wallet-left-wallet-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .wallet-left-wallet-icon svg {
        width: 32px;
        height: 32px;
    }

    .wallet-left-battery {
        height: 72px;
        border-width: 2px;
        border-radius: 17px;
    }

    .wallet-left-battery-tip {
        top: 19px;
        right: -12px;
        width: 10px;
        height: 31px;
        border-width: 2px;
    }

    .wallet-left-battery-percent {
        font-size: 1.05rem;
    }

    .wallet-left-metrics {
        grid-template-columns: 1fr;
    }

    .wallet-left-metrics > div {
        border-top: 1px solid rgba(83, 118, 160, 0.17);
        border-left: 0;
    }

    .wallet-left-metrics > div:first-child {
        border-top: 0;
    }
}

/* ==========================================================================
   Wallet Balance Final v6
   ========================================================================== */

.wallet-final-balance-card {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-height: 690px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;

    padding: 38px 28px !important;

    border: 1px solid rgba(34, 211, 238, .40) !important;
    border-radius: 24px !important;

    background:
        radial-gradient(
            circle at 50% 14%,
            rgba(34, 211, 238, .17),
            transparent 34%
        ),
        radial-gradient(
            circle at 50% 75%,
            rgba(34, 197, 94, .10),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            #101f36,
            #071121
        ) !important;

    box-shadow:
        0 28px 80px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .05) !important;
}

.wallet-final-inner {
    --battery-color: #22c55e;
    --battery-soft: rgba(34, 197, 94, .15);

    position: relative;
    z-index: 2;

    display: flex;
    width: 100%;
    max-width: 700px;

    flex-direction: column;
    align-items: center;

    text-align: center;
}

.wallet-state-medium {
    --battery-color: #eab308;
    --battery-soft: rgba(234, 179, 8, .15);
}

.wallet-state-low {
    --battery-color: #f97316;
    --battery-soft: rgba(249, 115, 22, .15);
}

.wallet-state-empty {
    --battery-color: #ef4444;
    --battery-soft: rgba(239, 68, 68, .15);
}

.wallet-final-icon {
    display: grid;

    width: 78px;
    height: 78px;

    place-items: center;

    border: 1px solid color-mix(
        in srgb,
        var(--battery-color) 55%,
        transparent
    );

    border-radius: 22px;

    background: var(--battery-soft);
    color: var(--battery-color);

    box-shadow:
        0 0 35px color-mix(
            in srgb,
            var(--battery-color) 28%,
            transparent
        );
}

.wallet-final-icon svg {
    width: 41px;
    height: 41px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wallet-final-label {
    margin-top: 23px;

    color: #a7b9cb;

    font-size: 17px;
    font-weight: 700;
}

.wallet-final-amount {
    margin-top: 7px;

    color: #ffffff;

    font-size: clamp(48px, 5vw, 86px);
    font-weight: 950;
    line-height: 1;

    letter-spacing: -4px;

    text-shadow:
        0 8px 30px rgba(0, 0, 0, .28);
}

.wallet-final-credit-label {
    margin-top: 10px;

    color: #22d3ee;

    font-size: 26px;
    font-weight: 950;
}

.wallet-final-rate {
    margin-top: 17px;

    color: #a5b6c7;

    font-size: 14px;
    font-weight: 700;
}

.wallet-final-divider {
    width: 90%;
    height: 1px;

    margin: 32px 0 29px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(100, 130, 165, .48),
            transparent
        );
}

.wallet-final-battery {
    position: relative;

    width: 88%;
    height: 88px;

    padding: 10px;

    border: 3px solid var(--battery-color);
    border-radius: 22px;

    background: rgba(3, 12, 27, .90);

    box-shadow:
        0 0 30px color-mix(
            in srgb,
            var(--battery-color) 30%,
            transparent
        ),
        inset 0 3px 12px rgba(0, 0, 0, .45);
}

.wallet-final-battery-fill {
    height: 100%;
    max-width: 100%;

    border-radius: 13px;

    background:
        linear-gradient(
            180deg,
            color-mix(
                in srgb,
                var(--battery-color) 90%,
                white
            ),
            color-mix(
                in srgb,
                var(--battery-color) 72%,
                black
            )
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        0 0 24px color-mix(
            in srgb,
            var(--battery-color) 36%,
            transparent
        );
}

.wallet-final-battery > strong {
    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;

    color: white;

    font-size: 23px;
    font-weight: 950;

    text-shadow: 0 2px 12px rgba(0,0,0,.70);
}

.wallet-final-battery > i {
    position: absolute;

    top: 23px;
    right: -17px;

    width: 13px;
    height: 40px;

    border: 3px solid var(--battery-color);
    border-left: 0;
    border-radius: 0 8px 8px 0;

    background: #071121;
}

.wallet-final-scale {
    display: flex;
    align-items: baseline;
    gap: 8px;

    margin-top: 21px;
}

.wallet-final-scale b {
    color: var(--battery-color);

    font-size: 18px;
    font-weight: 950;
}

.wallet-final-scale span {
    color: #b0bfcd;

    font-size: 14px;
    font-weight: 700;
}

.wallet-final-status {
    display: inline-flex;
    min-height: 42px;

    align-items: center;
    gap: 8px;

    margin-top: 19px;
    padding: 0 16px;

    border: 1px solid color-mix(
        in srgb,
        var(--battery-color) 40%,
        transparent
    );

    border-radius: 999px;

    background: var(--battery-soft);
    color: var(--battery-color);

    font-size: 13px;
    font-weight: 900;
}

.wallet-final-status svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wallet-final-stats {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    width: 94%;

    margin-top: 35px;

    overflow: hidden;

    border: 1px solid rgba(83, 118, 160, .22);
    border-radius: 15px;

    background: rgba(3, 12, 27, .47);
}

.wallet-final-stats > div {
    padding: 18px 12px;

    border-left:
        1px solid rgba(83, 118, 160, .18);
}

.wallet-final-stats > div:first-child {
    border-left: 0;
}

.wallet-final-stats span {
    display: block;

    color: #6e849d;

    font-size: 11px;
    font-weight: 700;
}

.wallet-final-stats strong {
    display: block;

    margin-top: 6px;

    color: #eaf2fb;

    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 700px) {

    .wallet-final-balance-card {
        min-height: 580px !important;

        padding:
            25px
            17px !important;
    }

    .wallet-final-amount {
        letter-spacing: -2px;
    }

    .wallet-final-battery {
        width: 92%;
        height: 72px;

        border-width: 2px;
    }

    .wallet-final-battery > i {
        top: 19px;
        right: -12px;

        width: 10px;
        height: 31px;

        border-width: 2px;
    }

    .wallet-final-stats {
        grid-template-columns: 1fr;
    }

    .wallet-final-stats > div {
        border-top:
            1px solid rgba(83, 118, 160, .18);

        border-left: 0;
    }

    .wallet-final-stats > div:first-child {
        border-top: 0;
    }
}

