/* Generic Exit Card Styles - Fallback UI for unknown/unsupported platforms */
:root {
  --bg: #0f0f10;
  --card: #121316;
  --line: #1f232b;
  --text: #eaf0f6;
  --muted: #9aa3ad;
  --primary: #00B900; /* LINE green as primary */
  --primary-dark: #008800;
  --ok: #22c55e;
}

/* Card wrapper for proper centering */
.generic-card-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
}

@media screen and (max-width: 380px) {
  .generic-card-wrapper {
    padding: 0 12px;
  }
}

/* Card Container */
.generic-exit-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 600px) {
  .generic-exit-card {
    max-width: 100%;
    margin: 0;
    width: 100%;
    border-radius: 16px;
  }
}

@media screen and (max-width: 380px) {
  .generic-exit-card {
    max-width: 100%;
    margin: 0;
    width: 100%;
  }
}

/* Header */
.generic-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.generic-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0e0f12;
}

.generic-title {
  font-weight: 800;
  letter-spacing: .1px;
  color: var(--text);
  flex: 1;
}

.generic-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ok);
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.35);
  padding: 6px 8px;
  border-radius: 999px;
}

/* Body */
.generic-body {
  padding: 18px 16px 16px;
  background: var(--card);
}

.generic-h1 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  color: var(--text);
}

.generic-subtitle {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.generic-hint {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 10px;
}

/* Button */
.generic-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .2px;
  padding: 14px 18px;
  border: none;
  border-radius: 16px;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
  cursor: pointer;
}

.generic-button:hover {
  background: var(--primary-dark);
}

.generic-button:active {
  transform: translateY(1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}

/* Mobile button adjustments */
@media screen and (max-width: 600px) {
  .generic-button {
    font-size: 18px;
    padding: 12px 16px;
    border-radius: 14px;
  }
}

@media screen and (max-width: 380px) {
  .generic-button {
    font-size: 16px;
    padding: 10px 14px;
    gap: 8px;
  }
  
  .generic-h1 {
    font-size: 18px !important;
  }
  
  .generic-subtitle {
    font-size: 13px !important;
  }
  
  .generic-header {
    padding: 12px 14px !important;
  }
  
  .generic-body {
    padding: 16px 14px 14px !important;
  }
}

/* Meta */
.generic-meta {
  margin-top: 12px;
  color: #a7b0ba;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}