:root {
  --bg: #f7f9fc;
  --text: #333;
  --card: #ffffff;
  --blue: #0078d7;
  --border: #ccc;
  --input-focus: #007bff;
  --shadow: rgba(0, 0, 0, 0.05);
}

body.dark-mode {
  --bg: #1e1e1e;
  --text: #eaeaea;
  --card: #2c2c2c;
  --border: #444;
  --shadow: rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  transition: 0.3s ease;
}

.container {
  max-width: 1300px;
  margin: auto;
}

.navbar {
  background-color: #333;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 2px;
}

.highlight {
  color: #f05a28;
}

.nav-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.return-link {
  color: #00aaff;
  text-decoration: none;
  font-size: 14px;
}

.dark-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.main-content {
  display: flex;
  gap: 40px;
  padding: 40px 20px;
}

.form {
  flex: 2;
}

.section {
  background-color: var(--card);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px var(--shadow);
}

.section h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text);
}

.subtitle {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

input,
select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.3s;
  background-color: transparent;
  color: var(--text);
}

input:focus,
select:focus {
  border-color: var(--input-focus);
  outline: none;
}

.row {
  display: flex;
  gap: 20px;
}

.field {
  flex: 1;
}

.help-section {
  flex: 1;
  background-color: var(--blue);
  color: white;
  padding: 30px;
  border-radius: 12px;
}

.help-section h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.help-section p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.help-section small {
  font-size: 13px;
  display: block;
}

.submit-btn {
  padding: 14px 24px;
  background-color: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #005bb5;
}

.success-msg {
  margin-top: 15px;
  font-size: 16px;
  color: green;
  font-weight: 500;
}

.hidden {
  display: none;
}
