* {
  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;
}


.converter-container {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.converter-box {
  flex: 1;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.converter-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #3498db;
  text-align: center;
}

.input-group {
  margin-bottom: 15px;
}

label {
  display: block;
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

input[type="number"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.hint {
  font-size: 12px;
  color: #7f8c8d;
  margin-top: 8px;
}

.button-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

button {
  padding: 12px 36px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  background: #fff;
  transition: background-color 0.3s;
}

.convert-btn {
  background-color: #3498db;
  color: white;
}

.convert-btn:hover {
  background-color: #2980b9;
}

.copy-btn {
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.clear-btn {
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

.result {
  padding: 15px;
  background-color: #e8f4fc;
  border-radius: 4px;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  color: #2c3e50;
}

.info-section {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
}

.info-section h2 {
  font-size: 22px;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

.info-section h3 {
  margin: 15px 0;
  font-size: 18px;
}

.info-section ul {
  padding-left: 25px;
}

.info-section p, .info-section li{
  margin-top: 15px;
  line-height: 1.5;
  font-size: 15px;
}


table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

th,
td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
}

th {
  background-color: #3498db;
  color: white;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

.green {
  background-color: #d5f5e3;
}

.green2 {
  background-color: #abebc6;
}

.yellow {
  background-color: #f9e79f;
}

.pink {
  background-color: #fadbd8;
}

.red {
  background-color: #f5b7b1;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 30px;
  background-color: #2ecc71;
  color: white;
  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;
}
