/* landing.css - Blood Type Calculator Stylesheet */

.logo-sitename {
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 8px;
}

.calculator-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(103, 64, 203, 0.1);
  border: 1px solid #eef0f7;
  padding: 30px;
  margin-bottom: 40px;
}

.mode-tab-btn {
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mode-tab-btn.active {
  background-color: #6740cb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(103, 64, 203, 0.3);
}

.blood-grid-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.blood-grid-table th, .blood-grid-table td {
  border: 1px solid #dee2e6;
  text-align: center;
  padding: 12px;
  font-size: 0.95rem;
}

.blood-grid-table th {
  background-color: #6740cb;
  color: #ffffff;
  font-weight: 600;
}

.blood-grid-table td.header-cell {
  background-color: #f1ecfe;
  font-weight: 700;
  color: #6740cb;
}

.blood-badge {
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
  margin: 3px;
}

.badge-a { background: #e3f2fd; color: #0d47a1; border: 1px solid #bbdefb; }
.badge-b { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }
.badge-ab { background: #f3e5f5; color: #4a148c; border: 1px solid #e1bee7; }
.badge-o { background: #fff3e0; color: #e65100; border: 1px solid #ffe0b2; }

.rh-alert-box {
  background-color: #fff4e5;
  border-left: 4px solid #ff9800;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin-top: 20px;
}

.answer-box {
  background: #f4f0ff;
  border-left: 4px solid #6740cb;
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0 25px 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #2c2146;
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.table-custom th {
  background: #6740cb;
  color: #ffffff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}

.table-custom td {
  padding: 12px 16px;
  border-bottom: 1px solid #eef0f7;
  color: #444444;
}

.table-custom tr:nth-child(even) {
  background-color: #fcfaff;
}

.table-custom tr:hover {
  background-color: #f1ecfe;
}

.expert-quote-box {
  background: #ffffff;
  border: 1px solid #e2d9f8;
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
  box-shadow: 0 6px 20px rgba(103, 64, 203, 0.06);
  position: relative;
}

.expert-quote-box::before {
  content: "“";
  font-size: 4rem;
  color: #6740cb;
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 15px;
  line-height: 1;
}

.metric-highlight-card {
  background: linear-gradient(135deg, #6740cb 0%, #4a2896 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 24px;
  margin: 30px 0;
  box-shadow: 0 8px 25px rgba(103, 64, 203, 0.25);
}

.educational-disclaimer-box {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 20px;
  margin-top: 40px;
}

.page-title-offset {
  margin-top: 80px;
}
