/* Global */
body {
  font-family: Arial, sans-serif;
}

/* Card */
.card {
  max-width: 400px;
  margin: auto;
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.input {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #007bff;
  color: white;
  border-radius: 6px;
}

/* Result */
.result {
  margin-top: 15px;
  padding: 20px;
  background: #cfe8ec;
  border-radius: 12px;
  position: relative;
  text-align: center;
}

.big {
  font-size: 28px;
  font-weight: bold;
}

/* Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #d1d5db;
  border-radius: 999px;
  inset: 0;
  transition: 0.3s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 2px;
  top: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
  background: #000;
}

input:checked + .slider:before {
  transform: translateX(16px);
}

.result-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  font-size: 12px;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #d1d5db;
  border-radius: 999px;
  inset: 0;
  transition: 0.3s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 2px;
  top: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
  background: #000;
}

input:checked + .slider:before {
  transform: translateX(16px);
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.grid-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.key-box {
  background: #f5f5f5;
  padding: 10px;
  font-family: monospace;
  border-radius: 6px;
  font-size: 13px;
  word-break: break-all;
}

body {
  font-family: Arial, sans-serif;
  padding: 15px;
  background: #f3f3f3;
}

.card {
  max-width: 400px;
  margin: auto;
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-top: 72px;
}

h3 {
  text-align: center;
  margin-bottom: 15px;
}

input {
  width: calc(100% - 20px);
  padding: 10px;
  margin: 8px 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

button .animated {
  transition: all 0.2s ease;
}

.fill {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  background: #000;
  color: #fff;
  margin-top: 10px;
}

/* Result */
.result {
  margin-top: 15px;
  padding: 20px 15px 15px;
  background: #f0f0f0;
  border-radius: 12px;
  text-align: center;
  position: relative;
}

.big {
  font-size: 28px;
  font-weight: bold;
  margin: 8px 0;
  color: #000;
}

/* Toggle */
.result-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}



.switch {
  position: relative;
  width: 36px;
  height: 20px;
  display: inline-block;
}

.switch input {
  opacity: 0;
}

.slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 999px;
  transition: 0.3s;
}

.slider:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 2px;
  left: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background: #000;
}

input:checked + .slider:before {
  transform: translateX(16px);
}