* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
}

.container *{
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

header  p{
  font-size: 1rem;
  opacity: 0.9;
  max-width: 95%;
  margin: 0 auto;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.control-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.control-group label {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #4a69bd;
}

.gender-selector {
  display: flex;
  gap: 25px;
}

.gender-btn {
  padding: 10.5px 35px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.gender-btn:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gender-btn.active {
  background: #4a69bd;
  color: white;
  border-color: #4a69bd;
}

.age-selector {
  width: 250px;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1.1rem;
  outline: none;
  transition: all 0.3s ease;
  text-align: center;
}

.age-selector:focus {
  border-color: #4a69bd;
  box-shadow: 0 0 0 2px rgba(74, 105, 189, 0.2);
}

.results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #4a69bd;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f2f3;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.data-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.data-title {
  font-weight: bold;
  color: #4a69bd;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.data-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

.data-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
}

.status-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.status-low {
  background-color: #ff6b6b;
}

.status-below {
  background-color: #ffd166;
}

.status-normal {
  background-color: #06d6a0;
}

.status-high {
  background-color: #118ab2;
}

.table-container {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
}

.table-header {
  font-size: 1.4rem;
  font-weight: 700;
  color: #4a69bd;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

th {
  background-color: #f8f9fa;
  font-weight: bold;
  color: #4a69bd;
}

tr:hover {
  background-color: #f8f9fa;
}

.info-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.info-section h2 {
  font-size: 1.4rem;
  color: #4a69bd;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-content {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.info-content p {
  margin-bottom: 15px;
}
.info-content .note-box p{
  margin-bottom: 0;
}
.note-box {
  background: #fff9db;
  border-left: 4px solid #ffd43b;
  padding: 15px;
  border-radius: 0 8px 8px 0;
  margin-top: 20px;
}

footer {
  text-align: center;
  opacity: 0.9;
}
