/* Přihlašovací formulář – navazuje na :root proměnné ve style.css */
.hero {
    -webkit-user-select: none;      /* zakázat označení textu */
    -moz-user-select: none;         
    user-select: none; 
}

.login-wrap {
  color: var(--text);
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  /*box-shadow: 0 6px 22px rgba(0,0,0,.10);*/
  box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
  padding: 28px;
  gap:0;
}
@media (max-width: 960px) {
  .login-wrap {
    grid-template-columns: auto !important;
  }
}
h1.login-title {
  font-size: 32px;
  line-height: 1.2;
  grid-column: span 2;
  margin: 0.3em 0 0.5em;
}
@media (max-width: 767px) {
  h1.login-title {
    grid-column: auto;
  }
}
.login-label {
  display: block;
  margin-top: 14px;
  margin-bottom: 5px;
  padding:0 15px;
  font-weight: 600;
}

.login-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.login-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(103,158,131,0.18); /* var(--primary) s alfou */
}

.password-field {
  position: relative;
}

.toggle-pass {
  position: absolute;
  right: 10px;
  border: none;
  background: transparent;
  padding: 6px;
  cursor: pointer;
  color: #999;
}

.toggle-pass:hover { color: var(--primary-dark); }
.toggle-pass:active { transform: translateY(1px); }

.login-message {
  min-height: 20px;
  margin-top: 10px;
  font-size: 10px;
  width:100%;
  text-align: center;
}

.login-message.error {
  color: #b00020;
}

.login-message.success {
  color: #1b7f4b;
}

.login-submit {
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .02s ease;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.login-submit:active { transform: translateY(1px); box-shadow: none }
.login-submit:disabled { opacity: .6; cursor: default; }

.login-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
}

.forgot-link {
  text-align: center;
  display: inline-block;
  width: 100%;
}


/* Kompaktnější na úzkých displejích */
@media (max-width: 560px) {
  .login-wrap { padding: 22px; border-radius: 14px;  }
  .login-brand h1 { font-size: 24px; }
}

/* doprovodný obrázek */
.login-visual img {
    max-width: 200px;
    margin-inline: auto;
    padding: 15px 0;
    /*/margin: 32px 0;*/
}
