/* ═══════════════════════════════════════════
   CALLBACK PAGE CSS
   Full-page centered form with logo above
═══════════════════════════════════════════ */

:root {
  --red:       #870000;
  --red-dark:  #5e0000;
  --dark:      #1a1a2e;
  --dark2:     #2d2d2d;
  --white:     #ffffff;
  --border:    #e0e0e0;
  --shadow-lg: 0 12px 48px rgba(0,0,0,.18);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 60%, #2a0a0a 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Milanesa Serif', Georgia, 'Times New Roman', serif;
}

/* ══════════════════════════════
   PAGE WRAPPER — vertically centers the card
══════════════════════════════ */
.cb-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px;
}

/* ══════════════════════════════
   FORM CARD
══════════════════════════════ */
.cb-form-card {
  background: var(--dark);
  border-radius: 20px;
  padding: 28px 40px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 620px;
  border: 1px solid rgba(255,255,255,.06);
}

/* ── Logo above form ── */
.cb-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.cb-logo img {
  height: 90px;
  width: auto;
}

.cb-form-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  text-align: center;
}
.cb-form-subtitle {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 16px;
  text-align: center;
}

/* ── Form Fields ── */
.cb-form {
  display: flex;
  flex-direction: column;
}
.cb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.cb-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.cb-form-group:last-of-type {
  margin-bottom: 0;
}
.cb-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #ccc;
  letter-spacing: .5px;
}
.cb-form-group input,
.cb-form-group select,
.cb-form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 9px 14px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  box-sizing: border-box;
}
.cb-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23aaaaaa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.cb-form-group textarea { height: auto; min-height: 80px; resize: vertical; padding-top: 10px; }
.cb-form-group input::placeholder {
  color: #555;
}
.cb-form-group input:focus,
.cb-form-group select:focus {
  border-color: var(--red);
  background: rgba(255,255,255,.09);
}
.cb-form-group select option {
  background: var(--dark2);
}

/* ── Submit Button ── */
.cb-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  margin-top: 15px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s, transform .2s, box-shadow .2s;
}
.cb-btn-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(135,0,0,.45);
}

/* ── Disclaimer ── */
.cb-form-disclaimer {
  font-size: 11.5px;
  color: #777;
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cb-form-disclaimer i {
  color: #4ade80;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 640px) {
  .cb-form-card { padding: 20px 22px; }
  .cb-form-card h3 { font-size: 22px; }
  .cb-logo img { height: 76px; }
}
@media (max-width: 500px) {
  .cb-form-row { grid-template-columns: 1fr; }
  .cb-form-card { padding: 18px 16px; }
}
