* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 20px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
}

.calculator {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 25px;
}

.box-group {
  display: flex;
  align-items: center;
  gap: 25px;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-group label {
  font-size: 16px;
  font-weight: bold;
}

.input-group input,
.input-group select {
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  flex: 1;
  max-width: 300px;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.button-group {
  display: flex;
  gap: 15px;
}

.button-group button {
  padding: 12px 36px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.button-group button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.calculate-btn {
  background-color: #3498db;
  color: white;
}

.copy-btn {
  background-color: #2ecc71;
  color: white;
}

.clear-btn {
  background-color: #e74c3c;
  color: white;
}

.results {
  margin-top: 30px;
}

.results h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #2c3e50;
}
.result-box {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}

.result-item {
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.result-item .label {
  width: 150px;
  font-weight: bold;
  margin-bottom: 15px;
}

.result-item .value {
  flex: 1;
  color: #3498db;
  font-size: 18px;
  font-weight: bold;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.feature-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1;
}

.feature-card h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.feature-card h3 span {
  margin-right: 10px;
  font-size: 24px;
}

.feature-card p {
  color: #7f8c8d;
  line-height: 1.6;
}

.description {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 25px;
}

.description h2 {
  font-size: 20px;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 15px;
}

.description p {
  color: #7f8c8d;
  line-height: 1.8;
  margin-top: 15px;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2c3e50;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
}

.notice.show {
  opacity: 1;
}

footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 14px;
}
