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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f5f5;
  color: #333;
  padding: 16px;
  max-width: 600px;
  margin: 0 auto;
}

h1 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #1a1a1a;
}

h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #444;
}

.warning {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #856404;
  line-height: 1.4;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deeplink-btn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: #0070f3;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.deeplink-btn:active {
  background: #005bb5;
}

/* Admin page styles */
.admin-form {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus {
  outline: none;
  border-color: #0070f3;
  box-shadow: 0 0 0 2px rgba(0,112,243,0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.generated-url {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.url-display {
  background: #f0f0f0;
  border-radius: 8px;
  padding: 12px;
  word-break: break-all;
  font-family: monospace;
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.copy-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #0070f3;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.copy-btn:active,
.copy-btn:hover {
  background: #005bb5;
}

.copy-btn.copied {
  background: #22c55e;
}

.preview-section {
  margin-top: 20px;
}

/* Landing page */
.landing-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.landing-link {
  display: block;
  padding: 16px 20px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s;
}

.landing-link:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.landing-link small {
  display: block;
  color: #888;
  font-weight: 400;
  margin-top: 4px;
  font-size: 0.85rem;
}
