/* ZeroCostPaste - Complete Styles */

/* ===== CSS VARIABLES ===== */
:root {
  --space-xs: 0.25rem; --space-sm: 0.5rem; --space-md: 1rem; --space-lg: 1.5rem;
  --space-xl: 2rem; --space-2xl: 3rem; --space-3xl: 4rem;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
  --transition-fast: 150ms ease; --transition-base: 250ms ease;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Space Grotesk', var(--font-sans);
  --z-modal: 200; --z-toast: 300;
}

/* Themes */
[data-theme="cyberpunk"] {
  --bg-primary: #0a0a0f; --bg-secondary: #111118; --bg-tertiary: #18181f; --bg-card: #1a1a24; --bg-elevated: #222230;
  --text-primary: #f5f5f7; --text-secondary: #9898a8; --text-muted: #5a5a6a;
  --accent: #00d4ff; --accent-secondary: #8b5cf6; --accent-glow: rgba(0, 212, 255, 0.2);
  --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%);
  --border: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.15);
  --success: #10b981; --warning: #f59e0b; --error: #ef4444;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="ocean"] {
  --bg-primary: #0a1628; --bg-secondary: #0f1e32; --bg-tertiary: #14263c; --bg-card: #1a2f47; --bg-elevated: #1f3752;
  --text-primary: #e8f4f8; --text-secondary: #8eb4c9; --text-muted: #5d8aa8;
  --accent: #00bcd4; --accent-secondary: #0288d1; --accent-glow: rgba(0, 188, 212, 0.2);
  --accent-gradient: linear-gradient(135deg, #00bcd4 0%, #0288d1 100%);
  --border: rgba(142, 180, 201, 0.12); --border-strong: rgba(142, 180, 201, 0.25);
  --success: #26a69a; --warning: #ffb74d; --error: #ef5350; --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="emerald"] {
  --bg-primary: #0a120e; --bg-secondary: #0f1a14; --bg-tertiary: #14221a; --bg-card: #1a2b22; --bg-elevated: #1f3329;
  --text-primary: #e8f5e9; --text-secondary: #a5d6a7; --text-muted: #6b9b6e;
  --accent: #4caf50; --accent-secondary: #8bc34a; --accent-glow: rgba(76, 175, 80, 0.2);
  --accent-gradient: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
  --border: rgba(165, 214, 167, 0.12); --border-strong: rgba(165, 214, 167, 0.25);
  --success: #66bb6a; --warning: #ffd54f; --error: #e57373; --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="sunset"] {
  --bg-primary: #140a08; --bg-secondary: #1c0f0c; --bg-tertiary: #241410; --bg-card: #2d1a15; --bg-elevated: #361f19;
  --text-primary: #fff3e0; --text-secondary: #ffcc80; --text-muted: #bf8040;
  --accent: #ff7043; --accent-secondary: #ff5722; --accent-glow: rgba(255, 112, 67, 0.2);
  --accent-gradient: linear-gradient(135deg, #ff7043 0%, #ff5722 100%);
  --border: rgba(255, 204, 128, 0.12); --border-strong: rgba(255, 204, 128, 0.25);
  --success: #aed581; --warning: #ffd54f; --error: #e57373; --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="royal"] {
  --bg-primary: #0e0a14; --bg-secondary: #140f1c; --bg-tertiary: #1a1424; --bg-card: #211a2d; --bg-elevated: #281f36;
  --text-primary: #f3e5f5; --text-secondary: #ce93d8; --text-muted: #9c5aad;
  --accent: #ab47bc; --accent-secondary: #e91e63; --accent-glow: rgba(171, 71, 188, 0.2);
  --accent-gradient: linear-gradient(135deg, #ab47bc 0%, #e91e63 100%);
  --border: rgba(206, 147, 216, 0.12); --border-strong: rgba(206, 147, 216, 0.25);
  --success: #81c784; --warning: #ffb74d; --error: #f06292; --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="gold"] {
  --bg-primary: #0a0a0a; --bg-secondary: #121212; --bg-tertiary: #1a1a1a; --bg-card: #222222; --bg-elevated: #2a2a2a;
  --text-primary: #fafafa; --text-secondary: #d4af37; --text-muted: #a08020;
  --accent: #ffd700; --accent-secondary: #daa520; --accent-glow: rgba(255, 215, 0, 0.15);
  --accent-gradient: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
  --border: rgba(212, 175, 55, 0.15); --border-strong: rgba(212, 175, 55, 0.3);
  --success: #90ee90; --warning: #ffa500; --error: #dc143c; --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
  --bg-primary: #ffffff; --bg-secondary: #f8f9fa; --bg-tertiary: #f1f3f4; --bg-card: #ffffff; --bg-elevated: #ffffff;
  --text-primary: #1a1a1a; --text-secondary: #5f6368; --text-muted: #9aa0a6;
  --accent: #1a73e8; --accent-secondary: #4285f4; --accent-glow: rgba(26, 115, 232, 0.15);
  --accent-gradient: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
  --border: rgba(0, 0, 0, 0.1); --border-strong: rgba(0, 0, 0, 0.2);
  --success: #34a853; --warning: #fbbc04; --error: #ea4335; --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="cream"] {
  --bg-primary: #fdf8f0; --bg-secondary: #f8f2e8; --bg-tertiary: #f0e8dc; --bg-card: #fffbf5; --bg-elevated: #ffffff;
  --text-primary: #2d2416; --text-secondary: #5c4d3c; --text-muted: #8b7a66;
  --accent: #c77b30; --accent-secondary: #a06020; --accent-glow: rgba(199, 123, 48, 0.15);
  --accent-gradient: linear-gradient(135deg, #c77b30 0%, #a06020 100%);
  --border: rgba(45, 36, 22, 0.12); --border-strong: rgba(45, 36, 22, 0.2);
  --success: #528a44; --warning: #c77b30; --error: #b84233; --shadow: 0 2px 10px rgba(45, 36, 22, 0.1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--text-primary); background: var(--bg-primary); min-height: 100vh; -webkit-font-smoothing: antialiased; }

/* Background */
.bg-effects { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 50px 50px; }
.bg-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); }
.glow-1 { top: -200px; right: -100px; background: var(--accent); opacity: 0.15; }
.glow-2 { bottom: -200px; left: -100px; background: var(--accent-secondary); opacity: 0.1; }
[data-theme="light"] .bg-glow, [data-theme="cream"] .bg-glow { opacity: 0.05; }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.container-sm { max-width: 800px; }
.container-xs { max-width: 500px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
a { color: var(--accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--text-primary); }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-gradient { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg-primary); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
[data-theme="light"] .header, [data-theme="cream"] .header { background: rgba(255, 255, 255, 0.9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); height: 70px; }
.logo { display: flex; align-items: center; gap: var(--space-md); color: var(--text-primary); }
.logo:hover { color: var(--text-primary); }
.logo-icon { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.logo-tagline { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.nav { display: flex; align-items: center; gap: var(--space-xs); padding: 4px; background: var(--bg-tertiary); border-radius: var(--radius-full); }
.nav-link { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-lg); color: var(--text-secondary); font-size: 0.875rem; font-weight: 500; border-radius: var(--radius-full); transition: all var(--transition-base); }
.nav-link svg { width: 16px; height: 16px; }
.nav-link:hover { color: var(--text-primary); background: var(--bg-card); }
.nav-link.active { color: var(--bg-primary); background: var(--accent); }
[data-theme="light"] .nav-link.active, [data-theme="cream"] .nav-link.active { color: white; }
.header-actions { display: flex; align-items: center; gap: var(--space-md); }
.theme-select { appearance: none; background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-sm) var(--space-lg); padding-right: var(--space-xl); color: var(--text-primary); font-size: 0.8rem; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; transition: all var(--transition-fast); }
.theme-select:hover { border-color: var(--accent); }
.theme-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-lg); font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; line-height: 1.5; border: none; border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition-base); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent-gradient); color: white; box-shadow: 0 2px 8px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 16px var(--accent-glow); }
.btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-elevated); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.btn-lg { padding: var(--space-md) var(--space-xl); font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* Forms */
.form-group { margin-bottom: var(--space-lg); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-lg); }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .form-row-3 { grid-template-columns: 1fr; } }
.form-label { display: block; margin-bottom: var(--space-sm); font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); }
.form-input, .form-select, .form-textarea { width: 100%; padding: var(--space-md); background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-family: var(--font-sans); font-size: 0.9375rem; transition: all var(--transition-fast); }
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: var(--border-strong); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.7; resize: vertical; min-height: 200px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; cursor: pointer; }
.form-select-sm { padding: var(--space-sm) var(--space-md); padding-right: 32px; font-size: 0.8rem; }
.textarea-wrap { position: relative; }
.textarea-info { position: absolute; bottom: var(--space-sm); right: var(--space-md); font-size: 0.75rem; color: var(--text-muted); pointer-events: none; }
.form-error { background: rgba(239, 68, 68, 0.1); border: 1px solid var(--error); color: var(--error); padding: var(--space-md); border-radius: var(--radius-md); font-size: 0.875rem; margin-bottom: var(--space-lg); }
.form-success { background: rgba(16, 185, 129, 0.1); border: 1px solid var(--success); color: var(--success); padding: var(--space-md); border-radius: var(--radius-md); font-size: 0.875rem; margin-bottom: var(--space-lg); }
.btn-link { display: inline-block; margin-top: var(--space-lg); background: none; border: none; padding: 0; color: var(--accent); font-size: 0.875rem; font-weight: 500; cursor: pointer; font-family: inherit; }
.btn-link:hover { text-decoration: underline; }
.dashboard-header-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.form-footer { display: flex; align-items: flex-end; justify-content: flex-end; gap: var(--space-lg); flex-wrap: wrap; margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--border); }
.turnstile-row { margin-right: auto; display: flex; flex-direction: column; gap: var(--space-xs); }
.turnstile-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.turnstile-label svg { width: 14px; height: 14px; color: var(--accent); }
/* Clamp the widget box to the Turnstile normal size (65px) so it lines up with
   the Create button. Do NOT add border-radius/overflow here — the Cloudflare
   widget has its own corner styling, and clipping it rounds off its corners and
   looks wrong. */
#turnstile-container { height: 65px; }
#admin-turnstile-container { height: 65px; }
.admin-turnstile-row { display: flex; justify-content: center; }
.form-footer #btn-create { min-height: 65px; border-radius: var(--radius-lg); }
@media (max-width: 640px) {
  .form-footer { justify-content: center; }
  .turnstile-row { margin-right: 0; width: 100%; align-items: center; }
  .form-footer .btn-lg { width: 100%; }
}
.checkbox-group { display: flex; flex-direction: column; gap: var(--space-sm); }
.checkbox { display: flex; align-items: center; gap: var(--space-sm); cursor: pointer; font-size: 0.875rem; color: var(--text-secondary); }
.checkbox input { display: none; }
.checkbox-box { width: 18px; height: 18px; border: 2px solid var(--border-strong); border-radius: 4px; transition: all var(--transition-fast); position: relative; }
.checkbox input:checked + .checkbox-box { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked + .checkbox-box::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 12px; font-weight: bold; }

/* Main */
.main { min-height: calc(100vh - 140px); padding: var(--space-2xl) 0; }
.view { display: none; }
.view.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Hero */
.hero { text-align: center; max-width: 700px; margin: 0 auto var(--space-3xl); }
.hero-badge { display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-md); background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius-full); font-size: 0.8rem; color: var(--text-secondary); margin-bottom: var(--space-lg); }
.pulse { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-title { margin-bottom: var(--space-lg); font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1.1; }
.hero-desc { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: var(--space-xl); }
.hero-stats { display: flex; justify-content: center; align-items: center; gap: var(--space-xl); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-value { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 600; color: var(--accent); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Editor */
.editor-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.editor-tabs { display: flex; gap: var(--space-xs); padding: var(--space-md); background: var(--bg-secondary); border-bottom: 1px solid var(--border); }
.tab { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-lg); background: transparent; border: none; color: var(--text-secondary); font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; cursor: pointer; border-radius: var(--radius-md); transition: all var(--transition-base); }
.tab svg { width: 16px; height: 16px; }
.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--text-primary); background: var(--bg-card); }
.editor-body { padding: var(--space-xl); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.flex-1 { flex: 1; }

/* Preview */
.preview-content { min-height: 300px; padding: var(--space-lg); background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); }
.preview-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 200px; color: var(--text-muted); }
.preview-empty svg { width: 48px; height: 48px; margin-bottom: var(--space-md); opacity: 0.5; }
.preview-content pre { margin: 0; font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }

/* Result */
.result-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-xl); margin-top: var(--space-xl); max-width: 900px; margin-left: auto; margin-right: auto; animation: slideUp 0.4s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.result-header { display: flex; align-items: center; gap: var(--space-lg); margin-bottom: var(--space-xl); }
.result-icon { width: 56px; height: 56px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
.result-icon.success { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.result-icon svg { width: 28px; height: 28px; }
.result-link-box { display: flex; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.result-link-input { flex: 1; font-family: var(--font-mono); font-size: 0.875rem; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-md); color: var(--accent); }
.result-meta { display: flex; gap: var(--space-lg); margin-bottom: var(--space-lg); font-size: 0.875rem; color: var(--text-secondary); }
.result-warning { display: flex; gap: var(--space-md); padding: var(--space-lg); background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); border-radius: var(--radius-md); margin-bottom: var(--space-xl); font-size: 0.875rem; color: var(--text-secondary); }
.result-warning svg { width: 24px; height: 24px; color: var(--warning); flex-shrink: 0; }
.result-warning strong { color: var(--warning); }
.result-delete { margin-bottom: var(--space-xl); }
.result-delete .form-label { display: block; margin-bottom: var(--space-sm); }
.result-delete .result-link-box { margin-bottom: 0; }
.result-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

/* Viewer */
.viewer-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-xl); box-shadow: var(--shadow); }
.viewer-header { margin-bottom: var(--space-xl); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--border); }
.viewer-meta { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-sm); font-size: 0.875rem; color: var(--text-secondary); }
.viewer-content { min-height: 150px; padding: var(--space-lg); background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: var(--space-xl); font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.8; white-space: pre-wrap; word-break: break-word; }
.viewer-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

/* Notice */
.notice { display: flex; gap: var(--space-lg); padding: var(--space-lg); border-radius: var(--radius-lg); margin-top: var(--space-xl); }
.notice svg { width: 24px; height: 24px; flex-shrink: 0; }
.notice strong { display: block; margin-bottom: var(--space-xs); }
.notice p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; }
.notice-error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); }
.notice-error svg { color: var(--error); }
.notice-warning { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); }
.notice-warning svg { color: var(--warning); }

/* Docs */
.docs-layout { display: grid; grid-template-columns: 200px 1fr; gap: var(--space-3xl); }
@media (max-width: 900px) { .docs-layout { grid-template-columns: 1fr; } .docs-sidebar { display: none; } }
.docs-sidebar { position: sticky; top: 90px; height: fit-content; }
.docs-nav { display: flex; flex-direction: column; gap: var(--space-xs); }
.docs-nav-link { padding: var(--space-sm) var(--space-md); color: var(--text-secondary); font-size: 0.875rem; border-radius: var(--radius-md); transition: all var(--transition-base); }
.docs-nav-link:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.docs-nav-link.active { color: var(--accent); background: var(--accent-glow); }
.docs-content h1 { margin-bottom: var(--space-md); }
.docs-lead { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: var(--space-3xl); }
.docs-section { margin-bottom: var(--space-3xl); padding-bottom: var(--space-3xl); border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.docs-section:last-child { border-bottom: none; }
.docs-section h2 { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-xl); }
.section-num { font-family: var(--font-mono); font-size: 0.875rem; color: var(--accent); background: var(--accent-glow); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm); }
.steps { display: flex; flex-direction: column; gap: var(--space-lg); }
.step { display: flex; gap: var(--space-lg); padding: var(--space-lg); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-num { width: 36px; height: 36px; background: var(--accent-gradient); color: white; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-content h4 { margin-bottom: var(--space-xs); }
.step-content p { color: var(--text-secondary); font-size: 0.9375rem; margin: 0; }
.security-diagram { display: flex; align-items: center; justify-content: center; gap: var(--space-lg); padding: var(--space-xl); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: var(--space-xl); flex-wrap: wrap; }
.security-node { text-align: center; }
.node-icon { width: 64px; height: 64px; background: var(--bg-secondary); border: 2px solid var(--border); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: var(--space-sm); }
.node-label { font-size: 0.75rem; color: var(--text-muted); }
.security-arrow { display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); color: var(--accent); }
.security-arrow span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.security-arrow svg { width: 24px; height: 24px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-lg); }
.info-card { padding: var(--space-lg); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); text-align: center; }
.info-icon { font-size: 2rem; margin-bottom: var(--space-md); }
.info-card h4 { margin-bottom: var(--space-sm); }
.info-card p { color: var(--text-secondary); font-size: 0.875rem; margin: 0; }
.options-list { display: flex; flex-direction: column; gap: var(--space-md); }
.option-item { display: flex; gap: var(--space-lg); padding: var(--space-lg); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.option-icon { font-size: 1.5rem; }
.option-item h4 { margin-bottom: var(--space-xs); }
.option-item p { color: var(--text-secondary); font-size: 0.9375rem; margin: 0; }
.api-endpoints { display: flex; flex-direction: column; gap: var(--space-md); }
.api-endpoint { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.api-method { padding: var(--space-xs) var(--space-sm); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; border-radius: var(--radius-sm); }
.api-method.get { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.api-method.post { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.api-endpoint code { font-family: var(--font-mono); font-size: 0.875rem; background: transparent; }
.faq-list { display: flex; flex-direction: column; gap: var(--space-md); }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.faq-item summary { padding: var(--space-lg); font-weight: 500; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; font-size: 1.25rem; color: var(--text-muted); transition: transform var(--transition-base); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 var(--space-lg) var(--space-lg); color: var(--text-secondary); font-size: 0.9375rem; }

/* About */
.about-hero { text-align: center; max-width: 700px; margin: 0 auto var(--space-3xl); }
.about-lead { font-size: 1.125rem; color: var(--text-secondary); margin-top: var(--space-lg); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-lg); margin-bottom: var(--space-3xl); }
.feature-card { padding: var(--space-xl); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); transition: all var(--transition-base); }
.feature-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 8px 32px var(--accent-glow); }
.feature-icon { width: 48px; height: 48px; background: var(--accent-glow); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: var(--space-lg); }
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: var(--space-sm); }
.feature-card p { color: var(--text-secondary); font-size: 0.9375rem; margin: 0; }
.about-cta { text-align: center; padding: var(--space-3xl); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); }
.about-cta h2 { margin-bottom: var(--space-xl); }

/* Admin */
.admin-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-2xl); text-align: center; }
.admin-icon { width: 64px; height: 64px; background: var(--accent-glow); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-lg); color: var(--accent); }
.admin-icon svg { width: 32px; height: 32px; }
.admin-card h2 { margin-bottom: var(--space-xs); }
.admin-form { text-align: left; margin-top: var(--space-xl); }
.admin-back { display: inline-block; margin-top: var(--space-xl); color: var(--text-muted); font-size: 0.875rem; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-2xl); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-xl); }
.stat-card-value { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; margin-bottom: var(--space-xs); }
.stat-card-label { color: var(--text-secondary); font-size: 0.875rem; }
.dashboard-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.section-header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-lg) var(--space-xl); border-bottom: 1px solid var(--border); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: var(--space-md) var(--space-lg); text-align: left; border-bottom: 1px solid var(--border); }
.table th { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); background: var(--bg-secondary); }
.table td { font-size: 0.875rem; }
.table tbody tr:hover { background: var(--bg-secondary); }
.table code { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); }
.pagination { display: flex; justify-content: center; align-items: center; gap: var(--space-md); padding: var(--space-lg); }

/* Dashboard: stack multiple sections with spacing */
.dashboard-section + .dashboard-section { margin-top: var(--space-2xl); }

/* Storage / database usage monitor */
.storage-body { padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-lg); }
.storage-alert { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md); border-radius: var(--radius-md); font-size: 0.9rem; border: 1px solid var(--border); background: var(--bg-elevated); }
.storage-status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--text-secondary); }
.storage-alert.storage-ok { background: rgba(16, 185, 129, 0.1); border-color: var(--success); }
.storage-alert.storage-ok .storage-status-dot { background: var(--success); }
.storage-alert.storage-warning { background: rgba(245, 158, 11, 0.1); border-color: var(--warning); }
.storage-alert.storage-warning .storage-status-dot { background: var(--warning); }
.storage-alert.storage-critical { background: rgba(239, 68, 68, 0.1); border-color: var(--error); }
.storage-alert.storage-critical .storage-status-dot { background: var(--error); }
.storage-gauge-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.875rem; color: var(--text-secondary); margin-bottom: var(--space-xs); }
.storage-bar { height: 12px; background: var(--bg-elevated); border-radius: var(--radius-sm); overflow: hidden; }
.storage-bar-fill { height: 100%; width: 0; border-radius: var(--radius-sm); transition: width .3s ease; background: var(--success); }
.storage-bar-fill.storage-warning { background: var(--warning); }
.storage-bar-fill.storage-critical { background: var(--error); }
.storage-bar-fill.storage-unknown { background: var(--text-secondary); }
.storage-meta { display: flex; gap: var(--space-2xl); }
.storage-meta-value { display: block; font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; }
.storage-meta-label { color: var(--text-secondary); font-size: 0.8rem; }
.storage-tables { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.storage-tables li { display: flex; justify-content: space-between; padding: var(--space-sm) 0; font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.storage-tables li:last-child { border-bottom: none; }
.storage-settings-body { padding: var(--space-xl); }
.storage-settings-hint { margin-bottom: var(--space-lg); font-size: 0.9rem; line-height: 1.5; }

/* Account Security */
.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { filter: brightness(0.92); }

/* Header with icon */
.account-header-title { display: flex; align-items: center; gap: var(--space-lg); }
.account-header-icon { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--accent-glow); color: var(--accent); border-radius: var(--radius-lg); }
.account-header-icon svg { width: 26px; height: 26px; }

/* Status-at-a-glance overview */
.security-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.security-tile { display: flex; align-items: center; gap: var(--space-md); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-lg); }
.security-tile-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--accent-glow); color: var(--accent); border-radius: var(--radius-md); }
.security-tile-icon svg { width: 20px; height: 20px; }
.security-tile-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.security-tile-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }

/* Card grid + cards */
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-xl); padding: var(--space-xl); }
.security-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-xl); transition: border-color var(--transition-base), box-shadow var(--transition-base); }
.security-card:hover { border-color: var(--accent); box-shadow: 0 4px 24px var(--accent-glow); }
.security-card-head { display: flex; align-items: flex-start; gap: var(--space-md); margin-bottom: var(--space-lg); }
.security-card-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--accent-glow); color: var(--accent); border-radius: var(--radius-md); }
.security-card-icon svg { width: 20px; height: 20px; }
.security-card-head h3 { margin: 0 0 2px; }
.security-card-head p { margin: 0; font-size: 0.875rem; }
.security-card .admin-form { margin-top: 0; }
.security-card-note { font-size: 0.85rem; line-height: 1.5; margin: 0 0 var(--space-lg); padding: var(--space-md); background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius-md); }
.security-step { font-size: 0.875rem; margin-bottom: var(--space-sm); }

/* 2FA "protected" status line */
.security-status-line { display: flex; align-items: center; gap: var(--space-sm); font-size: 0.9rem; padding: var(--space-md); border-radius: var(--radius-md); margin-bottom: var(--space-lg); }
.security-status-ok { background: rgba(16, 185, 129, 0.1); border: 1px solid var(--success); color: var(--text-primary); }
.security-status-ok svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--success); }

.twofa-badge { display: inline-block; width: fit-content; padding: 3px 12px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; background: var(--bg-tertiary); color: var(--text-secondary); }
.twofa-badge-on { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.twofa-badge-off { background: rgba(239, 68, 68, 0.12); color: var(--error); }
.twofa-qr { display: flex; justify-content: center; margin: var(--space-lg) 0; }
.twofa-qr img { border-radius: var(--radius-md); background: #fff; padding: var(--space-sm); }
.twofa-secret { display: block; font-family: var(--font-mono); font-size: 0.85rem; word-break: break-all; background: var(--bg-tertiary); padding: var(--space-md); border-radius: var(--radius-md); margin: var(--space-sm) 0 var(--space-lg); color: var(--accent); }
.backup-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); margin: var(--space-lg) 0; }
.backup-codes code { font-family: var(--font-mono); font-size: 0.9rem; text-align: center; background: var(--bg-tertiary); padding: var(--space-sm); border-radius: var(--radius-sm); color: var(--text-primary); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; align-items: center; justify-content: center; padding: var(--space-xl); }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); }
.modal-content { position: relative; width: 100%; max-width: 400px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-2xl); text-align: center; animation: modalIn 0.3s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.modal-icon { width: 64px; height: 64px; background: var(--accent-glow); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-lg); color: var(--accent); }
.modal-icon svg { width: 32px; height: 32px; }
.modal-content h3 { margin-bottom: var(--space-xs); }
.modal-content .form-input { margin: var(--space-lg) 0; }

/* Toast */
.toast-container { position: fixed; bottom: var(--space-xl); right: var(--space-xl); z-index: var(--z-toast); display: flex; flex-direction: column; gap: var(--space-md); }
.toast { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); animation: toastIn 0.3s ease; max-width: 350px; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.toast.removing { animation: toastOut 0.3s ease forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }
.toast-icon { width: 20px; height: 20px; flex-shrink: 0; }
.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--error); }
.toast.warning .toast-icon { color: var(--warning); }
.toast-message { font-size: 0.875rem; }

/* Footer */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: var(--space-xl) 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-lg); }
.footer-brand { display: flex; align-items: center; gap: var(--space-lg); font-family: var(--font-display); font-weight: 600; }
.footer-nav { display: flex; gap: var(--space-xl); }
.footer-nav a { color: var(--text-secondary); font-size: 0.875rem; }
.footer-nav a:hover { color: var(--text-primary); }

/* Utilities */
.hidden { display: none !important; }
.loading { opacity: 0.7; pointer-events: none; }
.loading-spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: var(--space-xl) auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: var(--space-md) var(--space-lg); }
  .nav { order: 3; width: 100%; justify-content: center; margin-top: var(--space-md); }
  .logo-tagline { display: none; }
  .theme-select { display: none; }
  .hero-stats { gap: var(--space-lg); }
  .stat-divider { display: none; }
  .result-actions, .viewer-actions { flex-direction: column; }
  .result-actions .btn, .viewer-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
::selection { background: var(--accent); color: var(--bg-primary); }

/* ===== Discussion / Comments ===== */
.comments-section {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.comments-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}
.comments-list { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.comment {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}
.comment-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: var(--space-xs); }
.comment-body { color: var(--text-primary); white-space: pre-wrap; word-break: break-word; }
.comments-empty { color: var(--text-secondary); font-size: 0.9rem; }
.comment-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.comment-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: var(--space-md);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.comment-input:focus { outline: none; border-color: var(--border-strong); }
.comment-form .btn { align-self: flex-end; }

/* ===== Password strength meter ===== */
.pw-strength { margin-top: var(--space-sm); display: none; align-items: center; gap: var(--space-sm); }
.pw-strength.visible { display: flex; }
.pw-strength-track { flex: 1; height: 6px; border-radius: var(--radius-sm); background: var(--bg-secondary); overflow: hidden; }
.pw-strength-bar { height: 100%; width: 0; border-radius: var(--radius-sm); transition: width .25s ease, background .25s ease; background: var(--error); }
.pw-strength-label { font-size: 0.78rem; color: var(--text-secondary); min-width: 64px; text-align: right; }
.pw-strength[data-score="0"] .pw-strength-bar,
.pw-strength[data-score="1"] .pw-strength-bar { background: var(--error); }
.pw-strength[data-score="2"] .pw-strength-bar { background: var(--warning); }
.pw-strength[data-score="3"] .pw-strength-bar { background: var(--accent); }
.pw-strength[data-score="4"] .pw-strength-bar { background: var(--success); }

/* ===== Burn-after-reading confirmation ===== */
.burn-confirm { text-align: center; padding: var(--space-xl, 2.5rem) var(--space-lg, 1.5rem); }
.burn-confirm-icon { font-size: 3rem; margin-bottom: var(--space-md); animation: burn-pulse 1.6s ease-in-out infinite; }
.burn-confirm h3 { margin: 0 0 var(--space-sm); color: var(--text-primary); }
.burn-confirm p { color: var(--text-secondary); max-width: 440px; margin: 0 auto var(--space-lg); line-height: 1.6; }
@keyframes burn-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  /* Below modals (200) and toasts (300) so both still paint above the banner. */
  z-index: 150;
  padding: var(--space-md);
  background: color-mix(in srgb, var(--bg-secondary) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
  animation: cookie-slide-up var(--transition-base);
}

@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner.hiding {
  transform: translateY(100%);
  opacity: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cookie-banner-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1 1 320px;
}

.cookie-banner-title {
  color: var(--text-primary);
  font-weight: 600;
  margin-right: var(--space-xs);
}

.cookie-banner-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: var(--space-xs);
}
.cookie-banner-link:hover { opacity: 0.85; }

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 0 0 auto;
}

.cookie-btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.85rem;
}

.cookie-btn-accept {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 2px 8px var(--accent-glow);
}
.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { justify-content: center; }
}

/* ===== Password show/hide toggle ===== */
.password-field {
  position: relative;
}
.password-field .form-input {
  width: 100%;
  padding-right: 42px;
}
.password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}
.password-toggle:hover {
  opacity: 1;
}
.password-toggle:focus-visible {
  opacity: 1;
  outline: 2px solid currentColor;
  outline-offset: -2px;
  border-radius: 6px;
}
.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.password-toggle .icon-eye-off {
  display: none;
}
.password-toggle.is-visible .icon-eye {
  display: none;
}
.password-toggle.is-visible .icon-eye-off {
  display: block;
}
