@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #090d16;
  --bg-gradient: radial-gradient(circle at top, #0f1c30 0%, #06090f 100%);
  --sidebar-bg: #06090f;
  --card: rgba(15, 23, 42, 0.45);
  --card-solid: #0f172a;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(16, 185, 129, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --input-bg: rgba(2, 6, 23, 0.6);
  --input-border: rgba(255, 255, 255, 0.12);
  --btn-bg: #10b981;
  --btn-text: #022c22;
  --btn-glow: rgba(16, 185, 129, 0.3);
  --focus-ring: rgba(16, 185, 129, 0.2);
  --error: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.1);
  --amber: #fb8c00;
  --green: #10b981;
}

body.light-mode {
  --bg: #f8fafc;
  --bg-gradient: radial-gradient(circle at top, #ffffff 0%, #e2e8f0 100%);
  --sidebar-bg: #f1f5f9;
  --card: rgba(255, 255, 255, 0.75);
  --card-solid: #ffffff;
  --border: rgba(15, 23, 42, 0.06);
  --border-focus: rgba(5, 150, 105, 0.4);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --input-bg: rgba(255, 255, 255, 0.9);
  --input-border: rgba(15, 23, 42, 0.12);
  --btn-bg: #059669;
  --btn-text: #ffffff;
  --btn-glow: rgba(5, 150, 105, 0.2);
  --focus-ring: rgba(5, 150, 105, 0.15);
  --error: #dc2626;
  --error-bg: rgba(220, 38, 38, 0.08);
  --amber: #d97706;
  --green: #059669;
}

* {
  box-sizing: border-box;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Master Layout Grid */
.app-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Left Sidebar (Desktop Only) */
.sidebar {
  display: none;
  width: 230px;
  flex-shrink: 0;
  background: rgba(6, 9, 15, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
  padding: 40px 32px;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 10;
}

body.light-mode .sidebar {
  background: rgba(241, 245, 249, 0.6);
  border-right: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .sidebar {
    display: flex;
    width: 200px;
  }
}

@media (min-width: 1025px) {
  .sidebar {
    width: 230px;
  }
}

.sidebar-header {
  margin-bottom: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  margin-top: -2px;
}

.logo-tagline {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
}

/* Features list in sidebar */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: auto;
}

.feature-item {
  display: flex;
  gap: 14px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
  transform: translateX(4px);
}

.feature-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-content h4 {
  margin: 0 0 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-content p {
  margin: 0;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Highlighted bottom feature card */
.feature-highlight {
  display: flex;
  gap: 14px;
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 10px;
  padding: 16px;
  margin-top: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.sidebar-footer {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 40px;
}

/* Main Content Panel */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 16px;
  overflow-y: auto;
  min-height: 100vh;
  padding-bottom: 100px; /* Space for fixed footer */
}

@media (min-width: 768px) {
  .main-content {
    padding: 40px 24px;
    padding-bottom: 100px;
  }
}

@media (min-width: 1025px) {
  .main-content {
    padding: 60px 32px;
    padding-bottom: 100px;
  }
}

/* Header Navbar */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

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

@media (min-width: 1024px) {
  .mobile-logo {
    display: none;
  }
}

.header-nav {
  position: fixed;
  top: 32px;
  right: 32px;
  display: flex;
  gap: 20px;
  align-items: center;
  z-index: 100;
}

@media (max-width: 767px) {
  .header-nav {
    top: 16px;
    right: 16px;
  }
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text-primary);
}

.theme-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  transition: border-color 0.3s ease;
}

body.light-mode .theme-pill {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-pill:hover {
  border-color: var(--text-secondary);
}

.theme-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.3s ease;
  z-index: 1;
}

body:not(.light-mode) .theme-icon.moon {
  color: var(--text-primary);
}

body.light-mode .theme-icon.sun {
  color: var(--text-primary);
}

.theme-indicator {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body:not(.light-mode) .theme-indicator {
  transform: translateX(6px);
}

body.light-mode .theme-indicator {
  transform: translateX(-10px);
}

/* Workspace wrapper */
.workspace {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.workspace-heading {
  width: 100%;
  max-width: 640px;
  text-align: left;
  margin-bottom: 32px;
}

.workspace-heading h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 4px 0;
  text-align: left;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green);
  margin: 0 0 12px 0;
  text-align: left;
}

.hero-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  text-align: left;
}

/* Glassmorphic main form card */
.card {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-top: 10px;
  background: var(--card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

body.light-mode .card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .card {
    padding: 40px;
  }
}

/* Form Headers with numbers */
.form-section-header {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-number {
  color: var(--text-secondary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
}

.badge-encrypted {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--green);
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
}

/* IDE Code Editor style textarea */
.textarea-container {
  display: flex;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.textarea-container:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--focus-ring);
}



textarea {
  flex: 1;
  background: transparent !important;
  border: none !important;
  color: var(--text-primary);
  padding: 14px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px;
  outline: none;
  resize: vertical;
  min-height: 140px;
  line-height: 20px;
  box-shadow: none !important;
}

textarea::placeholder {
  color: var(--text-muted);
}

.char-count {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  text-align: right;
  margin-bottom: 24px;
}

/* High Fidelity Expiry select cards */
.expiry-select {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .expiry-select {
    grid-template-columns: repeat(4, 1fr);
  }
}

.expiry-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  cursor: pointer;
  background: var(--input-bg);
  text-align: left;
}

.expiry-card:hover {
  border-color: var(--text-secondary);
}

/* Radio button hidden */
.expiry-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.card-text {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.card-desc {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Checked styling with green dot indicator */
.expiry-card:has(input[type="radio"]:checked) {
  border-color: var(--green);
  background: rgba(16, 185, 129, 0.05);
}

.expiry-card:has(input[type="radio"]:checked) .card-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.expiry-card:has(input[type="radio"]:checked)::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* Collapsible Passcode details accordion */
.passcode-details {
  margin-bottom: 28px;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 16px 20px;
  background: var(--input-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.passcode-details:hover {
  border-color: var(--border-focus);
}

.passcode-details[open] {
  background: rgba(16, 185, 129, 0.02);
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.1), 0 8px 24px rgba(0,0,0,0.1);
}

.passcode-details input[type="password"] {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  margin-top: 12px;
  transition: all 0.3s ease;
}

body.light-mode .passcode-details input[type="password"] {
  background: rgba(255, 255, 255, 0.5);
}

.passcode-details input[type="password"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--focus-ring);
}

.summary-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.summary-text {
  display: flex;
  flex-direction: column;
}

.summary-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.summary-desc {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 1px;
}

summary {
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary::after {
  content: '▼';
  font-size: 8px;
  color: var(--text-muted);
  margin-left: 10px;
}

details[open] summary::after {
  content: '▲';
}

details[open] summary {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

/* Button & Disclaimer styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--btn-glow);
}

.btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px var(--btn-glow);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.encryption-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
}

/* Split tone E2EE copy container styling */
.link-box {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 16px;
  word-break: break-all;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Desktop Workspace Footer info */
.workspace-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  background: rgba(6, 9, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
}

body.light-mode .workspace-footer {
  background: rgba(241, 245, 249, 0.85);
}

@media (max-width: 767px) {
  .workspace-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
  }
}

.footer-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--green);
}

.trust-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

/* Receiver Card UI */
.receiver-card {
  max-width: 600px;
  margin: 40px auto 0 auto;
}

.shield {
  text-align: center;
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--green);
}

.receiver-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.receiver-warn {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

.secret-box {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 18px;
  word-break: break-all;
  white-space: pre-wrap;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* Precise countdown design instead of shifting bars */
.timer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.timer-bar {
  flex: 1;
  height: 6px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.timer-fill {
  height: 100%;
  background: var(--error);
  transition: width 1s linear;
}

.timer-text {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  min-width: 48px;
  text-align: right;
  color: var(--error);
}

.deletion-msg {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.error-msg {
  color: var(--error);
  background: var(--error-bg);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  margin-top: 8px;
  text-align: center;
}

/* Accessibility Focus States */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* Page Content Typography */
.page-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 16px 0;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.page-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 12px 0;
  color: var(--text-primary);
}

.page-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 14px;
}

.page-content ul {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-left: 20px;
  font-size: 14px;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.page-content code {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--green);
}

.page-content pre {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--input-border);
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
}

body.light-mode .page-content pre {
  background: rgba(0,0,0,0.05);
}

.page-content pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-primary);
  font-size: 12px;
}

/* Strict CSP & V2 Hardening Classes to replace inline styles */
.result-key-part {
  color: var(--green);
  font-weight: 600;
  border-left: 1px solid var(--border);
  padding-left: 10px;
  margin-left: 10px;
}

.intelligence-card {
  margin-top: 16px;
  padding: 16px;
}

.intelligence-summary {
  cursor: pointer;
  font-weight: 600;
  padding: 4px 0;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.intelligence-badge {
  font-size: 11px;
  font-weight: normal;
  color: var(--text-muted);
  background: var(--input-border);
  padding: 2px 8px;
  border-radius: 10px;
}

.intelligence-log {
  margin-top: 16px;
  font-size: 12px;
}

.log-waiting {
  color: var(--text-muted);
  margin: 0;
}

.log-warning {
  color: var(--amber);
  margin-bottom: 12px;
  font-weight: 500;
  background: var(--error-bg);
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
}

.log-warning svg {
  margin-right: 6px;
}

.device-icon {
  margin-right: 4px;
}

.globe-icon {
  margin-right: 6px;
}

.log-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.log-date {
  color: var(--text-secondary);
  white-space: nowrap;
}

.log-info {
  color: var(--text-primary);
  flex: 1;
  margin-left: 12px;
  display: flex;
  align-items: center;
}

.log-info-label {
  margin-right: 8px;
}

.log-device {
  color: var(--text-muted);
  margin-left: auto;
  display: flex;
  align-items: center;
  font-size: 11px;
}

.log-outcome {
  font-weight: 600;
  font-size: 11px;
  margin-left: 12px;
  min-width: 80px;
  text-align: right;
}

.log-outcome-success {
  color: var(--green);
}

.log-outcome-error {
  color: var(--error);
}

.blurred {
  filter: blur(12px);
  transition: filter 0.3s ease;
}

.timer-fill-green {
  background: var(--green) !important;
}

.timer-fill-amber {
  background: var(--amber) !important;
}

.timer-fill-error {
  background: var(--error) !important;
}

.composer-footer {
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 40px;
  padding-top: 24px;
}

.footer-trust-secondary {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 12px;
  flex-wrap: wrap;
}

.footer-link-item {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-link-item:hover {
  color: var(--text-primary);
}

.passcode-margin {
  margin-bottom: 16px;
}

.report-abuse-container {
  text-align: center;
  margin-top: 16px;
}

.report-abuse-btn {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
  transition: opacity 0.2s ease;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.report-abuse-btn:hover {
  opacity: 1;
}

.report-modal {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text-primary);
  margin: auto;
  max-width: 400px;
  width: 90%;
}

.report-modal-title {
  margin-top: 0;
  margin-bottom: 8px;
}

.report-modal-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 0;
  margin-bottom: 16px;
}

.report-select {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  background: var(--input-bg);
  color: var(--text-primary);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  font-family: inherit;
}

.report-textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 10px;
  background: var(--input-bg);
  color: var(--text-primary);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  box-sizing: border-box;
}

.report-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-report-cancel {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  color: var(--text-primary) !important;
  padding: 8px 16px !important;
}

.btn-report-submit {
  background: var(--error) !important;
  padding: 8px 16px !important;
  color: white !important;
}

.report-result {
  margin-top: 12px;
  font-size: 12px;
  text-align: center;
}

.btn-icon {
  margin-right: 8px;
}

.hidden {
  display: none !important;
}

.report-success {
  color: var(--green) !important;
}

.report-error {
  color: var(--error) !important;
}
