/* ==========================================================================
   Design System & Modern Dark Trading Theme
   Reference Timezone: Hora de Bolivia (BOT / UTC-4)
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-main: #090d14;
  --bg-card: #111827;
  --bg-card-hover: #1f293d;
  --bg-card-glass: rgba(17, 24, 39, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-highlight: rgba(217, 119, 6, 0.3);
  
  /* Brand & Gold Colors */
  --gold-primary: #f59e0b;
  --gold-light: #fbbf24;
  --gold-dark: #b45309;
  --gold-glow: rgba(245, 158, 11, 0.25);

  /* Status Colors */
  --status-active: #10b981;
  --status-active-glow: rgba(16, 185, 129, 0.3);
  --status-paused: #ef4444;
  --status-paused-glow: rgba(239, 68, 68, 0.3);
  --status-warning: #f59e0b;
  --status-warning-glow: rgba(245, 158, 11, 0.3);
  --status-info: #3b82f6;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Spacing & Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.15);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 90px; /* Space for bottom nav */
  user-select: none;
  min-height: 100vh;
}

/* App Container */
.app-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Header & Bot Zone */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #000;
  box-shadow: 0 0 12px var(--gold-glow);
}

.brand-title h1 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.bot-clock-widget {
  text-align: right;
}

.bot-time {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
}

.bot-timezone {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Status Countdown Banner */
.status-banner {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 2px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-banner.active {
  border-color: var(--status-active);
  box-shadow: 0 0 25px var(--status-active-glow);
}

.status-banner.paused {
  border-color: var(--status-paused);
  box-shadow: 0 0 25px var(--status-paused-glow);
}

.status-banner.warning {
  border-color: var(--status-warning);
  box-shadow: 0 0 25px var(--status-warning-glow);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-pill.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--status-active);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pill.paused {
  background: rgba(239, 68, 68, 0.15);
  color: var(--status-paused);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-pill.warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--status-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-pill.closed {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.status-banner.closed {
  border-left: 4px solid #8b5cf6;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.9; }
}

.countdown-box {
  text-align: center;
  padding: 10px 0;
}

.countdown-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.countdown-digits {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.countdown-reason {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Quick Override Bar */
.quick-controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.override-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.override-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.switch-label {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch-label input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #374151;
  transition: .3s;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* Live XAU/USD & Spread Monitor */
.market-monitor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.metric-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.spread-meter-bar {
  height: 5px;
  background: #1f2937;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.spread-fill {
  height: 100%;
  width: 30%;
  background: var(--status-active);
  transition: width 0.4s ease, background-color 0.4s ease;
}

.spread-fill.warning {
  background: var(--status-warning);
}

.spread-fill.danger {
  background: var(--status-paused);
}

/* Section Cards & Tabs */
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.section-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-count {
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold-light);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* News Event List */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.2s, border-color 0.2s;
}

.event-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.event-card.high-impact {
  border-left: 4px solid var(--status-paused);
}

.event-card.medium-impact {
  border-left: 4px solid var(--status-warning);
}

.event-card.low-impact {
  border-left: 4px solid var(--status-active);
}

.event-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.currency-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 6px;
  background: #1f2937;
  color: var(--gold-light);
}

.event-info h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.event-window {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.event-right {
  text-align: right;
}

.event-time {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
}

.impact-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.impact-high { color: var(--status-paused); }
.impact-medium { color: var(--status-warning); }
.impact-low { color: var(--status-active); }

.clickable-impact {
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  user-select: none;
}

.clickable-impact:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

/* --- GROUPED EVENT CARDS BY TIME --- */
.time-group-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s;
}

.time-group-card.high-impact {
  border-left: 4px solid var(--status-paused);
}

.time-group-card.medium-impact {
  border-left: 4px solid var(--status-warning);
}

.time-group-card.low-impact {
  border-left: 4px solid var(--status-active);
}

.time-group-card.disabled {
  opacity: 0.55;
  filter: grayscale(0.4);
}

.time-group-card.past {
  opacity: 0.48;
  filter: grayscale(0.5);
  border-left-color: rgba(156, 163, 175, 0.4) !important;
  background: rgba(15, 23, 42, 0.5);
}

.time-group-card.past .time-group-header {
  background: rgba(15, 23, 42, 0.7);
}

.time-group-card.past .grouped-event-title {
  color: var(--text-muted);
}

.past-status-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.past-status-tag.executed {
  background: rgba(16, 185, 129, 0.18);
  color: var(--status-active);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.past-status-tag.skipped {
  background: rgba(107, 114, 128, 0.18);
  color: var(--text-muted);
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.time-group-header {
  background: rgba(31, 41, 55, 0.6);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 8px;
}

.time-group-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.time-group-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.alert-time-box {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.alert-time-input {
  font-size: 0.75rem !important;
  padding: 2px 4px !important;
  background: transparent !important;
  border: none !important;
  color: var(--gold-primary) !important;
  font-weight: 700;
  cursor: pointer;
}

.time-group-items {
  display: flex;
  flex-direction: column;
}

.grouped-event-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.grouped-event-item:last-child {
  border-bottom: none;
}

.grouped-event-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grouped-event-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- ACCORDION NOTICIAS SECUNDARIAS / INTRASCENDENTES --- */
.minor-events-accordion {
  margin-top: 14px;
  background: var(--card-bg);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.minor-events-toggle-btn {
  width: 100%;
  padding: 10px 14px;
  background: rgba(31, 41, 55, 0.4);
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.minor-events-toggle-btn:hover {
  background: rgba(31, 41, 55, 0.8);
  color: var(--text-primary);
}

.minor-count-badge {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-muted);
}

.accordion-arrow {
  transition: transform 0.3s;
}

.minor-events-accordion.open .accordion-arrow {
  transform: rotate(180deg);
}

.minor-events-content {
  padding: 10px 6px;
  border-top: 1px solid var(--border-color);
}

/* Protocol Market Schedule Cards */
.protocol-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.protocol-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
}

.protocol-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.protocol-time {
  font-family: var(--font-mono);
  color: var(--gold-light);
  font-weight: 600;
}

/* Action Buttons */
.btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  background: #059669;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #000;
  font-weight: 700;
}

/* Activity Log Table */
.activity-log {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
}

.log-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-primary);
}

.log-time {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.log-desc {
  color: var(--text-primary);
  font-weight: 500;
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 15, 23, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  width: 25%;
  transition: color 0.2s;
}

.nav-item.active {
  color: var(--gold-primary);
}

.nav-icon {
  font-size: 1.2rem;
}

/* Modal / Tabs Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Code Snippet Box */
.code-box {
  background: #05080e;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #e5e7eb;
  overflow-x: auto;
  white-space: pre-wrap;
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--gold-light);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
}

/* Accordion Tutorial Steps */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}

.step-num {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #000;
  font-weight: 800;
  text-align: center;
  line-height: 24px;
  font-size: 0.8rem;
  margin-right: 8px;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.step-body {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Responsive tweaks */
@media (max-width: 380px) {
  .countdown-digits {
    font-size: 1.8rem;
  }
  .app-container {
    padding: 8px 10px;
  }
}

/* Time Picker & Compact Event Controls */
.time-picker-input {
  background: #05080e;
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
}

.time-picker-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-glow);
}

.switch-sm {
  width: 40px;
  height: 22px;
}

.switch-sm .slider:before {
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 2px;
}

.switch-sm input:checked + .slider:before {
  transform: translateX(18px);
}

.event-card.disabled {
  opacity: 0.45;
  filter: grayscale(0.5);
}

.protocol-item.disabled {
  opacity: 0.45;
  filter: grayscale(0.5);
}

/* Past Events & Execution Badges */
.event-card.past {
  opacity: 0.55;
  filter: saturate(0.5);
  background: rgba(0, 0, 0, 0.25);
  border-left-style: dashed;
}

.past-status-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.past-status-tag.executed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--status-active);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* PIN Lock Screen Overlay */
.pin-lock-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(9, 13, 20, 0.96);
  backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pin-lock-overlay.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pin-lock-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color-highlight);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.15);
}

.pin-dots-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: transparent;
  transition: all 0.2s ease;
}

.pin-dot.filled {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 auto;
}

.pin-key {
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.pin-key:active {
  transform: scale(0.94);
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-primary);
}

.pin-key.action {
  font-size: 1rem;
  color: var(--gold-light);
}

.pin-lock-card.shake {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-10px); }
  40%, 80% { transform: translateX(10px); }
}



