/* landing.css - Dihybrid Cross 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;
}

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

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

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

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

.dihybrid-table td.offspring-cell {
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.dihybrid-table td.offspring-cell:hover {
  background-color: #e9ecef;
  transform: scale(1.02);
}

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

.badge-dominant-both { background: #e3fcef; color: #00875a; border: 1px solid #abf5d1; }
.badge-dominant-first { background: #deebff; color: #0052cc; border: 1px solid #b3d4ff; }
.badge-dominant-second { background: #fff0b3; color: #172b4d; border: 1px solid #ffe380; }
.badge-recessive-both { background: #ffebe6; color: #de350b; border: 1px solid #ffbdad; }

.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 18px;
  text-align: left;
}

.table-custom td {
  padding: 12px 18px;
  border-bottom: 1px solid #edf0f8;
}

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

.educational-disclaimer-box {
  background: #fff8e6;
  border: 1px solid #ffe58f;
  border-left: 5px solid #faad14;
  padding: 20px 25px;
  border-radius: 8px;
  margin: 40px 0;
  font-size: 1rem;
  color: #594200;
}

.preset-btn {
  margin: 4px;
  border-radius: 20px;
  font-size: 0.85rem;
}
