/* ══ FORM FIELDS ══ */
.field {
  margin-bottom: var(--space-3);
}

.field label {
  display: block;
  font-family: var(--label);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: var(--space-1);
}

input[type="email"],
input[type="text"],
input[type="password"],
input[type="number"],
select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--linen);
  border: 1px solid rgba(46, 32, 16, 0.15);
  color: var(--void);
  font-family: var(--body);
  font-size: 1rem;
  outline: none;
  border-radius: var(--radius);
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
input:focus,
select:focus {
  border-color: var(--gold);
}
input::placeholder {
  color: var(--ash);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c4864a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

/* Dark form variant — sign-in, sales-page purchase forms */
.dark-form input,
.dark-form select {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-dark);
  color: var(--cream);
}
.dark-form input::placeholder {
  color: var(--ash);
}
.dark-form input:focus,
.dark-form select:focus {
  border-color: var(--gold-line);
}
.dark-form label {
  color: var(--ash);
}

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--label);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s;
  min-height: 44px;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.btn-block {
  width: 100%;
}

.btn-gold {
  background: var(--gold);
  color: var(--void);
  font-size: 0.65rem;
  padding: 0.85rem 2.5rem;
}
.btn-gold:hover {
  background: var(--gold2);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  font-size: 0.62rem;
  padding: 0.8rem 2rem;
}
.btn-outline-gold:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.btn-ghost {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--label);
  font-weight: 300;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: unset;
  transition: gap 0.3s, color 0.3s;
}
.btn-ghost:hover {
  gap: 1rem;
  color: var(--gold2);
}

/* ══ NOTICES / ERRORS ══ */
.notice {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ash);
  margin-top: var(--space-2);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.error {
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding-left: var(--space-2);
  margin: var(--space-2) 0;
  display: none;
}
.error.visible {
  display: block;
  animation: shake 0.4s ease;
}

/* ══ COURSE LIST — no card boxes, separator lines only ══ */
.course-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
a.course-item,
.course-item {
  display: block;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(46, 32, 16, 0.1);
  text-decoration: none;
}
.course-list > li:last-child .course-item,
.course-list > :last-child {
  border-bottom: none;
}
.course-item h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--void);
  margin-bottom: var(--space-1);
  transition: color 0.3s;
}
a.course-item:hover h2 {
  color: var(--gold2);
}
.course-item p {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ash);
  margin: 0 0 var(--space-2);
}
.course-item .btn {
  margin-top: var(--space-1);
}

/* ══ SESSION / MODULE LIST ══ */
.session-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.session-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(46, 32, 16, 0.1);
  transition: padding-left 0.3s;
}
.session-list li:hover {
  padding-left: var(--space-1);
}
.session-list li a {
  flex: 1;
  font-family: var(--label);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--void);
}
.session-list li a:hover {
  color: var(--gold);
}
.session-list li .notice {
  margin-top: 0;
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  flex-shrink: 0;
}
.dot.complete {
  background: var(--gold);
}
