* {
  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;
}

.main-content {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-bottom: 25px;
}

.calculator-section {
  flex: 1;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.info-section {
  flex: 1;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.section-title {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.input-group {
  margin-bottom: 25px;
}

.container label {
  display: block;
  margin-bottom: 10px;
  color: #666;
  font-size: 1.1rem;
  font-weight: 500;
}

.container input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
}

.container input:focus {
  border-color: #e91e63;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.buttons {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
}

button {
  flex: 1;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calculate-btn {
  background: linear-gradient(to right, #e91e63, #ff4081);
  color: white;
}

.copy-btn {
  background: #673ab7;
  color: white;
}

.clear-btn {
  background: #d0d0d0;
  color: #666;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.results-container {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.result-item {
  padding: 20px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.result-title {
  color: #7a7a7a;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.result-value {
  font-size: 2rem;
  font-weight: 700;
  color: #e91e63;
}

.info-content {
  line-height: 1.8;
  color: #555;
}

.info-content p {
  margin-bottom: 20px;
}

.info-content h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-content ul {
  padding-left: 25px;
  margin-bottom: 20px;
}

.info-content li {
  margin-bottom: 10px;
  position: relative;
}

.info-content li:before {
  content: "•";
  color: #e91e63;
  position: absolute;
  left: -20px;
  font-size: 1.2rem;
}

.reference-table {
  width: 100%;
  border-collapse: collapse;
}

.reference-table th,
.reference-table td {
  padding: 5px 10px;
  text-align: center;
  border: 1px solid #eee;
  font-size: 15px;
}

.reference-table th {
  background: #f9f9f9;
  color: #e91e63;
  font-weight: 600;
}

.reference-table tr:nth-child(even) {
  background: #fcfcfc;
}

.notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 16px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1000;
}

.notice.show {
  opacity: 1;
  visibility: visible;
}

footer {
  text-align: center;
  color: #888;
  width: 100%;
  font-size: 0.85rem;
}
