/*
 * intake-shared.css
 * Shared styles for all HALT program intake landing pages.
 * Loaded by: lose_weight.html, lower_blood_pressure.html, lower_blood_sugar.html
 */

.btn,
.btn-success,
.panel,
.panel-heading,
.panel-title > a,
.modal-content,
.modal-header {
  background-image: none !important;
}

a {
  text-decoration: underline;
}

.panel-title > a::before {
  content: "+ ";
  font-weight: 700;
}

.panel-title > a[aria-expanded="true"]::before {
  content: "− ";
}

.panel,
.panel-default,
.panel-default > .panel-heading,
.modal-content {
  border-color: #595959 !important;
}

.btn,
.btn-success {
  border: 2px solid #ffffff !important;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  border: 2px solid #595959;
}

a:focus,
button:focus,
input:focus,
.panel-title > a:focus {
  outline: 3px solid #1a1a1a;
  outline-offset: 2px;
}

.panel-body {
  text-align: left;
}

#get-started {
  background-color: #3a7a3a !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 0 0 2px #f2f2f2;
}

#get-started:hover,
#get-started:focus {
  background-color: #3a7a3a !important;
  color: #ffffff !important;
}

/* ── Modal layout ── */
.modal-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 20px 24px 16px;
  border-bottom: 2px solid #e0e0e0;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: #1a1a1a;
  width: 100%;
}

.modal-header .close {
  font-size: 2.4rem;
  line-height: 1;
  padding: 0 4px;
  margin: 0;
  opacity: 0.5;
}

.modal-header .close:hover,
.modal-header .close:focus {
  opacity: 1;
}

.modal-body {
  padding: 20px 24px 24px;
}

/* ── Modal form fields ── */
.modal-body form label {
  display: block;
  font-weight: 600;
  font-size: 0.9em;
  margin-top: 14px;
  margin-bottom: 4px;
  color: #1a1a1a;
}

.modal-body form input[type="text"],
.modal-body form input[type="email"],
.modal-body form input[type="tel"] {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border-radius: 4px;
  box-sizing: border-box;
}

.modal-body form input[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
}

.modal-support {
  margin-top: 16px;
  font-size: 0.9em;
  color: #444;
}

@media (max-width: 767px) {
  .hero-image {
    display: none;
  }
}
