/* ============================= */
/* QUOTE INTRO */
/* ============================= */

.quote-intro {
  padding: 90px 0 40px;
  text-align: center;
}

.quote-intro-title {
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.quote-intro-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #5b6470;
}

/* ============================= */
/* QUOTE SELECTOR */
/* ============================= */

.quote-selector-section {
  padding: 30px 0 120px;
}

.quote-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.quote-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e7e2db;
  border-radius: 24px;
  padding: 42px 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.quote-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.09);
  border-color: #c8b79c;
}

.quote-option-card.is-active {
  border-color: #b08b57;
  box-shadow: 0 22px 55px rgba(176, 139, 87, 0.18);
}

.quote-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #f7f3ed;
  font-size: 2rem;
}

.quote-option-card h3 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.quote-option-card p {
  margin: 0;
  color: #5b6470;
  line-height: 1.75;
}

/* ============================= */
/* QUOTE FORM PANEL */
/* ============================= */

.quote-form-panel {
  background: #ffffff;
  border: 1px solid #ebe5dd;
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.quote-form-panel__header {
  text-align: center;
  margin-bottom: 32px;
}

.quote-form-panel__header h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.quote-form-panel__header p:last-child {
  margin: 0 auto;
  max-width: 720px;
  color: #5b6470;
  line-height: 1.8;
}

.quote-form-placeholder {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #d9cdbb;
  border-radius: 20px;
  background: #faf8f5;
  text-align: center;
  color: #5b6470;
  padding: 24px;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 991px) {
  .quote-selector-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .quote-form-panel {
    padding: 40px 28px;
  }
}

@media (max-width: 640px) {
  .quote-intro {
    padding: 75px 0 30px;
  }

  .quote-selector-section {
    padding: 20px 0 90px;
  }

  .quote-option-card {
    padding: 34px 24px;
  }

  .quote-form-panel {
    padding: 32px 20px;
    border-radius: 22px;
  }
}

.form-section {
  margin-bottom: 36px;
}

.form-section h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.quote-form {
  margin-top: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  color: #5b6470;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd7ce;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  min-height: 1.5rem;
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
}

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  background: #edf8ee;
  color: #1f7a1f;
  border: 1px solid #b7dfbb;
}

.form-status.is-error {
  background: #fff1f1;
  color: #b42318;
  border: 1px solid #f1b5b5;
}

@media (max-width: 767px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.employee-census-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
}

.employee-census-header p {
  margin: 8px 0 0;
  color: #5b6470;
  line-height: 1.7;
}

.employee-add-button {
  border: 1px solid #b08b57;
  background: #fff;
  color: #b08b57;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.employee-add-button:hover {
  background: #b08b57;
  color: #fff;
  transform: translateY(-1px);
}

.employee-table-wrapper {
  overflow-x: auto;
  border: 1px solid #e8dfd4;
  border-radius: 18px;
  background: #fff;
  scrollbar-width: thin;
}

.employee-table {
  width: 100%;
  min-width: 1200px;
  border-collapse: collapse;
}

.employee-table th,
.employee-table td {
  border-bottom: 1px solid #eee6dc;
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.employee-table th {
  background: #faf7f2;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #2e2a26;
}

.employee-table td input,
.employee-table td select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd7ce;
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}

.employee-row-actions {
  width: 110px;
}

.employee-remove-button {
  border: none;
  background: transparent;
  color: #a68a64;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
}

.employee-remove-button:hover {
  color: #7a5c3a;
  text-decoration: underline;
}

.employee-remove-button:hover:enabled {
  background: #8c6840;
  color: #fff;
}

.employee-remove-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 991px) {
  .form-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .employee-census-header {
    flex-direction: column;
    align-items: center;
    
  }
}

@media (max-width: 767px) {
  .form-grid--three {
    grid-template-columns: 1fr;
  }
}

.employee-table th:nth-child(1),
.employee-table td:nth-child(1) {
  min-width: 180px;
}

.employee-table th:nth-child(4),
.employee-table td:nth-child(4),
.employee-table th:nth-child(8),
.employee-table td:nth-child(8) {
  min-width: 160px;
}

.employee-table th:nth-child(5),
.employee-table td:nth-child(5) {
  min-width: 140px;
}

.employee-table th:nth-child(7),
.employee-table td:nth-child(7) {
  min-width: 180px;
}

/* Sex */
.employee-table th:nth-child(2),
.employee-table td:nth-child(2) {
  min-width: 100px;
}

/* Coverage */
.employee-table th:nth-child(3),
.employee-table td:nth-child(3) {
  min-width: 120px;
}

/* Hours/Week (optional but helps spacing) */
.employee-table th:nth-child(6),
.employee-table td:nth-child(6) {
  min-width: 130px;
}

/* Province */
.employee-table th:nth-child(9),
.employee-table td:nth-child(9) {
  min-width: 120px;
}