:root {
    color-scheme: dark light;
    --bg-gradient: linear-gradient(135deg, #141b2d 0%, #1c2744 45%, #1e314f 100%);
    --bg-surface: rgba(19, 26, 43, 0.7);
    --bg-card: rgba(20, 26, 41, 0.85);
    --bg-card-hover: rgba(30, 38, 56, 0.9);
    --accent: #6c5ce7;
    --accent-soft: rgba(108, 92, 231, 0.15);
    --accent-contrast: #ffffff;
    --danger: #ff7675;
    --success: #00cec9;
    --warning: #fdcb6e;
    --text-primary: #f5f7ff;
    --text-secondary: rgba(229, 231, 240, 0.75);
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-lg: 0 24px 60px rgba(7, 12, 24, 0.45);
    --shadow-md: 0 16px 40px rgba(7, 12, 24, 0.35);
    --radius-lg: 24px;
    --radius-md: 16px;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text-primary);
    background: #0b1220;
    position: relative;
    overflow-x: hidden;
}

.gradient-background {
    position: fixed;
    inset: 0;
    background: var(--bg-gradient);
    z-index: -2;
    filter: saturate(1.1);
}

.wave-overlay {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.wave-overlay::before,
.wave-overlay::after {
    content: "";
    position: absolute;
    width: 140%;
    height: 55%;
    left: -20%;
    background: radial-gradient(120% 120% at 50% 0%, rgba(108, 92, 231, 0.22), transparent 70%);
    opacity: 0.6;
    animation: waveSweep 18s linear infinite;
}

.wave-overlay::after {
    top: auto;
    bottom: -5%;
    animation-duration: 24s;
    animation-direction: reverse;
    opacity: 0.4;
}

.app-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.view {
    display: none;
}

.view:not(.hidden) {
    display: block;
}

.hidden {
    display: none !important;
}

.loading-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 96px 0;
    color: var(--text-secondary);
}

.spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--accent);
    animation: spin 0.8s linear infinite;
}

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

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    padding: 28px 32px;
    margin-bottom: 32px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.12);
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.dashboard-sidebar .card {
    margin-bottom: 0;
}

.sidebar-card {
    padding: 24px 24px 28px;
}

.sidebar-modules-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.sidebar-modules-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.sidebar-modules-header p {
    margin: 6px 0 0;
    color: var(--text-secondary);
}

.guild-picker {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}

.guild-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(12, 19, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.guild-pill:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(26, 34, 48, 0.85);
    transform: translateX(2px);
}

.guild-pill:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.guild-pill.is-active {
    border-color: var(--accent);
    background: rgba(108, 92, 231, 0.18);
}

.guild-pill.is-unconfigured {
    opacity: 0.85;
}

.guild-pill.is-unconfigured .guild-pill-meta {
    color: rgba(253, 203, 110, 0.75);
}

.guild-pill-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.guild-pill-avatar {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.35), rgba(33, 209, 255, 0.25));
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-contrast);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.guild-pill-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.guild-pill-name {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guild-pill-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.guild-pill-meta.is-warning {
    color: rgba(253, 203, 110, 0.85);
}

.guild-pill-chevron {
    font-size: 1.3rem;
    opacity: 0.35;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
}

.login-card {
    max-width: 480px;
    margin: 120px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-illustration {
    position: relative;
    display: grid;
    place-items: center;
    padding: 26px 0 12px;
    margin-bottom: 6px;
}

.login-orb {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 28px;
    background: rgba(20, 28, 49, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    box-shadow:
        0 30px 80px rgba(12, 17, 32, 0.5),
        0 0 60px rgba(108, 92, 231, 0.5);
    overflow: hidden;
    animation: orbPulse 6s ease-in-out infinite;
}

.login-orb .orb-ring {
    position: absolute;
    inset: 6px; /* smaller inset -> larger core area */
    border-radius: 24px;
    border: 1px solid rgba(108, 92, 231, 0.45);
    opacity: 0.9;
}

.login-orb .orb-core {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 6px;
    box-sizing: border-box;
}

.login-orb .orb-glimmer {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 30% 30%, rgba(108, 92, 231, 0.55), transparent 65%);
    opacity: 0.6;
    filter: blur(18px);
    animation: glimmer 4.8s ease-in-out infinite alternate;
}

.wave-layers {
    position: absolute;
    inset: auto 10% -35px 10%;
    height: 80px;
    overflow: hidden;
    pointer-events: none;
}

.wave-layers span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 68px;
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.28), rgba(108, 92, 231, 0));
    border-radius: 25%;
    animation: waveMove 10s linear infinite;
    transform: translateY(0);
}

.wave-layers span:nth-child(2) {
    animation-delay: -3.3s;
    opacity: 0.6;
}

.wave-layers span:nth-child(3) {
    animation-delay: -6.6s;
    opacity: 0.4;
}

.welcome-back {
    margin: 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(108, 92, 231, 0.14);
    border: 1px solid rgba(108, 92, 231, 0.28);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.login-loader {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 8px;
}

.login-loader span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    animation: loaderPulse 1.4s ease-in-out infinite;
}

.login-loader span:nth-child(2) {
    animation-delay: 0.18s;
}

.login-loader span:nth-child(3) {
    animation-delay: 0.36s;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand h1 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 1.8rem);
}

.brand p {
    margin: 4px 0 0;
    color: var(--text-secondary);
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: var(--accent-contrast);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.field-label {
    font-weight: 600;
    color: var(--text-secondary);
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(11, 18, 32, 0.7);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.2);
}

input[readonly] {
    background: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
}

.primary-button,
.ghost-button {
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.primary-button {
    background: var(--accent);
    color: var(--accent-contrast);
    box-shadow: 0 12px 30px rgba(108, 92, 231, 0.35);
}

.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(108, 92, 231, 0.4);
}

.primary-button.compact {
    padding: 10px 18px;
    box-shadow: none;
}

.ghost-button {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ghost-button:hover {
    opacity: 0.85;
}

.ghost-button.danger {
    border-color: rgba(255, 118, 117, 0.5);
    color: var(--danger);
}

.primary-button:disabled,
.ghost-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.form-helper {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 4px;
}

.auth-option {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-option + .auth-option {
    margin-top: 12px;
}

.primary-button.wide {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.guild-select-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 22, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px 12px;
}

.guild-select {
    appearance: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 180px;
    padding: 4px 0;
}

.guild-select:focus {
    outline: none;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 22, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 6px 12px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
}

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

.muted {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-left: 6px;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.subtitle {
    color: var(--text-secondary);
    margin: 6px 0 0;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.grid {
    display: grid;
    gap: 24px;
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(15, 22, 36, 0.82);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-value {
    font-size: 2.1rem;
    font-weight: 700;
}

.stat-meta {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.modules-card,
.guilds-card {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
    font-size: 1.35rem;
}

.section-header p {
    margin: 8px 0 0;
    color: var(--text-secondary);
}

.module-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.module-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(140deg, rgba(12, 18, 32, 0.92), rgba(24, 32, 52, 0.62));
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.25s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.module-toggle::before {
    content: "";
    position: absolute;
    inset: -40% -25% auto;
    height: 120%;
    background: radial-gradient(ellipse at top, rgba(108, 92, 231, 0.35), transparent 65%);
    opacity: 0;
    transform: translateY(16%);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.module-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
}

.module-toggle:hover::before {
    opacity: 0.4;
    transform: translateY(0);
}

.module-toggle.is-active {
    border-color: rgba(108, 92, 231, 0.55);
    box-shadow: 0 14px 36px rgba(15, 22, 38, 0.55);
    background: linear-gradient(140deg, rgba(30, 40, 72, 0.95), rgba(108, 92, 231, 0.28));
}

.module-toggle.is-active::before {
    opacity: 0.6;
    transform: translateY(0);
}

.module-toggle.is-disabled {
    cursor: not-allowed;
    opacity: 0.68;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.module-toggle.is-disabled::before {
    opacity: 0;
}

.module-toggle.is-disabled:hover {
    transform: none;
}

.module-toggle input {
    order: 2;
    margin-left: auto;
    width: 56px;
    height: 30px;
    appearance: none;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.module-toggle input::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0b1220;
    box-shadow: 0 6px 16px rgba(8, 12, 24, 0.45);
    transition: transform 0.25s ease, background 0.25s ease;
}

.module-toggle input:checked {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.9), rgba(33, 209, 255, 0.85));
    border-color: rgba(108, 92, 231, 0.65);
}

.module-toggle input:checked::after {
    transform: translateX(26px);
    background: #ffffff;
}

.module-toggle input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.toggle-body {
    order: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 100%;
}

.toggle-name {
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.01em;
}

.module-toggle.is-active .toggle-name {
    color: #ffffff;
}

.toggle-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 420px;
}

.module-toggle.is-active .toggle-description {
    color: rgba(255, 255, 255, 0.75);
}

.guilds-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.guild-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 24px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(17, 24, 38, 0.8);
    backdrop-filter: blur(16px);
}

.guild-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.guild-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.guild-subtitle {
    margin: 4px 0 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.guild-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guild-field label {
    font-weight: 600;
    color: var(--text-secondary);
}

.field-hint {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
}

.guild-card footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.empty-state {
    margin: 0 0 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(108, 92, 231, 0.12);
    color: var(--text-secondary);
}

.add-card {
    border-style: dashed;
    border-color: rgba(108, 92, 231, 0.45);
    background: rgba(14, 20, 33, 0.6);
}

.app-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: 12px;
}

.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(12, 19, 32, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 50;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    border-color: rgba(0, 206, 201, 0.45);
}

.toast.error {
    border-color: rgba(255, 118, 117, 0.45);
}

.toast.warning {
    border-color: rgba(253, 203, 110, 0.45);
}

.updated-indicator {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 206, 201, 0.2);
    color: var(--success);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transform: translateY(4px);
}

.app-header,
.stats-grid,
.modules-card,
.modules-pane,
.guilds-card {
    animation: fade-in 0.35s ease both;
}

.status-good {
    color: var(--success);
}

.status-bad {
    color: var(--danger);
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes orbPulse {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

@keyframes glimmer {
    0% {
        transform: rotate(0deg) scale(0.95);
        opacity: 0.4;
    }
    100% {
        transform: rotate(12deg) scale(1.05);
        opacity: 0.7;
    }
}

@keyframes waveMove {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-12px) translateX(12px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

@keyframes loaderPulse {
    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes waveSweep {
    0% {
        transform: translateX(-6%) translateY(-4%);
    }
    50% {
        transform: translateX(6%) translateY(4%);
    }
    100% {
        transform: translateX(-6%) translateY(-4%);
    }
}

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

    .dashboard-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }

    .dashboard-sidebar .card {
        flex: 1 1 320px;
        min-width: 280px;
    }

    .dashboard-main {
        margin-top: 16px;
    }
}

@media (max-width: 720px) {
    .app-shell {
        padding: 32px 18px 56px;
    }

    .card {
        padding: 24px;
    }

    .header-actions {
        flex-direction: column;
        align-items: flex-end;
    }

    .module-toggle {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .module-toggle input {
        align-self: flex-start;
    }

    .dashboard-sidebar {
        flex-direction: column;
    }

    .dashboard-sidebar .card {
        min-width: 0;
        width: 100%;
    }

    .guild-card footer {
        flex-direction: column;
        align-items: stretch;
    }
}


/* --- Overrides to prevent oversized auth art/logo --- */
.login-illustration {
    /* kept as a simple flow container; orb will be positioned relative to the login-card instead */
    display: block;
    width: 100%;
    height: 0; /* orb is absolutely positioned and will overlap the card */
}

.app-header .brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(108,92,231,0.12), rgba(108,92,231,0.04));
    display: grid;
    place-items: center;
}

/* Responsive image used in header and small brand marks */
.brand-mark-img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

/* Illustration image that sits inside the orb - scale to fit the orb core */
.illustration-img {
    width: 96%;
    height: 96%;
    object-fit: contain;
    display: block;
}


/* Orb centered over the login card, period */
.login-card { position: relative; padding-top: 160px; }

/* do NOT let this create a positioning context */
.login-card .login-illustration {
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 0 !important;
  pointer-events: none;
}

/* center the orb on the card */
.login-card .login-orb {
  position: absolute !important;
  top: -110px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10 !important; /* above all card content */
  margin: 0 !important;
}

/* center the wave bar under the orb, within the card width */
.login-card .wave-layers {
  position: absolute !important;
  bottom: -35px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 64px) !important; /* 32px card padding on each side */
  height: 80px !important;
}

.login-card .wave-layers span {
  left: 0 !important;
  width: 100% !important;
}

.login-illustration .wave-layers {
  display: none !important;
}
