* {
  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 {
  display: flex;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
}

.input-section {
  flex: 1;
  padding: 20px;
  border-right: 1px solid #eee;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border 0.3s;
}

.input-group input:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.button-group {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
}

.primary {
  background-color: #3498db;
  color: white;
}

.primary:hover {
  background-color: #2980b9;
}

.secondary {
  background-color: #2ecc71;
  color: white;
}

.secondary:hover {
  background-color: #27ae60;
}

.tertiary {
  background-color: #e74c3c;
  color: white;
}

.tertiary:hover {
  background-color: #c0392b;
}

.result-section {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.result-section h2 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.result-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2ecc71;
  margin-bottom: 20px;
}

.result-stats {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin-bottom: 30px;
}

.result-note {
  font-size: 0.9rem;
  color: #7f8c8d;
  border-top: 1px solid #eee;
  padding-top: 20px;
  width: 100%;
}

.info-section {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.info-card {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.info-card ul {
  padding-left: 20px;
}
.info-card li, .info-card  p{
  margin-top: 10px;
}

.footer-content  {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-content h3 {
  color: #2c3e50;
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-content p {
  margin-bottom: 15px
}

.disclaimer {
  font-size: 0.9rem;
  color: #7f8c8d;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.disclaimer p{
  margin-bottom: 0px
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
}

.notice.show {
  opacity: 1;
}
