* {
  margin: 0;
  padding: 0;
}

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;
}

.content {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.input-section {
  flex: 1;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.formula-section {
  margin-bottom: 25px;
}

.container h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

select,
input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

select:focus,
input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-option label{
  margin-bottom: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.button-group {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

button {
  flex: 1;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.calculate-btn {
  background: linear-gradient(to right, #2ecc71, #27ae60);
  color: white;
}

.copy-btn {
  background: linear-gradient(to right, #3498db, #2980b9);
  color: white;
}

.clear-btn {
  background: linear-gradient(to right, #e74c3c, #c0392b);
  color: white;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

button:active {
  transform: translateY(0);
}

.result-section {
  flex: 1.4;
}

.bmr-result {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 35px 20px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bmr-result h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.bmr-value {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 10px 0;
}

.bmr-unit {
  font-size: 1.4rem;
  opacity: 0.8;
  margin-bottom: 10px;
}

.activity-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.activity-table th {
  background-color: #3498db;
  color: white;
  padding: 16px;
  text-align: left;
}

.activity-table td {
  padding: 14px;
  border-bottom: 1px solid #eee;
}

.activity-table tr:last-child td {
  border-bottom: none;
}

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

.activity-table tr:hover {
  background-color: #f1f8ff;
}

.instructions {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
}

.instructions h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.instructions-content {
  margin: 0 auto;
}

.instructions-content p{
  margin-top: 10px;
}

.formula-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.formula-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.formula-card h4 {
  margin-bottom: 15px;
  color: #2c3e50;
  font-size: 1.2rem;
}

.notice {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2c3e50;
  color: white;
  padding: 16px 35px;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s ease-in-out;
  font-size: 1.1rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice.show {
  bottom: 30px;
}
