* {
  margin: 0;
  padding: 0;
}

body {
  background: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

header h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

header p {
  font-size: 16px;
  color: #7f8c8d;
  max-width: 95%;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.card-title {
  display: flex;
  align-items: center;
  font-size: 20px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
}

.input-field {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
  background-color: #f9f9f9;
}

#bits{
  padding:13.25px 14px;
}

.input-field:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.input-info {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
}

.button-group {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.btn {
  padding: 14px 34px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
}

.btn-secondary {
  background: #2bc276;
  color: white;
}

.btn-danger {
  background: #ff4757;
  color: white;
}

.btn-copy{
  background: #8f9eba;
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0);
}

.result-box{
  display: flex;
  width: 100%;
  gap: 20px;
}

.result-field {
  flex: 1;
}

.result-field h3 {
  margin-bottom: 12px;
  font-size: 16px;
  color: #2c3e50;
}

textarea {
  width: 100%;
  height: 435px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  background-color: #f9f9f9;
}

.notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  z-index: 1000;
  display: none;
  animation: fadeInOut 3s ease;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    bottom: 0;
  }

  10% {
    opacity: 1;
    bottom: 30px;
  }

  90% {
    opacity: 1;
    bottom: 30px;
  }

  100% {
    opacity: 0;
    bottom: 0;
  }
}

footer {
  text-align: center;
  color: #666;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 25px;
  gap: 25px;
}

.feature {
  flex:1;
  background: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 20px;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.feature h3 {
  margin-bottom: 10px;
  color: #2c3e50;
}

.warning {
  background-color: #fff8e1;
  padding: 10px;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 20px;
  border-left: 4px solid #ffc107;
}
