* {
  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: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #444;
}

input[type="number"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.capitalized {
  color: #666;
  font-size: 14px;
  margin-top: 5px;
  min-height: 20px;
}

.buttons {
  display: flex;
  gap: 20px;
}

button {
  padding: 13px 15px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
}

.calculate {
  background-color: #3498db;
  color: white;
}

.example {
  background-color: #2ecc71;
  color: white;
}

.copy {
  background-color: #9b59b6;
  color: white;
}

.reset {
  background-color: #e74c3c;
  color: white;
}

button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.result-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
}

.section-title {
  color: #2c3e50;
  border-left: 4px solid #3498db;
  padding-left: 10px;
  margin-bottom: 25px;
}

.result-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #ddd;
}

.result-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.result-label {
  font-weight: bold;
  color: #555;
  margin-bottom: 15px;
}

.result-value {
  font-size: 26px;
  color: #2c3e50;
  font-weight: bold;
}

.percentage {
  color: #e74c3c;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  display: none;
  z-index: 1000;
  max-width: 80%;
  text-align: center;
}

.section-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.section-box h3 {
  font-size: 20px;
  color: #2c3e50;
  margin: 15px 0;
}

.section-box h3:first-child {
  margin-top: 0;
}

.section-box p{
  margin-top: 10px;
  line-height: 1.5;
  color: #444;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.feature {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  line-height: 1.5;
  color: #444;
}

.feature h4 {
  font-size: 18px;
  color: #3498db;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

footer {
  text-align: center;
  font-size: 14px;
  color: #666;
}
