@import url("https://fonts.googleapis.com/css?family=Quicksand:300,600,700,300i,600i,700i");

:root {
  /* Match Wendy StoryTeller brand colors — tweak to exact hex if needed */
  --ws-primary: #7928ca;     /* example deep violet */
  --ws-primary-600: #6c23b8;
  --ws-accent: #ff4d4d;      /* example accent red / coral */
  --ws-bg-top: #f7da37;      /* dark purples/black mix */
  --ws-bg-bottom: #982aec;
  --ws-card: rgba(255, 255, 255, 0.05);
  --ws-text: #101011;
  --ws-muted: #3f3f3f;
  --ws-border: lab(43.91% 0.91 -40.52 / 0.425);
  --ws-danger: #ff5b5b;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  color: #000000;
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.0375em;
  line-height: 2;
  color: var(--ws-text);
  background-image: linear-gradient(140deg, #fc9cac, #fcce9d, #f4ffa3, #acfadc) !important;
}

.ws-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 24px;
}

.ws-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 100;
}

.ws-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws-logo, h1 {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #216cac !important;
  font-weight: 700;
  font-size: 22px;
}

h3 a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #216cac !important;
  font-weight: 700;
  font-size: 18px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-accent));
  margin-right: 10px;
  font-size: 24px;
  color: white;
}

.ws-nav .ws-link {
  color: var(--ws-muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
}

.ws-nav .ws-link:hover {
  color: var(--ws-text);
}

.ws-main {
  padding: 48px 0;
  padding-top: 0px !important;
}

.card {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.card-hero {
  padding: 40px 32px 0;
}

.title {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.2;
}

.subtitle {
  margin: 0 0 24px;
  color: var(--ws-muted);
  font-size: 17px;
}

.form {
  padding: 32px 40px;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ws-text);
}

input[type="text"],
input[type="email"],
select,
textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ws-border);
  color: var(--ws-text);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ws-primary);
}

.hint {
  font-size: 12px;
  color: var(--ws-muted);
  margin-top: 6px;
}

.error {
  color: var(--ws-danger);
  font-size: 12px;
  margin-top: 6px;
  min-height: 14px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.btn {
  appearance: none;
  border: none;
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-accent));
  padding: 14px 22px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.08);
}

.status {
  margin-top: 16px;
  color: var(--ws-muted);
  font-size: 15px;
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  opacity: 0;
}

.ws-footer {
  padding: 32px 0;
  text-align: center;
  color: var(--ws-text);
  font-size: 18px;
  font-weight: 600;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .form {
    padding: 24px;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}
