/* Root variables */
:root{
  --bg: #ffffff;
  --text: #111827;         /* slate-900-ish */
  --muted: #6b7280;        /* slate-500-ish */
  --border: #e5e7eb;       /* gray-200 */
  --primary: #0d6efd;      /* accessible blue */
  --primary-text: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
}

/* Global reset-ish */
* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

/* Layout */
.site-header{
  padding: 24px 16px 0;
  display: flex;
  justify-content: center;
}
.container{
  max-width: 820px;
  padding: 24px 16px 56px;
  margin: 0 auto;
}

/* Card */
.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 32px;
}
.card-title{
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Form */
.form-row{ margin-top: 16px; }
.form-label{
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.input{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input-lg{ font-size: 1.125rem; padding: 14px 16px; }
.input::placeholder{ color: #9ca3af; }
.input:focus{
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59,130,246,.15);
}

/* Buttons */
.btn{
  display: inline-block;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  text-align: center;
  transition: transform .02s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active{ transform: translateY(1px); }
.btn-lg{ padding: 14px 18px; font-size: 1.125rem; }
.btn-block{ width: 100%; }
.btn-primary{
  background: var(--primary);
  color: var(--primary-text);
  border-color: var(--primary);
}
.btn-primary:hover{ filter: brightness(0.95); }
.btn-primary:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(13,110,253,.25);
}

/* Helper text */
.help-text{
  margin-top: 10px;
  font-size: .875rem;
  color: var(--muted);
}

/* Content */
.content h2{
  margin: 0 0 8px;
  font-size: 1.5rem;
}
.content p{ margin: 0 0 12px; }
.muted{ color: var(--muted); }

/* Lists */
.list{
  list-style: none;
  padding-left: 0;
  margin: 12px 0 0;
}
.list-bordered{
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.list-item{
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.list-item:first-child{ border-top: 0; }
.list a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.list a:hover{ text-decoration-thickness: 2px; }

/* Responsive tweaks */
@media (min-width: 640px){
  .card{ padding: 28px; }
  .btn-lg{ font-size: 1.125rem; }
}

/* Alerts */
.alert {
  background-color: #fff8e6;
  border: 1px solid #ffe69c;
  color: #7a5900;
  padding: 12px 40px 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  position: relative;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
