
/* Redesigned mobile-first theme */
:root {
  --app-bg: #f0f4ff;
  --card-bg: #ffffff;
  --brand: #4f46e5;
  --brand-secondary: #06b6d4;
  --text-color: #1e293b;
  --muted: #64748b;
}

* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
  color: var(--text-color);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.brand-bar img {
  max-height: 60px;
  height: auto;
  object-fit: contain;
}

.app-shell {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}

.card-app {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  animation: fadeIn .6s ease;
}

.card-app .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.progress-thin {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.progress-thin .bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-secondary));
  transition: width .4s ease;
}

.btn-pill {
  border-radius: 999px !important;
  padding: 12px 18px;
  font-weight: 600;
  letter-spacing: .3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-secondary));
  color: #fff;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.field-help {
  color: var(--muted);
  font-size: .9rem;
}

/* Offer listing cards */
.offer-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.offer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-apply {
  min-width: 110px;
  text-align: center;
}

.bottom-safe {
  height: 24px;
}

label.required:after {
  content: " *";
  color: #dc2626;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}