:root {
  --accent: #5b7cfa;
  --accent-d: #4968e3;
  --bg-body: #f6f8fb;
  --bg-card: #fff;
  --bg-light: #f9f9fb;
  --border: #e1e5ee;
  --text: #333;
  --radius: 8px;
  --font: "Inter", Arial, sans-serif;
}

/* reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: var(--font);
  color: var(--text);
}
body {
  margin: 0;
  background: var(--bg-body);
  display: flex;
  justify-content: center;
}

/* card */
.container {
  max-width: 640px;
  width: 92%;
  margin: 48px 0;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 14px rgb(0 0 0/0.04);
}

/* headings */
h1 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
}
h2.question {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
}
p {
  margin: 0.75rem 0;
}

/* vertical option groups */
.options-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.options-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background 0.15s,
    border 0.15s;
}
.options-group label:hover {
  background: #eef0f8;
  border-color: #d0d5e5;
}
.options-group input {
  accent-color: var(--accent);
}
.options-group input:checked + span {
  font-weight: 600;
  color: var(--accent);
}

/* text & email inputs */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  background: var(--bg-light);
}
input:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  background: #fff;
}

/* inline new-skill controls */
.new-skill-section {
  display: flex;
  gap: 0.7rem;
  margin: 0.9rem 0 1.4rem;
}

/* verification box */
.verification-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.3rem;
}
.verification-box h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
}
.verification-box textarea {
  height: 130px;
  width: 100%;
  resize: vertical;
}

/* saved methods list */
#methods-list {
  padding-left: 1.1rem;
  margin: 0.4rem 0 1.6rem;
}
#methods-list li {
  margin-bottom: 0.28rem;
}

/* submit button */
#submit-btn {
  display: block;
  margin: 2rem auto 0;
  padding: 0.9rem 2.6rem;
  font-size: 1.1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
}
#submit-btn:hover {
  background: var(--accent-d);
}

.skill-item button.remove-skill {
  margin-left: auto;
  background: #e74c3c;
  border: none;
  color: white;
  padding: 2px 6px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}
.skill-item:hover button.remove-skill {
  display: inline;
}
