* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  max-width: 1640px;
  min-width: 1240px;
  width: 100%;
  margin: 25px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  margin-bottom: 25px;
  text-align: center;
}

header h1 {
  font-size: 2.1rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
}

.warp-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.tab-btn {
  padding: 15px 25px;
  padding-top: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: #555;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.tab-btn:hover {
  color: #3498db;
}

.tab-btn.active {
  color: #3498db;
  border-bottom: 3px solid #3498db;
  font-weight: bold;
}

.tab-content {
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  display: none;
}

.tab-content.active {
  display: grid;
}

.input-group {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.input-group label {
  min-width: 120px;
  font-weight: bold;
  margin-right: 10px;
}

.input-group input {
  flex: 1;
  padding: 13px 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 200px;
}

.capital-text {
  position: absolute;
  bottom: -20px;
  right: 0;
  color: #8a8a8a;
  font-size: 12px;
  flex: 1;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.action-buttons button {
  padding: 13px 48px;
  background-color: #23ba5d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.action-buttons button:hover {
  background-color: #1b8243;
}

.action-buttons #copy-btn{
  background-color: #3498db;
}

.action-buttons #copy-btn:hover {
  background-color: #2980b9;
}

.action-buttons #reset-btn{
  background-color: #db8e34;
}

.action-buttons #reset-btn:hover {
  background-color: #c27923;
}


.results {
  display: none;
  margin-bottom: 25px;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.result-section {
  background-color: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.result-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.result-type h3 {
  margin: 0;
  color: #2c3e50;
}

.result-actions {
  display: flex;
  gap: 10px;
}

.result-actions button {
  padding: 5px 10px;
  background-color: #ecf0f1;
  border: 1px solid #ddd;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.result-actions button:hover {
  background-color: #ddd;
}

.result-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.result-item {
  margin-bottom: 10px;
}

.result-item label {
  display: block;
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 3px;
}

.result-item span {
  font-size: 16px;
  font-weight: bold;
  color: #2c3e50;
}

.payment-details {
  margin-top: 10px;
  max-height: 400px;
  overflow-y: auto;
}

.payment-details table {
  width: 100%;
  border-collapse: collapse;
}

.payment-details th,
.payment-details td {
  padding: 8px 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.payment-details th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.payment-details tr:nth-child(even) {
  background-color: #f9f9f9;
}

.features {
  background: #fff;
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 12px;
}

.feature-section {
  margin-bottom: 30px;
}

.feature-section:last-child{
  margin-bottom: 0;
}

.feature-section h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.feature-section h4 {
  color: #34495e;
  margin-top: 15px;
  margin-bottom: 10px;
}

.feature-section p,
.feature-section ul,
.feature-section ol {
  line-height: 1.6;
  color: #555;
}

.feature-section ul,
.feature-section ol {
  padding-left: 20px;
}

.feature-section li {
  margin-top: 8px;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
}

.notice.show {
  opacity: 1;
}
