/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* BODY */
body {
  background: #e6edf3;
  padding: 20px;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.logo {
  width: 90px;
}

.header-text {
  text-align: center;
}

.header-text h2 {
  font-size: 24px;
  font-weight: 600;
}

.header-text p {
  font-size: 14px;
  margin-top: 3px;
}

/* TITLE */
.form-title {
  text-align: center;
  margin: 20px 0;
  font-size: 20px;
  font-weight: 500;
}

/* FORM ROW (3 COLUMNS) */
.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 15px;
}

/* NOMINEE ROW (4 COLUMNS) */
.nominee-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 15px;
}

/* FORM GROUP */
.form-group {
  display: flex;
  flex-direction: column;
}

/* LABEL (ONLY NORMAL LABELS) */
.form-group label {
  font-size: 14px;
  margin-bottom: 5px;
  color: #222;
}

/* INPUT FIELDS */
input,
select,
textarea {
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: #f4f4f4;
  font-size: 14px;
  width: 100%;
}

/* TEXTAREA */
textarea {
  height: 90px;
  resize: none;
}

/* DATE */
input[type="date"] {
  width: 100%;
}

/* RADIO */
.radio-group {
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 10px 0;
}

/* PAYMENT BOX */
.payment-box {
  display: none;
  gap: 10px;
  margin-bottom: 15px;
}

.payment-box input {
  flex: 1;
}

/* TABLE */
.payment-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: #d9e3ea;
}

.payment-table th,
.payment-table td {
  border: 1px solid #333;
  padding: 10px;
  text-align: center;
  font-size: 14px;
}

.payment-table th {
  background: #c3d2dc;
  font-weight: 600;
}

/* TERMS */
.terms {
  margin-top: 15px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.terms li {
  margin-bottom: 10px;
}

/* ========================= */
/* ✅ DECLARATION FINAL FIX */
/* ========================= */

.declaration {
  margin-top: 30px;
}

/* HEADING */
.declaration h3 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
}

/* EACH LINE */
label.check-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  width: 100%;
}

/* CHECKBOX */
.check-line input {
  margin-top: 4px;
  width: auto;
}

/* FOOTER */
.footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

/* BUTTON */
.submit-btn {
  display: block;
  margin: 30px auto 0;
  padding: 10px 30px;
  background: #5aa0e6;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
}

.submit-btn:hover {
  background: #3f87cc;
}