/* styles.css – modern, clean layout */

body {
  font-family: system-ui, sans-serif;
  background-color: #f4f7fa;
  color: #333;
  margin: 0;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: auto;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h1 {
  margin-top: 0;
  font-size: 1.75rem;
  color: #0b5fa5;
}

input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  margin: 1rem 0;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button {
  padding: 0.6rem 1rem;
  margin: 0.5rem;
  font-size: 1rem;
  background-color: #0b5fa5;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #094c86;
}

.totp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.totp-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eef4fa;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
}

.entry-label {
  flex: 2;
  font-weight: bold;
  text-align: left;
}

.entry-code {
  font-family: monospace;
  font-size: 1.2rem;
  margin: 0 1rem;
  flex: 1;
  text-align: center;
}

.icon-button {
  background-color: #0b5fa5;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  margin-left: 0.25rem;
}

.icon-button:hover {
  background-color: #094c86;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.countdown-text {
  font-weight: bold;
  color: #0b5fa5;
  margin-bottom: 1rem;
}

.warning {
  font-size: 0.8rem;
  color: #c00;
  margin-top: 2rem;
  text-align: center;
}

.language-bar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

select {
  padding: 0.4rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.import-note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #2b6c2f; /* leicht grün */
  background-color: #e6f4ea;
  padding: 0.5rem;
  border-left: 4px solid #2b6c2f;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
