/* bukaOlshop developer registration — shared styles */
:root {
  --bg: #46326e;
  --card: #ffffff;
  --field: #e9ecff;
  --field-focus: #dfe3ff;
  --primary: #5468d6;
  --primary-hover: #4658c4;
  --text: #2f2f37;
  --muted: #8a8a96;
  --link: #5468d6;
  --border: #e3e3ea;
  --ok: #2f9e6f;
  --err: #d64545;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 16px 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.brand img { width: 100%; height: 66px; border-radius: 14px; }
.brand span { color: #fff; font-size: 30px; font-weight: 700; letter-spacing: .5px; }

.card {
  background: var(--card);
  width: 100%;
  max-width: 620px;
  border-radius: 22px;
  padding: 40px 44px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.card.wide { max-width: 760px; }

.card h1 {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 8px;
}
.card .subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 28px;
}

label.field-label {
  display: block;
  font-size: 17px;
  font-weight: 500;
  margin: 18px 0 8px;
}
.optional { color: var(--muted); font-weight: 400; font-size: 14px; }

input[type=text],
input[type=email],
input[type=password],
input[type=tel],
input[type=url] {
  width: 100%;
  border: none;
  background: var(--field);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  outline: none;
}
input:focus { background: var(--field-focus); box-shadow: 0 0 0 2px rgba(84,104,214,.25); }
.hint { font-size: 13px; color: var(--muted); margin: 6px 2px 0; }

.pw-wrap { position: relative; }
.pw-wrap .toggle {
  position: absolute;
  right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--link); font-weight: 600; font-size: 15px;
  background: none; border: none; cursor: pointer;
}

.btn {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 999px;
  padding: 17px;
  margin-top: 26px;
  text-align: center;
  transition: background .15s;
}
.btn:hover { background: var(--primary-hover); }
.btn:disabled { background: #b9c0ee; cursor: not-allowed; }
.btn.secondary {
  background: transparent; color: var(--link);
  border: 2px solid var(--field); padding: 15px;
}
.btn.secondary:hover { background: var(--field); }

a.plain { color: var(--link); text-decoration: none; font-weight: 500; }
a.plain:hover { text-decoration: underline; }

/* Account-type choice cards */
.choice-grid { display: grid; gap: 18px; margin-top: 8px; }
.choice {
  display: block;
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 24px 24px 26px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.choice:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(84,104,214,.15);
}
.choice .ctitle { font-size: 22px; font-weight: 700; margin: 0 0 8px; display:flex; align-items:center; gap:10px; }
.choice .cdesc { color: #5d5d68; font-size: 15px; line-height: 1.55; margin: 0; }
.choice .badge {
  font-size: 12px; font-weight: 600; color: var(--primary);
  background: var(--field); padding: 4px 10px; border-radius: 999px;
}

/* Terms sections */
.terms-section { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.terms-section h3 { margin: 0 0 10px; font-size: 17px; }
.terms-section p { margin: 0 0 14px; color: #5d5d68; font-size: 14px; line-height: 1.6; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }

/* Stepper */
.stepper { display: flex; justify-content: center; gap: 8px; margin: -8px 0 26px; }
.stepper .dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  background: var(--field); color: var(--muted);
}
.stepper .dot.active { background: var(--primary); color: #fff; }
.stepper .dot.done { background: var(--ok); color: #fff; }
.stepper .bar { flex: 0 0 26px; height: 2px; align-self: center; background: var(--border); }

/* Alerts */
.alert { border-radius: 12px; padding: 14px 16px; font-size: 14px; margin-bottom: 18px; }
.alert.error { background: #fdecec; color: var(--err); border: 1px solid #f6caca; }
.alert.warning { background: #fff3cd; color: #614d13; border: 1px solid #ffe69c;margin-top: 10px}
.alert.success { background: #eafaf2; color: var(--ok); border: 1px solid #c9eedb; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* File upload — example toggle */
.upload-head { display: flex; align-items: center; justify-content: space-between; }
.upload-desc { color: #5d5d68; font-size: 14px; margin: 6px 0 14px; line-height: 1.55; }
.example-toggle {
  background: var(--field); color: var(--link); border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; transition: background .15s;
}
.example-toggle:hover { background: var(--field-focus); }
.example-box {
  border: 1px solid var(--border); border-radius: 14px; padding: 14px;
  margin-bottom: 16px; background: #f6f7ff;
}
.example-box img { display: block; width: 100%; border-radius: 10px; }

/* Drag & drop dropzone */
.dropzone {
  display: block; cursor: pointer; text-align: center;
  border: 2px dashed #c3c8e8; border-radius: 16px;
  padding: 30px 20px; background: #f6f7ff;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.dropzone:hover { border-color: var(--primary); background: #eef0ff; }
.dropzone.dragover {
  border-color: var(--primary); background: #e6eaff;
  box-shadow: 0 0 0 4px rgba(84,104,214,.12);
}
.dz-icon { width: 44px; height: 44px; color: var(--primary); margin-bottom: 8px; }
.dz-title { font-size: 16px; font-weight: 600; }
.dz-sub { font-size: 14px; color: #5d5d68; margin-top: 4px; }
.dz-browse { color: var(--link); font-weight: 600; text-decoration: underline; }
.dz-preview { display: flex; align-items: center; gap: 16px; text-align: left; }
.dz-preview img {
  width: 110px; height: 80px; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--border); flex: 0 0 auto;
}
.dz-meta { min-width: 0; }
.dz-name {
  display: block; font-size: 14px; font-weight: 500; color: var(--text);
  word-break: break-all; margin-bottom: 6px;
}
.dz-remove {
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--err); font-family: inherit; font-size: 14px; font-weight: 600;
}
.dz-remove:hover { text-decoration: underline; }

/* Payment iframe */
.payment-frame {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: #f6f7ff;
}
.payment-frame iframe {
  display: block; width: 100%; height: 640px; border: none;
}
.payment-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; min-height: 360px; text-align: center; color: #5d5d68; font-size: 16px;
}
.payment-placeholder code {
  background: var(--field); padding: 2px 6px; border-radius: 6px; font-size: 13px;
}

/* Confirmation */
.confirm-icon {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%;
  background: #eafaf2; display: flex; align-items: center; justify-content: center;
}
.confirm-icon svg { width: 46px; height: 46px; }
.confirm-box { text-align: center; }
.confirm-box p { color: #5d5d68; font-size: 16px; line-height: 1.65; }
.note { background: var(--field); border-radius: 14px; padding: 18px 20px; font-size: 14px; color: #4a4a55; line-height: 1.6; }
