/* ==========================================================================
   ShopTürkiye Mail — Ultra Premium Webmail Suite Theme
   Dark / Obsidian Luxe with Gold Accents (#D4AF37)
   ========================================================================== */

:root {
  --bg-app: #07070a;
  --bg-sidebar: #0b0b10;
  --bg-sidebar-hover: #14141d;
  --bg-panel: #0f0f15;
  --bg-card: #14141e;
  --bg-card-hover: #1a1a27;
  --bg-card-active: #202030;
  --bg-input: #0a0a0f;
  --bg-glass: rgba(18, 18, 26, 0.75);

  --border-subtle: #1c1c28;
  --border-medium: #28283a;
  --border-active: #3c3c54;
  --border-gold: rgba(212, 175, 55, 0.35);

  --text-primary: #f2f2f7;
  --text-secondary: #9a9ab0;
  --text-muted: #5e5e74;
  --text-gold: #e5c158;

  --accent-gold: #d4af37;
  --accent-gold-gradient: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa820a 100%);
  --accent-blue: #3b82f6;
  --accent-blue-subtle: rgba(59, 130, 246, 0.15);
  --accent-emerald: #10b981;
  --accent-red: #ef4444;
  --accent-red-subtle: rgba(239, 68, 68, 0.15);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body.dark-theme {
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  user-select: none;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Utility Helpers */
.hidden { display: none !important; }
.gold-text { color: var(--accent-gold); }

/* Buttons & Inputs Shared */
button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
}
button {
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══════════════════════════════════════════════════════════════════════ */
/* Layout Grid (3 Columns) */
/* ══════════════════════════════════════════════════════════════════════ */
.app-layout {
  display: grid;
  grid-template-columns: 240px 380px 1fr;
  height: 100vh;
  width: 100vw;
  background: var(--bg-app);
}

/* ══════════════════════════════════════════════════════════════════════ */
/* 1. Left Sidebar */
/* ══════════════════════════════════════════════════════════════════════ */
.sidebar {
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 14px 12px;
  gap: 14px;
}

/* ══════════════════════════════════════════════════════════════════════ */
/* BRAND & UNIFIED WORKSPACE ACCOUNT SELECTOR (TOP-LEFT) */
/* ══════════════════════════════════════════════════════════════════════ */
.sidebar-header {
  position: relative;
  padding: 0 2px;
}

.brand-account-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(25, 25, 36, 0.8) 0%, rgba(16, 16, 24, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.brand-account-box:hover {
  background: linear-gradient(135deg, rgba(32, 32, 46, 0.9) 0%, rgba(22, 22, 32, 0.95) 100%);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.account-avatar-glow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-gold-gradient);
  color: #07070a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
  flex-shrink: 0;
}

.account-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.account-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.account-main-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.chevron-arrow {
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.brand-account-box.open .chevron-arrow {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

.account-sub-email {
  font-size: 0.68rem;
  color: var(--accent-gold);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.9;
}

/* Floating Glass Dropdown Menu */
.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 2px;
  right: 2px;
  background: rgba(14, 14, 22, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  z-index: 999;
  overflow: hidden;
  animation: dropdownPop 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes dropdownPop {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-header {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 10px 14px 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.dropdown-accounts-list {
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dropdown-account-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.14s ease;
}
.dropdown-account-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.dropdown-account-item.active {
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.dropdown-account-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #1c1c28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.dropdown-account-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.dropdown-account-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-account-email {
  font-size: 0.66rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-account-check {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.8rem;
}

.dropdown-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 6px;
  background: #0a0a10;
}
.btn-add-alias {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-gold);
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.08);
}
.btn-add-alias:hover {
  background: rgba(212, 175, 55, 0.18);
}

/* Compose Action Button */
.compose-btn-wrap {
  padding: 0 2px;
}
.btn-primary {
  background: var(--accent-gold-gradient);
  color: #0b0b10;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.28);
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-compose {
  width: 100%;
  position: relative;
  justify-content: flex-start;
  padding: 11px 16px;
}
.shortcut-key {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

/* Navigation */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
}
.nav-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 8px 12px 4px 12px;
}
.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}
.nav-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-icon {
  color: var(--text-muted);
  transition: color 0.18s ease;
}
.nav-item:hover {
  background: var(--bg-sidebar-hover);
  color: var(--text-primary);
}
.nav-item:hover .nav-icon {
  color: var(--accent-gold);
}
.nav-item.active {
  background: rgba(212, 175, 55, 0.12);
  color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.25);
}
.nav-item.active .nav-icon {
  color: var(--accent-gold);
}

/* Smart Zero Badges: Hidden when 0 */
.badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 12px;
}
.badge.hidden {
  display: none !important;
}
.badge-inbox {
  background: var(--accent-gold);
  color: #07070a;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}
.badge-subtle {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* Minimalist, Clean Sidebar Footer */
.sidebar-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 4px;
}
.system-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  cursor: pointer;
  transition: all 0.15s ease;
}
.system-status-pill:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
}
.pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}
.status-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #34d399;
}
.footer-links-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-ghost-mini {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
}
.btn-ghost-mini:hover {
  color: #fff;
  background: var(--bg-sidebar-hover);
}

/* ══════════════════════════════════════════════════════════════════════ */
/* 2. Middle Panel: Mail List */
/* ══════════════════════════════════════════════════════════════════════ */
.mail-list-panel {
  background: var(--bg-panel);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.mail-list-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-panel);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  transition: border-color 0.18s ease;
}
.search-input-wrap:focus-within {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}
.search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}
.search-input-wrap input {
  flex: 1;
  font-size: 0.84rem;
  color: var(--text-primary);
  user-select: text;
}
.search-input-wrap input::placeholder {
  color: var(--text-muted);
}
.btn-icon-subtle {
  color: var(--text-muted);
  padding: 2px;
  display: flex;
  align-items: center;
}
.btn-icon-subtle:hover {
  color: var(--text-primary);
}

.filter-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-chips {
  display: flex;
  gap: 6px;
}
.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.chip:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}
.chip.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  border-color: var(--border-gold);
}
.tool-icons {
  display: flex;
  gap: 4px;
}
.btn-icon-btn {
  padding: 6px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-icon-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

/* Mail Items Scrollable List */
.mail-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mail-loading-state,
.mail-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  text-align: center;
  color: var(--text-muted);
  gap: 12px;
  font-size: 0.85rem;
}
.spinner-ring {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-medium);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Single Message Card in List */
.mail-item {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}
.mail-item:hover {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
.mail-item.selected {
  background: var(--bg-card-active);
  border-color: var(--border-medium);
}
.mail-item.unread {
  background: rgba(255, 255, 255, 0.02);
}
.mail-item.unread::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.mail-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #181824;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.mail-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mail-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.mail-from {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mail-item.unread .mail-from {
  font-weight: 800;
  color: #fff;
}
.mail-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.mail-subject {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mail-item.unread .mail-subject {
  font-weight: 700;
}

.mail-snippet {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.mail-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.star-btn {
  padding: 4px;
  color: var(--text-muted);
}
.star-btn:hover, .star-btn.active {
  color: var(--accent-gold);
}

/* ══════════════════════════════════════════════════════════════════════ */
/* 3. Right Panel: Mail Reader */
/* ══════════════════════════════════════════════════════════════════════ */
.mail-reader-panel {
  background: var(--bg-app);
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.empty-reader-state {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 440px;
  padding: 32px;
  gap: 12px;
}
.empty-reader-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}
.empty-reader-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.empty-reader-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Reader Content */
.reader-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 32px;
  gap: 20px;
  overflow-y: auto;
}

.reader-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.reader-subject-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.reader-subject {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.01em;
  user-select: text;
}
.reader-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.btn-danger-hover:hover {
  color: var(--accent-red) !important;
  background: var(--accent-red-subtle) !important;
}

.sender-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sender-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-gold-gradient);
  color: #07070a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.sender-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sender-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: text;
}
.sender-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.sender-email {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.sender-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}
.meta-dot {
  color: var(--text-muted);
}
.reader-date {
  color: var(--text-muted);
}

/* Email Body Area */
.reader-body {
  flex: 1;
  min-height: 180px;
}
.email-html-view {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #d1d1dc;
  user-select: text;
  word-break: break-word;
}
.email-html-view p {
  margin-bottom: 12px;
}
.email-html-view a {
  color: var(--accent-gold);
  text-decoration: underline;
}
.email-html-view pre, .email-html-view code {
  font-family: var(--font-mono);
  background: #111118;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

/* ══════════════════════════════════════════════════════════════════════ */
/* SLEEK COLLAPSIBLE ACTION & REPLY DRAWER (FIXES BOX 5) */
/* ══════════════════════════════════════════════════════════════════════ */
.reader-footer-wrap {
  margin-top: auto;
  padding-top: 14px;
}

/* 1. Resting Action Bar (Clean, Minimalist, Unobtrusive) */
.reply-trigger-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(18, 18, 28, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.reply-trigger-bar:hover {
  background: rgba(24, 24, 38, 0.85);
  border-color: rgba(212, 175, 55, 0.3);
}

.btn-trigger-reply {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.16s ease;
}
.btn-trigger-reply:hover {
  color: #fff;
  background: rgba(212, 175, 55, 0.15);
}
.mini-kbd {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.reply-quick-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 2. Expanded Glass Reply Card (Appears on click) */
.reply-expanded-card {
  background: rgba(16, 16, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  animation: replySlideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes replySlideUp {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reply-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}
.reply-target-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
}
.reply-label {
  color: var(--text-muted);
}
.reply-target-info strong {
  color: #fff;
  font-weight: 700;
}
.reply-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

#quick-reply-textarea {
  background: #09090f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.5;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.16s ease;
}
#quick-reply-textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.reply-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.keyboard-tip {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.keyboard-tip kbd {
  background: #191924;
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 0.82rem;
}

/* ══════════════════════════════════════════════════════════════════════ */
/* MODALS: Compose Modal & DNS Modal */
/* ══════════════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

/* Compose Window */
.compose-window {
  background: #0f0f16;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 90vh;
}
.compose-header {
  background: #14141e;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}
.compose-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}
.compose-form {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  gap: 14px;
  overflow-y: auto;
}
.compose-field-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}
.compose-field-row label {
  width: 80px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}
.compose-field-row input,
.compose-field-row select {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-primary);
  user-select: text;
}
.compose-select {
  cursor: pointer;
}
.compose-select option {
  background: #14141e;
  color: #fff;
}

.template-selector-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 0;
}
.template-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-gold);
}
.template-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tpl-chip {
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.25);
  cursor: pointer;
}
.tpl-chip:hover {
  background: rgba(212, 175, 55, 0.2);
}

.compose-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 6px;
}
.tab-btn {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}
.tab-btn.active {
  background: var(--bg-card);
  color: var(--accent-gold);
}

.compose-body-wrap {
  position: relative;
  min-height: 220px;
  display: flex;
}
#compose-body {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.55;
  font-family: var(--font-sans);
  resize: vertical;
  user-select: text;
}
#compose-body:focus {
  border-color: var(--accent-gold);
}
.compose-preview-card {
  width: 100%;
  background: #ffffff;
  color: #111827;
  padding: 16px;
  border-radius: var(--radius-md);
  overflow-y: auto;
  max-height: 300px;
}

.compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}
.compose-footer-right {
  display: flex;
  gap: 10px;
}
.btn-ghost {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
}
.btn-ghost:hover {
  background: var(--bg-card);
  color: #fff;
}

/* DNS Modal */
.modal-card {
  background: #0f0f16;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gold-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--accent-gold);
  color: #07070a;
  padding: 2px 6px;
  border-radius: 4px;
}
.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 4px;
}
.dns-modal-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.dns-code-block {
  background: #0a0a0f;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dns-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
}
.btn-copy {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.btn-copy:hover {
  background: var(--accent-gold);
  color: #07070a;
}
.dns-code-block pre code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #7dd3fc;
  user-select: text;
}
.dns-info-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
  pointer-events: none;
}
.toast {
  background: #151522;
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--accent-gold);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.toast.toast-error {
  border-left-color: var(--accent-red);
}
.toast.toast-success {
  border-left-color: var(--accent-emerald);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .app-layout {
    grid-template-columns: 70px 300px 1fr;
  }
  .sidebar-header .logo-meta,
  .btn-compose span,
  .shortcut-key,
  .nav-item span,
  .badge,
  .account-meta,
  .footer-actions,
  .account-switcher-wrap {
    display: none;
  }
  .sidebar {
    padding: 12px 8px;
    align-items: center;
  }
  .nav-item {
    justify-content: center;
    padding: 12px;
  }
}

/* ══════════════════════════════════════════════════════════════════════ */
/* ACCOUNT SWITCHER & MULTI-ACCOUNT STYLES */
/* ══════════════════════════════════════════════════════════════════════ */
.account-switcher-wrap {
  position: relative;
  padding: 0 4px;
}

.active-account-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.active-account-pill:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
}
.account-pill-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1e1e2c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid var(--border-medium);
}
.account-pill-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.account-pill-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-pill-email {
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
}
.chevron-down-icon {
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.active-account-pill.open .chevron-down-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 4px;
  right: 4px;
  background: #11111a;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 500;
  overflow: hidden;
  animation: dropdownIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-header {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 10px 12px 6px;
  border-bottom: 1px solid var(--border-subtle);
}
.dropdown-accounts-list {
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 4px;
  gap: 2px;
}
.dropdown-account-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.dropdown-account-item:hover {
  background: var(--bg-card-hover);
}
.dropdown-account-item.active {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.dropdown-account-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1c1c28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.dropdown-account-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.dropdown-account-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-account-email {
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
}
.dropdown-account-check {
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 800;
}
.dropdown-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 6px;
  background: #0d0d14;
}
.btn-add-alias {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-gold);
  border-radius: var(--radius-sm);
}
.btn-add-alias:hover {
  background: rgba(212, 175, 55, 0.15);
}

/* Sidebar Accounts List */
.nav-group-accounts {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btn-icon-mini {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.btn-icon-mini:hover {
  background: var(--accent-gold);
  color: #07070a;
}
.account-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.account-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.16s ease;
  font-size: 0.82rem;
}
.account-nav-item:hover {
  background: var(--bg-sidebar-hover);
  color: var(--text-primary);
}
.account-nav-item.active {
  background: rgba(212, 175, 55, 0.12);
  color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-weight: 700;
}
.account-nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.account-nav-emoji {
  font-size: 0.95rem;
  flex-shrink: 0;
}
.account-nav-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-nav-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--accent-gold);
}

/* Modal Form Controls */
.modal-card-sm {
  max-width: 440px !important;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.form-group input {
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: #fff;
  font-size: 0.86rem;
  font-family: inherit;
}
.form-group input:focus {
  border-color: var(--accent-gold);
}
.emoji-selector-row {
  display: flex;
  gap: 8px;
}
.emoji-radio {
  cursor: pointer;
}
.emoji-radio input {
  display: none;
}
.emoji-radio span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  font-size: 1.15rem;
  transition: all 0.15s ease;
}
.emoji-radio input:checked + span {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.15);
  transform: scale(1.08);
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* SESSION SECURITY BAR (Sidebar Footer)                                      */
/* ══════════════════════════════════════════════════════════════════════════ */
.session-security-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 18, 24, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}
.session-security-bar:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(24, 24, 32, 0.95);
}
.session-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}
.session-shield-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: sessionPulse 2s infinite ease-in-out;
}
@keyframes sessionPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.session-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.session-timer-text {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
}
.session-timer-text.warning {
  color: #f59e0b;
}
.session-timer-text.danger {
  color: #ef4444;
  animation: blinkTimer 1s infinite;
}
@keyframes blinkTimer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.btn-session-logout {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-session-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* FULLSCREEN WEBMAIL LOCKSCREEN (30m Passcode / 2h Session)                  */
/* ══════════════════════════════════════════════════════════════════════════ */
.lockscreen-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: lockscreenFadeIn 0.3s ease;
}
.lockscreen-overlay.hidden {
  display: none !important;
}
@keyframes lockscreenFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lockscreen-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  background: #0d0d12;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(212, 175, 55, 0.12);
  overflow: hidden;
  text-align: center;
}

.lockscreen-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.lockscreen-header {
  position: relative;
  margin-bottom: 22px;
}
.lockscreen-shield-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  margin-bottom: 14px;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}
.lockscreen-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 4px 0;
}
.lockscreen-subtitle {
  font-size: 0.8rem;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin: 0;
}

.lockscreen-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  text-align: left;
}
.notice-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.notice-text {
  font-size: 0.78rem;
  color: #c4c4c4;
  line-height: 1.45;
}
.notice-text strong {
  color: #fff;
}

.session-rules-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}
.session-rules-tag strong {
  color: #f59e0b;
}

.lockscreen-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group-lock {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.form-group-lock label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}
.input-passcode-wrap {
  position: relative;
}
.input-passcode {
  width: 100%;
  background: #06060a !important;
  border: 2px solid rgba(212, 175, 55, 0.5) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  font-family: var(--font-mono) !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.35em !important;
  text-align: center !important;
  color: #d4af37 !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15) inset;
  transition: all 0.2s ease;
}
.input-passcode:focus {
  border-color: #d4af37 !important;
  outline: none;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3) inset, 0 0 25px rgba(212, 175, 55, 0.25) !important;
}
.input-passcode::placeholder {
  color: rgba(212, 175, 55, 0.25);
}

.lockscreen-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
  animation: shakeErr 0.3s ease;
}
.lockscreen-error.hidden {
  display: none !important;
}
@keyframes shakeErr {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.btn-lockscreen-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #d4af37 0%, #b8972e 100%);
  border: none;
  border-radius: 10px;
  color: #000;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
  transition: all 0.2s ease;
}
.btn-lockscreen-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}
.btn-lockscreen-submit:active {
  transform: translateY(1px);
}
.btn-lockscreen-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.lockscreen-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.link-admin-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}
.link-admin-portal:hover {
  color: #d4af37;
  transform: translateY(-1px);
}


