body {
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  display: flex;
  min-height: 100vh;
  margin: 0;
}

.card {
  background: #fff;
  padding: 2.5rem 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 320px;
  text-align: center;
  margin: auto;
}

h1 {
  color: #222;
  margin-bottom: 0.5rem;
}

p.subtitle {
  color: #666;
  margin-bottom: 1.8rem;
}

.required-note {
  color: #666;
  font-size: 0.85rem;
  margin-top: -1.4rem;
  margin-bottom: 1.4rem;
  text-align: left;
}

.required-mark {
  color: #e64a19;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

fieldset:disabled {
  opacity: 0.5;
}

legend {
  width: 100%;
  font-size: 1.05rem;
  font-weight: bold;
  color: #e64a19;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e64a19;
  text-align: left;
}

.slide-group {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.slide-group.open {
  grid-template-rows: 1fr;
}

.slide-inner {
  overflow: hidden;
}

.section-note {
  color: #666;
  font-size: 0.85rem;
  margin-top: -0.6rem;
  margin-bottom: 1.2rem;
  text-align: left;
}

.section-note-error {
  color: #c62828;
  font-weight: bold;
}

.field-invalid {
  border-color: #c62828 !important;
  background: #fdecea;
}

label {
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 0.4rem;
  text-align: left;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  text-align: left;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: #e64a19;
}

.checkbox-group label {
  font-weight: normal;
  margin-bottom: 0;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  padding: 0.4rem;
  border: 1px solid transparent;
  border-radius: 4px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: normal;
  margin-bottom: 0;
}

.radio-group input[type="radio"] {
  accent-color: #e64a19;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="tel"],
select {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus,
select:focus {
  outline: none;
  border-color: #e64a19;
  box-shadow: 0 0 0 2px rgba(230, 74, 25, 0.2);
}

button,
.btn {
  display: block;
  width: 100%;
  padding: 0.7rem;
  background: #e64a19;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  margin-bottom: 0.8rem;
}

button:hover,
.btn:hover {
  background: #bf360c;
}

.btn-secondary {
  background: #fff;
  color: #e64a19;
  border: 1px solid #e64a19;
}

.btn-secondary:hover {
  background: #fbe9e7;
}

.footer-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.footer-text a {
  color: #e64a19;
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}
