/* ==========================================
   EUROJACKPOT PWA - STYLESHEET
   Farbpalette exakt aus der Android App
   ========================================== */

:root {
  --color-bg:        #595959;
  --color-card-dark: #424242;
  --color-yellow:    #F6D717;
  --color-text-dark: #333333;
  --color-green:     #4CAF50;
  --color-red:       #D32F2F;
  --color-white:     #FFFFFF;
  --color-gray:      #9E9E9E;
  --color-light-gray:#BDBDBD;
  --radius:          12px;
  --radius-sm:       8px;
  --shadow:          0 2px 8px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-white);
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

/* ==========================================
   APP SHELL
   ========================================== */

#app {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* ==========================================
   TOP APP BAR
   ========================================== */

.top-bar {
  background: var(--color-bg);
  display: flex;
  align-items: center;
  padding: 0 8px;
  height: 56px;
  gap: 4px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar-title {
  flex: 1;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 0;
}

/* ==========================================
   ICON BUTTONS
   ========================================== */

.icon-btn {
  background: none;
  border: none;
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.icon-btn:hover { background: rgba(255,255,255,0.15); }
.icon-btn:active { background: rgba(255,255,255,0.25); }
.icon-btn.yellow { color: var(--color-yellow); }
.icon-btn.gray { color: var(--color-gray); }
.icon-btn.red { color: var(--color-red); }
.icon-btn.green { color: var(--color-green); }

/* ==========================================
   SCREENS
   ========================================== */

.screen {
  display: none;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.screen.active { display: flex; }

.screen-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================
   SPLASH SCREEN
   ========================================== */

#screen-splash {
  background: var(--color-bg);
  justify-content: center;
  align-items: center;
  height: 100dvh;
  animation: splashFade 0.4s ease;
}

@keyframes splashFade { from { opacity: 0; } to { opacity: 1; } }

.splash-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--color-yellow);
  background: var(--color-card-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  animation: splashBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 24px;
}

@keyframes splashBounce {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.splash-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-yellow);
  text-align: center;
  animation: splashBounce 0.8s 0.1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ==========================================
   CARDS
   ========================================== */

.card {
  background: var(--color-card-dark);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.card.clickable { cursor: pointer; transition: transform 0.1s, background 0.15s; }
.card.clickable:hover { background: #4a4a4a; }
.card.clickable:active { transform: scale(0.98); }

.card.win-border { border: 2px solid var(--color-yellow); }
.card.yellow-card { background: var(--color-yellow); color: var(--color-text-dark); }
.card.light-card { background: #e0e0e0; color: var(--color-text-dark); }

/* ==========================================
   MONTH GRID
   ========================================== */

.month-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.month-card {
  background: var(--color-card-dark);
  border-radius: var(--radius);
  padding: 12px;
  aspect-ratio: 1.2;
  display: grid;
  grid-template-areas:
    "name count"
    "trophy cost"
    "trophy cost";
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.1s;
}

.month-card:active { transform: scale(0.97); }
.month-card.win-border { border: 3px solid var(--color-yellow); }

.month-card-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-yellow);
  align-self: start;
}

.month-card-count {
  text-align: right;
  align-self: start;
}

.month-card-count .big { font-size: 1.4rem; font-weight: 700; color: var(--color-white); line-height: 1; }
.month-card-count .label { font-size: 0.65rem; color: var(--color-gray); }

.month-card-trophy {
  align-self: end;
  font-size: 1.5rem;
}

.month-card-cost {
  align-self: end;
  text-align: right;
}

.month-card-cost .cost-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
}

.month-card-cost .edit-cost-btn {
  background: none;
  border: none;
  color: var(--color-gray);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* ==========================================
   DATE GRID
   ========================================== */

.date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.date-card {
  background: var(--color-card-dark);
  border-radius: var(--radius);
  padding: 12px;
  aspect-ratio: 1.2;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.1s;
  overflow: hidden;
}

.date-card:active { transform: scale(0.97); }
.date-card.win-border { border: 2px solid var(--color-yellow); }

.date-card-weekday {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--color-yellow);
}

.date-card-day {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.date-card-participants {
  text-align: right;
  position: absolute;
  top: 12px;
  right: 12px;
}

.date-card-participants .big { font-size: 1.3rem; font-weight: 700; color: var(--color-white); line-height: 1; }
.date-card-participants .label { font-size: 0.65rem; color: var(--color-gray); }

.date-card-cost { font-size: 1rem; font-weight: 700; color: var(--color-white); }
.date-card-trophy { font-size: 1.3rem; }

/* ==========================================
   NUMBER BUBBLES
   ========================================== */

.bubbles-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bubble.main { background: rgba(80,80,80,0.7); color: var(--color-white); }
.bubble.euro { background: rgba(214,162,10,0.6); color: var(--color-white); }
.bubble.hit  { background: var(--color-green); color: var(--color-white); }

.bubble-sep { color: var(--color-white); font-weight: 700; font-size: 0.9rem; padding: 0 2px; }

/* ==========================================
   TIP ROWS
   ========================================== */

.tip-card {
  background: var(--color-card-dark);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tip-info { flex: 1; min-width: 0; }

.tip-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.tip-name { font-weight: 700; font-size: 1rem; color: var(--color-white); }
.tip-cost { font-size: 0.75rem; color: #FF8A80; }
.tip-balance-warn { font-size: 0.7rem; color: #FF8A80; font-weight: 700; }

.tip-actions { display: flex; gap: 0; }

/* ==========================================
   NUMBER INPUT ROW
   ========================================== */

.num-input-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.num-input {
  flex: 1;
  aspect-ratio: 1;
  border: 1.5px solid var(--color-gray);
  border-radius: 8px;
  background: transparent;
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  outline: none;
  max-width: 52px;
  transition: border-color 0.15s;
}

.num-input:focus { border-color: var(--color-yellow); }
.num-input.euro-input { border-color: #E6AC00; }

.input-label {
  font-size: 0.75rem;
  color: var(--color-gray);
  margin-bottom: 4px;
  display: block;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  transition: opacity 0.15s, transform 0.1s;
}

.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; }

.btn-yellow { background: var(--color-yellow); color: var(--color-text-dark); }
.btn-green  { background: var(--color-green);  color: var(--color-white); }
.btn-red    { background: var(--color-red);    color: var(--color-white); }
.btn-gray   { background: #616161; color: var(--color-white); }
.btn-teal   { background: #00796B; color: var(--color-white); }
.btn-orange { background: #E65100; color: var(--color-white); }
.btn-blue   { background: #1565C0; color: var(--color-white); }
.btn-full   { width: 100%; }

/* ==========================================
   FAB
   ========================================== */

.fab {
  position: fixed;
  bottom: 20px;
  right: calc(50% - 300px + 20px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-text-dark);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  transition: transform 0.15s, box-shadow 0.15s;
}

.fab:hover { transform: scale(1.08); box-shadow: 0 6px 16px rgba(0,0,0,0.5); }
.fab:active { transform: scale(0.95); }

@media (max-width: 600px) {
  .fab { right: 20px; }
}

/* ==========================================
   MODAL / DIALOG
   ========================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
  animation: overlayIn 0.2s ease;
}

@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }

.modal-overlay.center { align-items: center; }

.modal {
  background: var(--color-card-dark);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90dvh;
  overflow-y: auto;
  animation: modalSlideUp 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.modal.center-modal {
  border-radius: var(--radius);
  margin: 16px;
  animation: modalZoom 0.2s ease;
}

@keyframes modalSlideUp { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes modalZoom    { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: flex-end;
}

/* ==========================================
   FORM FIELDS
   ========================================== */

.field-group {
  margin-bottom: 16px;
}

.field-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-bottom: 4px;
}

.input-field {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--color-gray);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--color-white);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s;
}

.input-field:focus { border-color: var(--color-yellow); }

select.input-field option { background: var(--color-card-dark); color: var(--color-white); }

/* ==========================================
   WIN INFO BANNER
   ========================================== */

.win-banner {
  background: var(--color-card-dark);
  border: 1.5px solid var(--color-yellow);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.win-trophy { font-size: 3rem; }

.win-text-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-yellow);
  letter-spacing: 0.05em;
}

.win-text-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.2;
}

.win-text-per-person {
  font-size: 0.85rem;
  color: var(--color-gray);
}

/* ==========================================
   SECTION HEADER
   ========================================== */

.section-header {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 16px 0 10px;
}

/* ==========================================
   PLAYER LIST
   ========================================== */

.player-card {
  background: var(--color-card-dark);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.player-info { flex: 1; min-width: 0; }
.player-name { font-weight: 700; font-size: 1rem; color: var(--color-white); }
.player-balance { font-size: 0.9rem; font-weight: 700; }
.player-balance.positive { color: var(--color-green); }
.player-balance.negative { color: var(--color-red); }
.player-win-share { font-size: 0.75rem; color: var(--color-yellow); font-weight: 700; }
.player-actions { display: flex; gap: 0; align-items: center; }

/* ==========================================
   TRANSACTION HISTORY
   ========================================== */

.month-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.month-group-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-yellow);
}

.tx-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  background: var(--color-card-dark);
  border-radius: 8px;
  margin: 4px 0;
}

.tx-icon { font-size: 1.2rem; width: 28px; flex-shrink: 0; }
.tx-info { flex: 1; min-width: 0; }
.tx-method { font-size: 0.9rem; color: var(--color-white); }
.tx-date   { font-size: 0.7rem; color: var(--color-light-gray); }
.tx-amount { font-size: 0.95rem; font-weight: 700; }
.tx-amount.positive { color: var(--color-green); }
.tx-amount.negative { color: #FF5252; }

/* ==========================================
   STATISTICS
   ========================================== */

.stat-card-white { background: #e0e0e0; border-radius: var(--radius); padding: 16px; margin-bottom: 12px; color: var(--color-text-dark); }

.rank-card {
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-card.first  { background: var(--color-yellow); color: var(--color-text-dark); }
.rank-card.others { background: var(--color-card-dark); color: var(--color-white); }

.rank-num {
  font-size: 1.5rem;
  font-weight: 900;
  width: 44px;
  flex-shrink: 0;
}

.rank-num.first  { color: var(--color-bg); }
.rank-num.others { color: var(--color-yellow); }

.rank-hits {
  font-size: 2rem;
  font-weight: 900;
  text-align: right;
}

.year-finance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #555;
}

/* ==========================================
   CONTRIBUTION DIALOG
   ========================================== */

.tab-bar {
  display: flex;
  background: #333;
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 16px;
}

.tab-btn {
  flex: 1;
  border: none;
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
  background: transparent;
  color: var(--color-gray);
}

.tab-btn.active { background: var(--color-yellow); color: var(--color-text-dark); }

/* ==========================================
   WINNER INPUT CARD
   ========================================== */

.winner-input-card {
  background: var(--color-card-dark);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}

/* ==========================================
   UTILITY
   ========================================== */

.divider { height: 1px; background: rgba(255,255,255,0.2); margin: 12px 0; }

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

.text-yellow { color: var(--color-yellow); }
.text-green  { color: var(--color-green); }
.text-red    { color: var(--color-red); }
.text-gray   { color: var(--color-gray); }
.text-white  { color: var(--color-white); }
.text-dark   { color: var(--color-text-dark); }

.text-sm  { font-size: 0.8rem; }
.text-lg  { font-size: 1.2rem; }
.text-xl  { font-size: 1.5rem; }
.text-2xl { font-size: 2rem; }

.fw-bold  { font-weight: 700; }
.fw-black { font-weight: 900; }

.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }

.spacer { flex: 1; }

.hidden { display: none !important; }

/* Gewinntopf Karte */
.pot-card {
  background: var(--color-yellow);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(246,215,23,0.3);
}

.pot-card-label { font-size: 0.75rem; font-weight: 700; color: var(--color-text-dark); letter-spacing: 0.05em; }
.pot-card-amount { font-size: 2.2rem; font-weight: 900; color: var(--color-text-dark); }

/* Date-picker styled text */
.date-display-field {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--color-gray);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--color-white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.date-display-field:hover { border-color: var(--color-yellow); }

/* Scroll spacer for FAB */
.fab-spacer { height: 80px; }

/* Badges */
.badge {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-text-dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}

/* Date-list in deposit dialog */
.date-list-box {
  border: 1px solid var(--color-gray);
  border-radius: 8px;
  max-height: 140px;
  overflow-y: auto;
  padding: 4px;
}

.date-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid #555;
  font-size: 0.9rem;
  color: var(--color-white);
}

.date-list-item:last-child { border-bottom: none; }

/* Warning card */
.warn-card {
  background: #FFE0B2;
  border: 1px solid #F57C00;
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

/* Export button row */
.export-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.export-row .btn {
  flex: 1;
  min-width: 60px;
  font-size: 0.8rem;
  padding: 10px 8px;
}

/* ==========================================
   LOCK / PIN SCREEN
   ========================================== */

#lock-screen {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  gap: 0;
}

#lock-screen.hidden { display: none; }

.lock-logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid var(--color-yellow);
  background: var(--color-card-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin-bottom: 18px;
  overflow: hidden;
  animation: splashBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lock-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.lock-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--color-yellow);
  margin-bottom: 6px;
}

.lock-subtitle {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 28px;
  text-align: center;
}

.pin-dots {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
}

.pin-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-gray);
  background: transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.pin-dot.filled {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  transform: scale(1.15);
}

.lock-error {
  font-size: 0.85rem;
  color: var(--color-red);
  font-weight: 700;
  min-height: 22px;
  margin-bottom: 10px;
  text-align: center;
  animation: pinShake 0.4s ease;
}

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

.pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 76px);
  gap: 14px;
  margin-top: 6px;
}

.pin-key {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  background: var(--color-card-dark);
  color: var(--color-white);
  font-size: 1.55rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.pin-key:hover  { background: #4e4e4e; }
.pin-key:active { background: rgba(246,215,23,0.25); transform: scale(0.92); }

.pin-key-empty {
  background: transparent;
  border-color: transparent;
  cursor: default;
  pointer-events: none;
}

.pin-key-del { font-size: 1.3rem; color: var(--color-gray); }

.lock-or {
  color: var(--color-gray);
  font-size: 0.85rem;
  margin-top: 20px;
}

.biometric-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--color-card-dark);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  color: var(--color-white);
  padding: 16px 32px;
  margin-top: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.biometric-btn:hover  { background: #4e4e4e; }
.biometric-btn:active { transform: scale(0.95); }
.biometric-btn svg    { color: var(--color-yellow); }

/* Context menu */
.ctx-menu {
  position: absolute;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 500;
  overflow: hidden;
  min-width: 140px;
}

.ctx-menu-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ctx-menu-item:hover { background: #f0f0f0; }
.ctx-menu-item.danger { color: var(--color-red); }
