/* LoginPage.css - stylizace pro LoginPage podle fenix_login_desktop_mobile.html */
.login-root {
  min-height: 100vh;
  min-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg, #F0F2F7);
  font-family: 'Inter', sans-serif;
}
.desktop-frame {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
}
.desktop-frame {
  width: 100vw;
  display: flex;
  flex-direction: row;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.bg-d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
/* Levý panel fix: vždy 1, pravý login fix: vždy 1, aby login byl přesně na středu */
.d-left {
  flex: 1;
  background: var(--bg, #F0F2F7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 32px 48px 7vw;
  z-index: 1;
}
@media (max-width: 900px) {
  .d-left {
    display: none;
  }
}
.d-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 32px;
}
.d-brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #1B3A6B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.d-brand-icon svg {
  width: 28px;
  height: 28px;
}
.d-brand-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.d-tagline-main {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
}
.d-tagline-sub {
  font-size: 13px;
  opacity: 0.5;
  margin-bottom: 18px;
}
.d-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 18px;
}
.d-stat-val {
  font-size: 18px;
  font-weight: 600;
}
.d-stat-lbl {
  font-size: 11px;
  opacity: 0.5;
}
.d-powered {
  font-size: 11px;
  opacity: 0.38;
}
.d-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  z-index: 1;
}
.d-card {
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(27,58,107,0.1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 36px 32px 28px 32px;
  min-width: 340px;
  max-width: 400px;
  width: 100%;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.d-form-title {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 2px;
}
.d-form-sub {
  font-size: 13px;
  opacity: 0.5;
  margin-bottom: 18px;
}
.d-field {
  margin-bottom: 13px;
}
.d-field-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 5px;
}
.d-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  border: 1.5px solid rgba(0,0,0,0.1);
  background: #F7F8FA;
  color: #0a0a0a;
  transition: border .15s, box-shadow .15s;
}
.d-input:focus {
  border-color: #1B3A6B;
  box-shadow: 0 0 0 3px #1B3A622;
}
.d-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.d-remember {
  font-size: 12px;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 4px;
}
.checkbox-sm {
  width: 14px;
  height: 14px;
}
.d-forgot {
  font-size: 12px;
  color: #1B3A6B;
  cursor: pointer;
  opacity: 0.7;
  text-decoration: underline;
}
.d-submit {
  width: 100%;
  padding: 13px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  background: #1B3A6B;
  color: #fff;
  border: none;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: opacity .15s;
}
.d-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.d-submit:hover:not(:disabled) {
  opacity: 0.85;
}
.d-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px 0;
}
.d-div-line {
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.08);
}
.d-div-text {
  font-size: 11px;
  opacity: 0.3;
}
.d-sso {
  width: 100%;
  padding: 11px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: opacity .15s;
}
.d-sso:hover {
  opacity: 0.75;
}
.d-footer {
  text-align: center;
  font-size: 12px;
  margin-top: 13px;
  opacity: 0.38;
}
.footer-link {
  color: #1B3A6B;
  cursor: pointer;
  text-decoration: underline;
}
.d-error {
  color: #f87171;
  background: #fef2f2;
  border-radius: 7px;
  padding: 7px 10px;
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}
@media (max-width: 900px) {
  .desktop-frame {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }
  .d-left {
    width: 100%;
    padding: 24px 10vw 0 10vw;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end;
  }
  .d-right {
    width: 100%;
    padding: 0 10vw 24px 10vw;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .d-card {
    min-width: 0;
    max-width: 100vw;
    padding: 28px 12vw 22px 12vw;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .desktop-frame, .login-root {
    min-height: unset;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .d-left, .d-right {
    padding: 18px 2vw;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .d-card {
    padding: 18px 2vw 14px 2vw;
    margin: 0 auto;
  }
}
