/* style.css */
body {
  background-color: #0d1117;
  color: #c9d1d9;
  font-family: Consolas, monospace;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 2rem;
}

h1, h2 {
  color: #58a6ff;
  text-align: center;
}

.tagline {
  text-align: center;
  font-style: italic;
  margin-bottom: 2rem;
}

.tab-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tab {
  background: #161b22;
  border: 1px solid #30363d;
  color: #c9d1d9;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  margin: 0 0.25rem;
  font-weight: bold;
  transition: background 0.3s;
}

.tab.active {
  background: #238636;
  color: #fff;
}

.box {
  background: #161b22;
  border: 1px solid #30363d;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.box.show {
  opacity: 1;
}

.hidden {
  display: none !important;
}

textarea {
  width: 100%;
  height: 120px;
  background: #0d1117;
  border: 1px solid #30363d;
  color: #c9d1d9;
  padding: 0.5rem;
  font-family: monospace;
  resize: vertical;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

input[type="text"],
input[type="password"] {
  background: #0d1117;
  color: #c9d1d9;
  border: 1px solid #30363d;
  padding: 0.4rem;
  font-family: monospace;
}

.small-input {
  width: 60px;
  text-align: center;
}

button {
  background: #238636;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  cursor: pointer;
  margin: 0.25rem;
  transition: background 0.2s, transform 0.2s;
}

button:hover {
  background: #2ea043;
  transform: translateY(-1px);
}

.actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.clearBtn {
  background: #8b949e;
  color: #fff;
}

.clearBtn:hover {
  background: #a3a9af;
}

footer {
  text-align: center;
  margin-top: 4rem;
  font-size: 0.85rem;
  color: #8b949e;
}
