/* ==========================================================================
   Zar Radar — Clean, Simple & Modern Dark Theme (Apple / Linear Minimalist)
   ========================================================================== */

:root {
  --bg-app: #080b12;
  --bg-surface: #0f1523;
  --bg-surface-elevated: #151d30;
  --bg-card: #121827;
  --bg-card-hover: #182238;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(56, 189, 248, 0.4);

  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

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

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
}

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

body.dark-theme {
  background-color: var(--bg-app);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. Minimalist Top Header
   ========================================================================== */
.app-header {
  background: rgba(11, 16, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-accent {
  color: var(--accent-cyan);
}

/* Location Chip */
.location-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.location-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: #fff;
}

.loc-pin {
  font-size: 11px;
}

.loc-name {
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loc-refresh-icon {
  font-size: 11px;
  color: var(--text-muted);
}

/* Center Search Input */
.header-center {
  flex: 1;
  max-width: 460px;
}

.search-wrap {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-wrap input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 12px 8px 34px;
  font-size: 13px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.search-wrap input:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.search-wrap input::placeholder {
  color: var(--text-dim);
}

/* Right Header Controls */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.control-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  border-radius: var(--radius-md);
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: #fff;
}

.control-btn.highlight-btn {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  font-weight: 600;
}

.control-btn.highlight-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--accent-cyan);
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.status-indicator-pill {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-ping {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
}

.status-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-emerald);
}

/* ==========================================================================
   2. Sleek Sub-Nav Bar (Segmented Tabs + Quick Filter Chips)
   ========================================================================== */
.sub-nav {
  background: var(--bg-app);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
  position: sticky;
  top: 55px;
  z-index: 40;
}

.sub-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Segmented Category Buttons */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.tab-btn.active {
  background: #fff;
  color: #090d16;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tab-count {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.15);
  color: inherit;
}

.tab-btn:not(.active) .tab-count {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* Sub-filter Row: Quick Chips + Toggles */
.sub-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tags-group {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.tags-group::-webkit-scrollbar {
  display: none;
}

.niche-btn,
.brand-btn,
.radius-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  padding: 3.5px 11px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.15s ease;
}

.niche-btn:hover,
.brand-btn:hover,
.radius-btn:hover {
  border-color: var(--border-hover);
  color: #fff;
}

.niche-btn.active,
.brand-btn.active,
.radius-btn.active {
  background: rgba(56, 189, 248, 0.14);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Filter Toggles */
.filter-toggles {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.toggle-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.toggle-pill:hover {
  border-color: var(--border-hover);
  color: #fff;
}

.toggle-pill input[type="checkbox"] {
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

/* ==========================================================================
   3. Feed Header Summary
   ========================================================================== */
.feed-header-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 24px 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feed-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.feed-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border-radius: var(--radius-full);
}

.counter-text {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   4. Deals Grid & Card Anatomy (Clean, Minimal, Modern)
   ========================================================================== */
.deals-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 24px 48px 24px;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}

/* Clean Deal Card */
.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  transition: all 0.2s ease;
}

.deal-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Lowest price crown highlight */
.deal-card.card-lowest {
  border-color: rgba(245, 158, 11, 0.35);
}

.deal-card.card-lowest:hover {
  border-color: rgba(245, 158, 11, 0.6);
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Platform Badges with Official Brand Accents */
.platform-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.platform-badge.platform-telegram {
  background: rgba(36, 161, 222, 0.12);
  border-color: rgba(36, 161, 222, 0.35);
  color: #38bdf8;
}

.platform-badge.platform-shopee,
.platform-badge.platform-shopeefood,
.platform-badge.platform-shopeepay {
  background: rgba(238, 77, 45, 0.12);
  border-color: rgba(238, 77, 45, 0.35);
  color: #fb923c;
}

.platform-badge.platform-tiktok {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.platform-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Card Benefits Checklist */
.card-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 6px 0;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
}

.benefit-item {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.check-svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.brand-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-badges {
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-lowest {
  font-size: 10.5px;
  font-weight: 700;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.badge-flash {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-rose);
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.badge-discount {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* Card Title */
.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Meta (Specifications, Distance, Outlet) */
.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5px 7px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.meta-tag.meta-dist {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
  font-weight: 600;
}

.meta-tag.meta-outlet {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Pricing Block */
.card-pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.price-val {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.price-usd-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 1.5px 6px;
  border-radius: var(--radius-sm);
}

.price-orig {
  font-size: 11.5px;
  color: var(--text-dim);
  text-decoration: line-through;
}

/* Voucher Box */
.voucher-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.voucher-code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.05em;
}

.copy-code-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.copy-code-btn:hover {
  background: var(--accent-emerald);
  color: #000;
}

/* Action Buttons */
.card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.btn-action {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
}

.btn-action:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #090d16;
}

.btn-maps {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 7px 10px;
  border-radius: var(--radius-md);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-maps:hover {
  border-color: var(--border-hover);
  color: #fff;
}

/* ==========================================================================
   5. Empty State & Modal
   ========================================================================== */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.primary-btn {
  background: var(--accent-cyan);
  color: #090d16;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: all 0.2s ease;
}

.primary-btn:hover {
  opacity: 0.9;
}

/* Modal Ingest */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head h3 {
  font-size: 15px;
  font-weight: 700;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
}

.modal-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.form-row label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.form-row input,
.form-row textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent-cyan);
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-cyan);
  border: none;
  color: #090d16;
  padding: 7px 16px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.app-footer {
  text-align: center;
  padding: 24px;
  color: var(--text-dim);
  font-size: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   6. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
  .app-header {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .header-center {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .sub-nav {
    padding: 8px 16px;
  }

  .deals-container {
    padding: 10px 16px 40px 16px;
  }

  .deals-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. Security Passcode Gate Screen (Private Exclusive Access)
   ========================================================================== */
.security-gate-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at 50% 30%, #101626 0%, #07090e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.security-card {
  background: rgba(17, 23, 38, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  max-width: 400px;
  width: 100%;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: cardEntrance 0.35s ease-out;
}

@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.security-radar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.4);
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.security-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(14, 165, 233, 0.4);
  animation: radarPulse 2s infinite ease-out;
}

.lock-icon {
  font-size: 1.8rem;
  z-index: 1;
}

.security-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.security-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 24px;
}

.pin-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pin-inputs-box input {
  width: 100%;
  height: 56px;
  background: #090d16;
  border: 2px solid #202b40;
  border-radius: 14px;
  text-align: center;
  font-size: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.4em;
  outline: none;
  transition: all 0.2s ease;
}

.pin-inputs-box input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
  background: #0d1320;
}

.pin-error-text {
  color: #fb7185;
  font-size: 0.82rem;
  font-weight: 700;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.unlock-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
}

.unlock-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.6);
}

.security-footer-note {
  margin-top: 20px;
  font-size: 0.72rem;
  color: #64748b;
}

.lock-btn {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.3);
  color: #fb7185;
}
.lock-btn:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(244, 63, 94, 0.5);
}
