/* Potential Client Information Form styling */
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);

:root {
  --bg: #11131a;
  --paper: #ffffff;
  --border: rgba(79, 111, 173, 0.22);
  --text: #1f2d4d;
  --muted: #6f7b9c;
  --blue: #4f6fad;
  --surface: #f8fbff;
  --panel: rgba(12, 16, 24, 0.88);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Questrial", sans-serif;
  font-size: 16px;
  color: var(--text);
  background: url("/Pattern.png") center/cover no-repeat fixed;
  background-color: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 12, 20, 0.28),
    rgba(9, 12, 20, 0.6)
  );
  pointer-events: none;
}

* {
  box-sizing: border-box;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px 0 40px;
}

.container {
  max-width: 540px;
  width: min(100%, 540px);
  margin: 16px auto;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.result-screen {
  text-align: center;
}

.result-header {
  padding-bottom: 32px;
}

.success-header {
  background:
    linear-gradient(135deg, rgba(35, 125, 89, 0.95), rgba(21, 77, 58, 0.96)),
    url("/Pattern.png") center/cover;
}

.failure-header {
  background:
    linear-gradient(135deg, rgba(158, 54, 54, 0.95), rgba(109, 32, 32, 0.96)),
    url("/Pattern.png") center/cover;
}

.result-body {
  padding-top: 34px;
  padding-bottom: 36px;
}

.result-copy {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.result-actions {
  justify-content: center;
  display: flex;
}

.btn-secondary {
  background: #223247;
}

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

.row {
  width: 100%;
}

.row.header {
  padding: 36px 32px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: url("/Pattern.png");
  color: #ffffff;
}

.row.body {
  padding: 28px 32px 32px;
}

h1 {
  margin: 0;
  font-size: 2.3rem;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: #ffffff;
}

h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--blue);
}
.Statment {
  margin: 18px 0 8px;
  color: red;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: justify;
}
.Note {
  margin: 4px 0;
  color: var(--muted);
  font-size: 0.95rem;
  padding-bottom: 8px;
  padding-left: 12px;
  text-align: justify;
}

.Disclaimer-title {
  margin: 0;
  font-weight: 700;
  color: var(--text);
  text-align: justify;
}

.Disclaimer-text {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
  padding-bottom: 8px;
}

.subtitle {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.5;
}

.required::after,
.required-label::after {
  content: " *";
  color: red;
}

.required-label {
  color: var(--blue);
  font-weight: 700;
}

.required-inline {
  color: red;
  margin-left: 0.25rem;
}

.lead {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lead + .lead {
  margin-top: 0;
}

.lead .required-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
}

.Disclaimer-title {
  margin: 0;
  font-weight: 700;
  color: var(--text);
  text-align: justify;
}

.Disclaimer-text {
  margin: 4px 0 0;
  color: var(--panel);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
  padding-left: 12px;
}

.subtitle {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.5;
}

.required::after,
.required-label::after {
  content: " *";
  color: red;
}

.required-label {
  color: var(--blue);
  font-weight: 700;
}

.required-inline {
  color: red;
  margin-left: 0.25rem;
}

.lead {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lead + .lead {
  margin-top: 0;
}

.lead .required-label {
  display: block;
  width: 100%;
  border: 1px solid rgba(79, 111, 173, 0.28);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0;
  background: #ffffff;
  font-size: 1rem;
  color: #1f2d4d;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.line-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(79, 111, 173, 0.12);
}

.line-input::placeholder {
  color: #9aa2bd;
}

.section {
  margin-bottom: 28px;
}

.section h2 {
  margin: 14px 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-declaration {
  margin-bottom: 0;
  padding-top: 6px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin-top: 0;
}

.checkbox-group label {
  display: inline-flex;
  align-items: center;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.data-table tr {
  border-bottom: 1px dotted var(--border);
}

.data-table tr:last-child {
  border-bottom: none;
}

.data-table td {
  padding: 10px 14px;
  vertical-align: middle;
}

.data-table td:first-child {
  width: 230px;
  font-weight: 600;
  color: var(--text);
  border-right: none;
}

.data-table input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  background: #fff;
}

.data-table input:focus {
  outline: none;
  border-bottom-color: var(--text);
}

.confirm-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text);
}

.confirm-checkbox input {
  margin-top: 4px;
}

.form-actions {
  margin-top: 28px;
  text-align: right;
}

.btn {
  font-size: 0.95rem;
  padding: 14px 28px;
  color: #ffffff;
  background: var(--blue);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition:
    background 140ms ease,
    transform 140ms ease;
}

.btn:hover {
  background: #3f5f94;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn {
  font-size: 0.95rem;
  padding: 14px 24px;
  color: #fff;
  background: #333;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn:hover {
  background: #222;
}

@media (max-width: 720px) {
  .container {
    margin: 24px 16px;
  }

  .lead {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .line-input {
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .checkbox-group {
    gap: 16px;
  }

  .data-table td:first-child {
    width: 180px;
  }

  .grid.two-col {
    grid-template-columns: 1fr;
  }
}
