*{
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  position: relative;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 25px;
  width: 100%;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

header p {
  opacity: 0.9;
  font-size: 1.1rem;
}


.calculator-box {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 25px;
}


.calculator-title {
  font-size: 20px;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: 600;
}

.warp-content{
  display: flex;
  gap: 20px;
}

#basic-calculator, .result-table{
  flex: 1;
}

.form-table{
  width: 100%;
  border-collapse: collapse;
  background-color: #f5f5f5;
}

.form-table td {
  padding: 16.5px 12px;
  border: 1px solid #ddd;
}

.form-table td:first-child {
  width: 30%;
  background-color: #f9f9f9;
  font-weight: bold;
  text-align: right;
}

.form-input {
  width: 70%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.submit-btn {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 12px 36px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #2980b9;
}

.result-table {
  border-collapse: collapse;
  background-color: #f5f5f5;
}

.result-table td {
  padding: 12px;
  border: 1px solid #ddd;
}

.result-table td:first-child {
  width: 30%;
  background-color: #f9f9f9;
  font-weight: bold;
  text-align: right;
}

.result-value {
  font-size: 18px;
  color: #e74c3c;
  font-weight: bold;
}

.result-note {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

.pro-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #2c3e50;
  display: flex;
  align-items: center;
}

.pro-title span {
  margin-right: 10px;
  font-size: 24px;
}

.pro-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #f5f5f5;
}

.pro-table th,
.pro-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

.pro-table th {
  background-color: #f9f9f9;
  font-weight: bold;
}

.pro-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.pro-table tr:hover {
  background-color: #f0f0f0;
}

.pro-input {
  width: 60px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.pro-select {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.reset-btn {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
  margin-left: 10px;
}

.reset-btn:hover {
  background-color: #c0392b;
}

.info-section {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.info-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #2c3e50;
  display: flex;
  align-items: center;
}

.info-title span {
  margin-right: 10px;
  font-size: 24px;
}

.info-content {
  line-height: 1.8;
}

.info-content p {
  margin-bottom: 15px;
}

.info-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  border-radius: 4px;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  z-index: 1000;
  display: none;
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 14px;
}

.section-divider {
  height: 1px;
  background-color: #ddd;
  margin: 20px 0;
}

.highlight {
  color: #e74c3c;
  font-weight: bold;
}
