:root {
  color-scheme: dark;
  --bg: #070708;
  --surface: #111114;
  --surface-2: #19191d;
  --surface-3: #222228;
  --border: #2a2a30;
  --border-strong: #3d3d46;
  --text: #f5f5f6;
  --text-soft: #a8a8b3;
  --muted: #6f6f7a;
  --accent: #6ea0ff;
  --accent-bg: rgba(110, 160, 255, 0.12);
  --good: #3dcc7a;
  --good-bg: rgba(61, 204, 122, 0.12);
  --warn: #ff5c6c;
  --warn-bg: rgba(255, 92, 108, 0.12);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --radius: 10px;
  --radius-sm: 7px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body, #app {
  min-height: 100%;
  margin: 0;
}

html, body {
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(1200px 420px at 50% -180px, rgba(110, 160, 255, 0.07), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

button, select, input, textarea {
  font: inherit;
  color: inherit;
}

button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

.icon {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-wrap {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap.sm {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.icon-wrap.xs {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

.surface,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

#app {
  overflow-x: hidden;
}

.app-shell {
  width: min(560px, 100%);
  margin: 0 auto;
  padding:
    calc(var(--safe-top) + 18px)
    16px
    calc(118px + var(--safe-bottom));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: default;
  user-select: none;
}

.brand-logo-wrap {
  width: 32px;
  height: 30px;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.brand-logo-svg,
.brand-logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.brand-title {
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.group-chip {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  max-width: min(230px, calc(100vw - 170px));
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.group-chip:active {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.group-chip > .icon-wrap {
  color: var(--accent);
  flex-shrink: 0;
}

.group-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.large-title {
  margin: 16px 0 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.page-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.page-sub:empty {
  display: none;
}

.toolbar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 18px;
}

.action-surface {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 14px;
  display: flex;
  align-items: center;
}

.control-caption {
  position: absolute;
  top: 0;
  left: 14px;
  transform: translateY(-50%);
  background: #0d0d11;
  padding: 0 6px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 2;
}

.action-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.action-addr {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.copy-btn-plain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  margin: 0;
  background: transparent !important;
  border: none;
  outline: none;
  color: var(--text-soft);
  cursor: pointer;
  transform: none !important;
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.copy-btn-plain:hover,
.copy-btn-plain:focus {
  background: transparent !important;
  outline: none;
}

.copy-btn-plain:active {
  background: transparent !important;
  transform: none !important;
}

.copy-btn-plain.copied,
.copy-btn-plain:disabled {
  background: transparent !important;
  color: var(--good);
  pointer-events: none;
  cursor: default;
  transform: none !important;
}

.copy-btn-plain .icon-wrap {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transform: none !important;
}

.copy-btn-plain .icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  display: block;
}

.icon-btn {
  flex: 0 0 54px;
  width: 54px;
  min-height: 54px;
  border-radius: var(--radius);
  color: var(--text-soft);
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.icon-btn .icon-wrap {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.icon-btn:active {
  background: var(--surface-3);
  color: var(--text);
}

.icon-btn.is-busy .icon-wrap {
  animation: spin 0.7s linear infinite;
}

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

/* Tabbar floating dock - 4 equal columns with vertical icon + label */
.tabbar {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(14px + var(--safe-bottom));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: min(440px, calc(100% - 24px));
  min-height: 64px;
  padding: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: #111116;
  border: 1px solid #282832;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  touch-action: none;
  user-select: none;
}

.tabbar-pill {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), width 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform, width;
}

.nav-btn {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 2px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.18s;
}

.nav-btn:active {
  transform: none;
}

.nav-btn .icon-wrap {
  width: 22px;
  height: 22px;
  color: var(--text-soft);
  transition: color 0.18s, transform 0.18s;
}

.nav-btn .icon {
  stroke-width: 1.85;
}

.nav-btn .nav-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-top: 3px;
  letter-spacing: -0.01em;
  color: var(--muted);
  transition: color 0.18s, font-weight 0.18s;
  white-space: nowrap;
}

/* Active State */
.nav-btn.active {
  background: transparent !important;
  color: var(--text);
  box-shadow: none !important;
  cursor: default;
}

.nav-btn.active:hover,
.nav-btn.active:active {
  transform: none !important;
  background: transparent !important;
}

.nav-btn.active .icon-wrap,
.nav-btn.active:active .icon-wrap {
  color: var(--accent);
  transform: translateY(-1px) !important;
}

.nav-btn.active .icon {
  stroke-width: 2.2;
}

.nav-btn.active .nav-label {
  color: var(--text);
  font-weight: 600;
}

/* Email message card (inspired by lesson-card in ipekraspo) */
.lesson-card,
.mail-card {
  min-width: 0;
  padding: 13px 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.mail-card:active {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.mail-card.unread {
  border-color: rgba(110, 160, 255, 0.35);
  background: rgba(110, 160, 255, 0.04);
}

.lesson-badge,
.mail-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 7px;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid rgba(110, 160, 255, 0.2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lesson-row,
.mail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  line-height: 1.35;
}

.mail-row + .mail-row {
  margin-top: 5px;
}

.mail-row.subject {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.mail-row.secondary {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 400;
}

.mail-row .icon-wrap {
  color: var(--muted);
}

.mail-row.subject .icon-wrap {
  color: var(--accent);
}

/* Search Surface */
.search-surface {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  margin-top: 12px;
}

.search-surface > .icon-wrap {
  color: var(--muted);
}

.search-surface:focus-within {
  border-color: var(--border-strong);
}

.search-surface:focus-within > .icon-wrap {
  color: var(--accent);
}

.search-surface input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.search-surface input::placeholder {
  color: var(--muted);
}

/* Settings block styles */
.settings-view {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.settings-block {
  position: relative;
  padding: 16px 14px 14px;
}

.settings-kicker {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settings-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  text-align: left;
}

.settings-hit {
  padding: 2px 0 4px;
}

.settings-avatar-wrap {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
  border: 1.5px solid var(--border-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.settings-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.settings-avatar-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #74a4ff 0%, #528cff 100%);
  color: #070708;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
}

.settings-user-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.25;
}

.settings-user-handle {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.35;
  margin-top: 1px;
}

.settings-user-id {
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--mono);
  margin-top: 2px;
}

.settings-ico {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.settings-ico .icon-wrap {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.settings-copy {
  min-width: 0;
  flex: 1;
}

.settings-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.settings-value {
  margin-top: 2px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.settings-hint {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.settings-edit {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.settings-edit input,
.settings-edit textarea {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: none;
  border-radius: 9px;
  background: var(--surface-2);
  outline: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.settings-edit textarea {
  height: 100px;
  padding: 10px 12px;
  resize: none;
}

.settings-edit input:focus,
.settings-edit textarea:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.settings-save {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 16px;
  border-radius: 9px;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}

.settings-save:active {
  background: #2a2a32;
}

.btn-accent {
  background: linear-gradient(135deg, #74a4ff 0%, #528cff 100%);
  color: #070708;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 10px;
  height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(110, 160, 255, 0.22);
  transition: opacity 0.15s, transform 0.12s, box-shadow 0.15s;
  cursor: pointer;
}

.btn-accent:hover {
  opacity: 0.96;
  box-shadow: 0 6px 20px rgba(110, 160, 255, 0.32);
}

.btn-accent:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(110, 160, 255, 0.15);
  opacity: 0.9;
}

.btn-accent .icon-wrap {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #070708 !important;
  margin: 0 !important;
}

.btn-accent .icon {
  width: 18px;
  height: 18px;
  stroke: #070708 !important;
  stroke-width: 2.3;
  display: block;
}

.btn-accent span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.settings-gap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.empty-box {
  margin-top: 14px;
  padding: 32px 16px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-box > .icon-wrap {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  margin-bottom: 12px;
  color: var(--muted);
}

/* Status message banner */
.status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
}

.status.error {
  color: var(--warn);
  background: var(--warn-bg);
  border: 1px solid rgba(255, 92, 108, 0.22);
}

.status.good {
  color: var(--good);
  background: var(--good-bg);
  border: 1px solid rgba(61, 204, 122, 0.22);
}

/* Animations */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.anim-in {
  animation: riseIn 0.32s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 35ms);
}

/* Account switcher dropdown popup */
.account-dropdown-wrap {
  position: relative;
  display: inline-flex;
  margin-left: auto;
}

.group-chip .chip-chevron {
  color: var(--muted);
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  transition: transform 0.22s var(--ease), color 0.18s;
}

.account-dropdown-wrap.is-open .group-chip .chip-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.account-dropdown-wrap.is-open .group-chip {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(235px, calc(100vw - 28px));
  background: #111116;
  border: 1px solid #2a2a35;
  border-radius: 10px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.75),
    0 2px 10px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 95;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.account-dropdown-wrap.is-open .account-dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-accounts-list {
  display: flex;
  flex-direction: column;
  max-height: 220px;
  overflow-y: auto;
  padding: 4px;
  gap: 2px;
}

.dropdown-account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s;
}

.dropdown-account-item:hover {
  background: var(--surface-2);
}

.dropdown-account-item.is-active {
  background: rgba(110, 160, 255, 0.1);
}

.dropdown-acc-main {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
}

.dropdown-acc-ico {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-account-item.is-active .dropdown-acc-ico {
  color: var(--accent);
}

.dropdown-acc-addr {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transform: translateY(-1px);
}

.dropdown-account-item.is-active .dropdown-acc-addr {
  color: var(--accent);
}

.dropdown-acc-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.dropdown-acc-check {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.dropdown-unread-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #070708;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dropdown-foot {
  padding: 4px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.dropdown-create-btn {
  width: 100%;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 7px;
  background: transparent;
  border: 1px dashed var(--border-strong);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.dropdown-create-btn:hover {
  background: var(--surface-3);
  border-color: var(--accent);
}

/* Unified Create Tab */
.create-view {
  margin-top: 12px;
}

.create-card {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.create-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 0;
}

.create-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.create-sub {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.create-input-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: 8px;
  margin-right: 2px;
}

.create-input-box {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  background: var(--surface-2);
  border: none;
  outline: none;
  border-radius: 10px;
  padding: 0 12px;
  height: 44px;
}

.create-input-box:focus-within {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.create-input-prefix {
  color: var(--muted);
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.create-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--mono);
}

.create-input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.create-domain {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--mono);
  user-select: none;
  margin-left: 6px;
  flex-shrink: 0;
}

.create-random-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent !important;
  border: none !important;
  outline: none;
  color: var(--accent) !important;
  cursor: pointer;
  transform: rotate(14deg) !important;
  transition: none !important;
  -webkit-tap-highlight-color: transparent;
}

.create-random-btn .icon-wrap {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.create-random-btn .icon {
  stroke-width: 2.1;
}

.create-random-btn:hover,
.create-random-btn:active {
  color: var(--accent) !important;
  transform: rotate(14deg) !important;
  background: transparent !important;
}


.btn-create-submit,
.btn-send-mail {
  width: 100%;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #74a4ff 0%, #528cff 100%);
  color: #070708;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(110, 160, 255, 0.22);
  transition: opacity 0.15s, transform 0.12s, box-shadow 0.15s;
}

.btn-create-submit:hover,
.btn-send-mail:hover {
  opacity: 0.96;
  box-shadow: 0 6px 20px rgba(110, 160, 255, 0.32);
}

.btn-create-submit:active,
.btn-send-mail:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(110, 160, 255, 0.15);
  opacity: 0.9;
}

.btn-create-submit .icon-wrap,
.btn-send-mail .icon-wrap {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-create-submit .icon,
.btn-send-mail .icon {
  stroke-width: 2.2;
}
