* {
  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;
}

.calculator-container {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.input-section, .result-section {
  flex: 1;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}


.section-title {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 500;
  color: #34495e;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 10px;
}

.radio-group label{
  margin-bottom: 0;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-right: 8px;
  position: relative;
  top: 2px;
}

input[type="number"] {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  transition: border-color 0.3s;
}

input[type="number"]:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.button-group {
  display: flex;
  gap: 20px;
}

button {
  flex: 1;
  padding: 14px 20px;
  font-size: 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.calculate-btn {
  background-color: #3498db;
  color: white;
}

.calculate-btn:hover {
  background-color: #2980b9;
}

.copy-btn {
  background-color: #2ecc71;
  color: white;
}

.copy-btn:hover {
  background-color: #27ae60;
}

.clear-btn {
  background-color: #e74c3c;
  color: white;
}

.clear-btn:hover {
  background-color: #c0392b;
}

.result-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-label {
  font-size: 20px;
  font-weight: 500;
  color: #34495e;
}

.result-value {
  font-size: 32px;
  font-weight: 700;
  color: #3498db;
}

.result-unit {
  font-size: 20px;
  color: #7f8c8d;
  margin-left: 5px;
}

.info-section {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 60px;
}

.info-title {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-box{
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.info-box .item{
  flex: 1;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
}

.info-content {
  line-height: 1.8;
  font-size: 17px;
  color: #34495e;
}
.info-box h3,.info-content h3{
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.info-box ul {
  padding-left: 25px;
  opacity: 0.8;
}

.info-box li, .info-box p{
  margin-top: 10px;
}

.example-box {
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  padding: 15px;
}

.notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 17px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.notice.show {
  opacity: 1;
}

footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 16px;
}
