:root {
    --accent: 16 185 129;
    --ink: 15 23 42;
    --muted: 100 116 139;
}

html.dark {
    --accent: 34 211 238;
    --ink: 229 231 235;
    --muted: 156 163 175;
}

.card {
    border: 1px solid rgba(100, 116, 139, .35);
    box-shadow: 0 10px 24px rgba(2, 6, 23, .06);
    border-radius: 18px
}

html.dark .card {
    border-color: #334155
}

.bg-blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none
}

.blob {
    position: absolute;
    filter: blur(40px);
    opacity: .25
}

.blob-1 {
    width: 560px;
    height: 560px;
    left: -120px;
    top: -80px;
    background: radial-gradient(circle at 30% 30%, #60a5fa, transparent 60%), radial-gradient(circle at 70% 60%, #34d399, transparent 60%)
}

.blob-2 {
    width: 420px;
    height: 420px;
    right: -120px;
    bottom: -80px;
    background: radial-gradient(circle at 40% 40%, #a78bfa, transparent 60%), radial-gradient(circle at 70% 70%, #22d3ee, transparent 60%)
}

.ring-grad {
    position: relative
}

.ring-grad:before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    pointer-events: none;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #60a5fa, #22d3ee, #34d399, #a78bfa);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude
}

.strength span.pwd-bar {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .35)
}

.strength span.pwd-bar-active {
    background: linear-gradient(90deg, #2563eb, #10b981)
}

.error {
    font-size: .8rem;
    color: #ef4444;
    margin-top: .25rem
}

.kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid rgba(100, 116, 139, .45);
    font-weight: 700;
    font-size: .75rem
}

.progress {
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .25);
    overflow: hidden
}

.progress>div {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #10b981)
}