.bakery-login-page {
  min-height: 100vh;
  margin: 0;
  background: #edf2ef;
  color: #18332b;
}

.bakery-login-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(390px, 0.92fr) minmax(480px, 1.08fr);
}

.bakery-login-brand {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 64px clamp(38px, 6vw, 88px);
  background: linear-gradient(145deg, #082e25 0%, #0d4938 60%, #11604b 100%);
  color: #fff;
}

.bakery-login-brand::before,
.bakery-login-brand::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.bakery-login-brand::before {
  width: 520px;
  height: 520px;
  inset: -180px auto auto -190px;
}

.bakery-login-brand::after {
  width: 330px;
  height: 330px;
  inset: auto -110px -130px auto;
}

.bakery-login-logos {
  position: absolute;
  z-index: 1;
  top: 34px;
  right: clamp(30px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 11px;
}

.bakery-login-logos span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.bakery-login-logos img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.bakery-login-copy,
.login-flow,
.login-scope {
  position: relative;
  z-index: 1;
}

.login-eyebrow {
  color: #d5b16b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.bakery-login-copy h1 {
  max-width: 540px;
  margin: 11px 0 15px;
  font-size: clamp(35px, 4.4vw, 62px);
  line-height: 1.15;
}

.bakery-login-copy p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 2;
}

.login-flow {
  display: grid;
  gap: 1px;
  margin-top: 42px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.login-flow div {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.login-flow div:last-child { border-bottom: 0; }
.login-flow strong { color: #d5b16b; font-size: 11px; }
.login-flow span { color: rgba(255, 255, 255, 0.82); font-size: 11px; }

.login-scope {
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.bakery-login-panel {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 42px;
}

.bakery-login-card {
  width: min(410px, 100%);
  padding: 38px;
  border: 1px solid #dce5e1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(10, 48, 38, 0.12);
}

.login-card-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: #0d4938;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.login-card-title { margin: 23px 0 27px; }
.login-card-title > span { color: #b48a3d; font-size: 10px; font-weight: 800; }
.login-card-title h2 { margin: 6px 0; color: #123a2f; font-size: 27px; }
.login-card-title p { margin: 0; color: #75847f; font-size: 11px; line-height: 1.7; }

.login-field {
  display: block;
  margin-top: 16px;
}

.login-field span {
  display: block;
  margin-bottom: 7px;
  color: #445d55;
  font-size: 10px;
  font-weight: 800;
}

.login-field input {
  box-sizing: border-box;
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid #d8e3df;
  border-radius: 12px;
  outline: 0;
  background: #f9fbfa;
  color: #17372e;
  font-family: inherit;
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-field input:focus {
  border-color: #1e715b;
  box-shadow: 0 0 0 3px rgba(30, 113, 91, 0.11);
}

.login-error {
  margin: 13px 0 0;
  padding: 9px 11px;
  border-radius: 9px;
  background: #fff0ed;
  color: #ad3d2b;
  font-size: 9px;
  line-height: 1.6;
}

.login-submit {
  display: flex;
  width: 100%;
  height: 49px;
  align-items: center;
  justify-content: space-between;
  margin-top: 21px;
  padding: 0 17px;
  border: 0;
  border-radius: 12px;
  background: #0d4938;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 11px 24px rgba(13, 73, 56, 0.21);
}

.login-submit:hover { background: #0a3e30; }
.login-submit b { font-size: 18px; }

.demo-access {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 17px;
  color: #75847f;
  font-size: 8px;
}

.demo-access code {
  padding: 4px 7px;
  border-radius: 6px;
  background: #eef4f1;
  color: #0d4938;
  font-family: ui-monospace, monospace;
  font-size: 9px;
}

.login-back {
  display: block;
  margin-top: 21px;
  color: #6f807a;
  font-size: 9px;
  text-align: center;
  text-decoration: none;
}

.login-back:hover { color: #0d4938; }

@media (max-width: 900px) {
  .bakery-login-shell { grid-template-columns: 1fr; }
  .bakery-login-brand { min-height: auto; padding: 118px 28px 38px; }
  .bakery-login-copy h1 { font-size: 34px; }
  .login-flow { margin-top: 28px; }
  .bakery-login-panel { min-height: auto; padding: 30px 20px 45px; }
}

@media (max-width: 520px) {
  .bakery-login-logos span { width: 49px; height: 49px; border-radius: 14px; }
  .bakery-login-logos img { width: 41px; height: 41px; }
  .bakery-login-card { padding: 27px 22px; border-radius: 19px; }
  .login-flow span { font-size: 10px; }
}
