/* assets/css/style.css */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 0;
  color: #111;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

h1, h2, h3 {
  margin-top: 0;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  box-sizing: border-box;,
  margin:10px 0px;
}

textarea {
  min-height: 90px;
}

button, .btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
}

button.secondary, .btn.secondary {
  background: #e0e0e0;
  color: #111;
}

button:disabled {
  opacity: 0.5;
  cursor: default;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
}

.step-indicator {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.step-indicator div {
  flex: 1;
  text-align: center;
  padding: 0.35rem 0.4rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #eee;
}

.step-indicator .active {
  background: #111;
  color: #fff;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.flex {
  display: flex;
  gap: 1rem;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .flex {
	flex-direction: column;
  }
}

.scope-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.scope-list li {
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.payment-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.payment-row input {
  flex: 1;
}

.info {
  font-size: 0.8rem;
  color: #555;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.alert.error {
  background: #ffe3e3;
  color: #b00020;
}

.alert.success {
  background: #e3ffe8;
  color: #006b1b;
}

.pill-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.pill {
	padding: 0.35rem 0.75rem;
	border-radius: 20px;
	background: #eee;
	cursor: pointer;
	font-size: 0.85rem;
	border: 1px solid #ccc;
	transition: 0.2s;
}

.pill.selected {
	background: #111;
	color: white;
	border-color: #111;
}

#ff-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;        /* changed from -1 */
}


/* MODAL OVERLAY */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
}

/* MODAL */
.modal {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.2);
  animation: fadeIn 0.25s ease-in-out;
}

/* CODE BOXES */
.code-boxes {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  gap: 10px;
}

.code-input {
  width: 48px;
  height: 55px;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  border: 2px solid #ccc;
}

.code-input:focus {
  outline: none;
  border-color: #0a7cff;
}

/* Full-width button */
.btn.full, .secondary.full {
  width: 100%;
}

#loginEmail
{
  margin:10px 0px;
}