body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #54bbfd 0%, #2196f3 100%);
  min-height: 100vh;
}

/* Wrapper pro 2 sloupce */
.login-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100vw;
}
.login-left {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  min-width: 340px;
  z-index: 1;
}
.login-right {
  flex: 1.2 1 0;
  background: linear-gradient(130deg, #2196f3 40%, #54bbfd 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  position: relative;
  z-index: 0;
}
.login-form-box {
  width: 100%;
  max-width: 410px;
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(21,97,186,0.08);
  border-radius: 18px;
  padding: 48px 38px 36px 38px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.login-logo-big img {
  height: 46px;
}
h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2176c1;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 0;
}
.error-box, .success-box {
  padding: 12px 18px;
  margin-bottom: 18px;
  border-radius: 8px;
  font-size: 1rem;
  text-align: center;
}
.error-box {
  background: #ffe7e7;
  color: #c62828;
  border: 1.5px solid #e57373;
}
.success-box {
  background: #e7fff4;
  color: #0c7b4d;
  border: 1.5px solid #55cc99;
}
.form-group {
  margin-bottom: 18px;
}

/* INPUTS, LABELS, ICONS */
label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
}
.input-icon {
  display: flex;
  align-items: center;
  background: #f6fafd;
  border-radius: 8px;
  padding: 2px 12px;
  border: 1.5px solid #d1e4f7;
  transition: border .2s;
  position: relative;
}
.input-icon:focus-within {
  border-color: #54bbfd;
}
.input-icon .icon {
  color: #2196f3;
  font-size: 1.1em;
  margin-right: 8px;
  min-width: 18px;
}

input[type="password"], input[type="text"], input[type="email"] {
  border: none;
  background: transparent;
  padding: 12px 6px;
  width: 100%;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  color: #233;
  box-shadow: none;
}
input[type="checkbox"] {
  accent-color: #2196f3;
  width: 18px;
  height: 18px;
  margin-right: 7px;
}

/* EYE ICON FOR PASSWORD */
.input-icon-pwd input {
  padding-right: 38px !important;
}
.showpwd {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b2b2b2;
  z-index: 2;
}
.showpwd i {
  font-size: 1.18em;
  transition: color .15s;
}
.showpwd.active i {
  color: #2196f3;
}

/* PASSWORD RULES */
.pwd-strength-bar {
  height: 7px;
  width: 0;
  background: #e57373;
  border-radius: 6px;
  margin: 7px 0 5px 0;
  transition: background .2s, width .3s;
}
.pwd-rules {
  margin: 0 0 10px 0;
  padding: 0 0 0 20px;
  list-style: disc;
  color: #aaa;
  font-size: 0.98em;
}
.pwd-rules li {
  margin-bottom: 2px;
  transition: color .15s;
}
.pwd-rules .rule-ok {
  color: #43a047;
  font-weight: bold;
}

/* CHECKBOX ROW */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1em;
}
.check-row input[type="checkbox"] {
  margin-top: 3px;
}

/* Formulářové tlačítko */
.btn-main {
  width: 100%;
  min-width: 170px;
  max-width: 350px;
  padding: 13px 0 11px 0;
  background: #2196f3;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.08);
  transition: background .2s, box-shadow .2s;
}
.btn-main:hover {
  background: #176baf;
  box-shadow: 0 6px 24px rgba(33,150,243,0.13);
}
.btn-main:disabled {
  background: #b4d9fc;
  color: #fff;
  cursor: not-allowed;
}

/* Spodní linky */
.login-bottom-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  gap: 7px;
}
.login-bottom-links a { color: #2196f3; text-decoration: underline; cursor: pointer;}
.login-bottom-links a:hover { color: #176baf; }

/* TOAST styl */
.form-toast {
  position: fixed;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffe4a7;
  color: #9d6d09;
  border: 1.5px solid #ffc96b;
  border-radius: 12px;
  font-weight: 600;
  padding: 14px 34px 14px 18px;
  z-index: 2000;
  box-shadow: 0 4px 28px #ffdd6b36;
  font-size: 1.11em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, top .2s cubic-bezier(.71,.18,.6,1.41);
  min-width: 260px;
  text-align: center;
  letter-spacing: .03em;
}
.form-toast.show {
  opacity: 1;
  pointer-events: auto;
  top: 54px;
}

/* Pravý box - novinky z platformy */
.login-info-box {
  max-width: 460px;
  text-align: left;
  padding: 40px 28px;
}
.side-image {
  max-width: 120px;
  margin-bottom: 20px;
  display: block;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(33,150,243,0.15);
}
.login-info-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.news-timeline {
  margin-top: 20px;
  padding-left: 0;
  border-left: 2.5px solid #2196f366;
}
.news-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
  position: relative;
}
.news-icon {
  background: #fff;
  color: #2196f3;
  border-radius: 50%;
  border: 2px solid #2196f3;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  position: absolute;
  left: -19px;
  top: 2px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
}
.news-content {
  margin-left: 38px;
  background: rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 7px 15px 7px 17px;
  min-width: 0;
}
.news-date {
  font-size: 0.95em;
  color: #bddcff;
  margin-bottom: 2px;
  font-weight: 500;
}
.news-title {
  font-size: 1.08em;
  color: #fff;
  font-weight: bold;
  margin-bottom: 2px;
}
.news-desc {
  font-size: 1em;
  color: #e7f3ff;
  line-height: 1.4;
}
.news-desc a { color: #fff; text-decoration: underline; font-weight: 600; }

@media (max-width: 900px) {
  .login-wrapper { flex-direction: column; }
  .login-left, .login-right { min-width: 100vw; max-width: 100vw; width: 100vw; }
  .login-form-box, .login-info-box { margin: 32px auto; }
  .news-timeline { border-left: none; }
  .news-icon { left: -8px; width: 30px; height: 30px; font-size: 1em;}
  .news-content { margin-left: 28px; padding: 6px 9px; }
}
@media (max-width: 600px) {
  .form-toast { top: 16vw; min-width: 150px; font-size: 0.97em; padding: 11px 7vw 11px 13px;}
  .login-form-box, .login-info-box { padding: 24px 9vw 18px 9vw; }
  .side-image { max-width: 88px; }
  h1, .login-info-box h2 { font-size: 1.2em; }
}

/* === MODAL OKNO === */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  /* výrazně tmavší pozadí: */
  background: rgba(40, 56, 90, 0.55); 
  align-items: center;
  justify-content: center;
  /* flex pro vystředění obsahu */
  display: flex;
}
.modal-content {
  background: #fff;
  margin: auto;
  padding: 34px 28px 18px 28px;
  border-radius: 22px;
  box-shadow: 0 8px 32px #1e90ff24;
  max-width: 360px;
  min-width: 240px;
  width: 100%;
  position: relative;
  text-align: left;
  display: block;
}
.modal .close {
  position: absolute;
  right: 18px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  opacity: .7;
  font-weight: bold;
  z-index: 1;
}
.modal .close:hover { opacity: 1; }

@media (max-width: 600px) {
  .modal-content { max-width: 95vw; min-width: unset; }
}

