* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1640px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  position: relative;
  margin-bottom: 20px;
  text-align: center;
}

header h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

header p {
  font-size: 16px;
  line-height: 1.6;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 25px;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.card-title span {
  margin-right: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
  box-sizing: border-box;
}

.btn {
  padding: 12px 36px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background-color: #3498db;
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
}

.btn-success {
  background-color: #2ecc71;
  color: white;
}

.btn-success:hover {
  background-color: #27ae60;
}

.btn-danger {
  background-color: #e74c3c;
  color: white;
}

.btn-danger:hover {
  background-color: #c0392b;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #3498db;
  color: #3498db;
}

.btn-outline:hover {
  background-color: #3498db;
  color: white;
}

.btn-sm {
  padding: 6px 18px;
  font-size: 0.8rem;
  line-height: 1;
  font-size: 14px;
}

.btn-group {
  display: flex;
  gap: 20px;
}

.output-area {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  min-height: 150px;
  max-height: 300px;
  overflow-y: auto;
  font-family: monospace;
  white-space: pre-wrap;
  line-height: 1.5;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 15px;
  border-bottom: 1px solid #eee;
}

.history-item:last-child {
  border-bottom: none;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltip-content {
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  font-size: 0.875rem;
}

.tooltip:hover .tooltip-content {
  visibility: visible;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  z-index: 1000;
  display: none;
}

footer {
  background-color: #2c3e50;
  color: white;
  padding: 30px 0;
  margin-top: 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  max-width: 1640px;
  min-width: 1240px;
  margin: auto;
}

.footer-section {
  flex: 1;
  padding: 0 20px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #3498db;
}

.feature-list {
  list-style-type: none;
  padding: 0;
}

.feature-list li,.footer-section p{
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.feature-list li span {
  margin-right: 10px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: center;
  padding: 8.75px 0;
}

.checkbox-group input {
  margin-right: 10px;
}
