html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f4f4f4;
}

/* 1. Wrapper, který centrumje box */
.content-wrapper {
  min-height: calc(100vh - 60px); /* rezervuj místo pro footer */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* 2. Box */
.box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 400px;
}

/* 3. Formátování */
h2 {
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center;
}
input {
  width: 100%;
  padding: 10px;
  margin: 0.5rem 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
button {
  width: 100%;
  padding: 10px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 1rem;
  cursor: pointer;
  font-size: 1rem;
}
button:hover {
  background-color: #005fa3;
}
.error {
  color: red;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* 4. Footer */
footer {
  height: 60px;
  text-align: center;
  font-size: 0.9rem;
  color: gray;
  padding: 1rem 0;
}
footer a {
  color: #444;
  text-decoration: none;
  margin: 0 0.5rem;
}
footer a:hover {
  text-decoration: underline;
}
.input-container {
  position: relative;
  width: 100%;
  margin-top: 1rem;
}

.input-container input {
  width: 100%;
  padding: 10px 2.5rem 10px 10px;  /* pravý padding 2.5rem */
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

.toggle-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 1rem;
}