* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1600px;
  min-width: 1240px;
  margin: 20px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  width: 100%;
  margin-bottom: 25px;
  text-align: center;
}

header h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

header p {
  font-size: 16px;
  opacity: 0.9;
}

.calculator-container {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.calculator,.result-container{
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  flex: 1;
}

.result-container h3{
  font-size: 20px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

.radio-group {
  display: flex;
  gap: 20px;
  padding: 5px 0;
  margin-bottom: 20px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-option label{
  margin-bottom: 0;
  font-weight: normal;
}
input[type="radio"] {
  accent-color: #3498db;
}

input[type="number"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

input[type="number"]:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.button-group {
  display: flex;
  gap: 20px;
}

button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-calculate {
  background-color: #3498db;
  color: white;
}

.btn-calculate:hover {
  background-color: #2980b9;
}

.btn-example {
  background-color: #2ecc71;
  color: white;
}

.btn-example:hover {
  background-color: #27ae60;
}

.btn-copy {
  background-color: #9b59b6;
  color: white;
}

.btn-copy:hover {
  background-color: #8e44ad;
}

.btn-clear {
  background-color: #e74c3c;
  color: white;
}

.btn-clear:hover {
  background-color: #c0392b;
}

.result {
  margin-top: 20px;
}

.result h3 {
  margin-top: 0;
  color: #2c3e50;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
}
.result-item:last-child{
  margin-bottom: 0;
}
.result-label {
  font-weight: bold;
  color: #555;
}

.result-value {
  font-weight: bold;
  color: #e74c3c;
}

.highlight {
  font-size: 20px;
  color: #e74c3c;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  z-index: 1000;
  display: none;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.footer {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.footer h2 {
  font-size: 24px;
  color: #2c3e50;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  line-height: 1;
  margin-bottom: 15px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 30px 0;
}

.feature {
  display: flex;
  gap: 15px;
}

.feature-icon {
  position: relative;
  top: -2px;
  font-size: 24px;
  color: #3498db;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.tips {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
}

.tips h3 {
  font-size: 18px;
  margin: 15px 0;
  color: #2c3e50;
}

.tips h3:first-child{
  margin-top: 0;
}

.tips ul {
  padding-left: 20px;
}

.tips li ,.tips p{
  margin-top: 10px;
}

.hidden {
  display: none;
}
