* {
  margin: 0;
  padding: 0;
}

body {
  background: #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 {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

header h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

header p {
  font-size: 16px;
  opacity: 0.85;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 25px;
}

.calculator-section,.info-section {
  flex: 1;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 20px;
}

.calculator-section h2,
.info-section h2 {
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f2f3;
}

.input-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 1.1rem;
  color: #444;
}

.input-row {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.input-field {
  flex: 1;
}

.container input,
.container select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: border-color 0.3s;
}

.container input:focus,
.container select:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 15px 60px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-calculate {
  background: #3498db;
  color: white;
}

.btn-example {
  background: #9b59b6;
  color: white;
}

.btn-copy {
  background: #2ecc71;
  color: white;
}

.btn-clear {
  background: #e74c3c;
  color: white;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result-container {
  margin-top: 25px;
  display: none;
}

.result-container.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.result-title {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.result-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.result-item h3 {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 15px;
}

.result-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
}

.interpretation {
  background: #fff8e1;
  border-radius: 12px;
  padding: 15px;
  display: flex;
   align-items: center;
  gap: 20px;
}

.interpretation h3 {
  font-size: 1.2rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
}

.interpretation p {
  font-size: 1.2rem;
  color: #e74b3c;
  font-weight: 600;
}

.info-section h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin: 20px 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-section p {
  margin-top: 15px;
  font-size: 1rem;
  color: #555;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.comparison-table th {
  background-color: #3498db;
  color: white;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.comparison-table tr:hover {
  background-color: #f1f8ff;
}

.range-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.range-table th,
.range-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.range-table th {
  background-color: #cee2f6;
  color: #285581;
  font-weight: 600;
}

.range-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.faq-item {
  margin-top: 20px;
}

.info-section h4 {
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-box{
  display: flex;
  gap: 25px;
}

.info-box .item{
  flex: 1;
}

.info-box .item h4{
  margin-bottom: 10px;
  opacity: 0.8;
}


.notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(44, 62, 80, 0.95);
  color: white;
  padding: 18px 35px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.4s ease;
}

.notice.show {
  transform: translateX(-50%) translateY(0);
}

footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
