/* BizCore Mail — Custom Login Design (Split Screen SaaS) */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bc-login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ===== LEFT PANEL — brand story ===== */
.bc-login__brand {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  color: #ffffff;
  padding: 64px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bc-login__brand::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bc-login__brand::after {
  content: "";
  position: absolute;
  bottom: -20%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bc-login__logoWrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.bc-login__logo {
  width: 44px; height: 44px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bc-login__logo svg { width: 26px; height: 26px; }

.bc-login__brandName {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bc-login__heading {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.bc-login__tagline {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.bc-login__features {
  list-style: none;
  position: relative;
  z-index: 1;
}

.bc-login__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.92);
}

.bc-login__checkIcon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.bc-login__checkIcon svg { width: 12px; height: 12px; stroke: #ffffff; }

/* ===== RIGHT PANEL — login form ===== */
.bc-login__form {
  padding: 64px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.bc-login__formInner {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.bc-login__welcome {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 8px;
}

.bc-login__subtitle {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 40px;
}

.bc-login__field {
  margin-bottom: 20px;
}

.bc-login__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.bc-login__input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.bc-login__input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.bc-login__input::placeholder { color: #9ca3af; }

.bc-login__actionsRow {
  display: flex;
  justify-content: flex-end;
  margin-top: -8px;
  margin-bottom: 24px;
}

.bc-login__forgot {
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.bc-login__forgot:hover { color: #1e40af; text-decoration: underline; }

.bc-login__submit {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s;
  letter-spacing: 0.01em;
  font-family: inherit;
}

.bc-login__submit:hover {
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.bc-login__submit:active { transform: translateY(0); }

.bc-login__footer {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

.bc-login__footer a {
  color: #6b7280;
  text-decoration: none;
}

.bc-login__footer a:hover { color: #374151; text-decoration: underline; }

/* ===== Flash / error notice ===== */
.bc-login__flash {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}

.bc-login__flash--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.bc-login__flash--notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

/* ===== Responsive (mobile) ===== */
@media (max-width: 900px) {
  .bc-login { grid-template-columns: 1fr; }
  .bc-login__brand {
    padding: 48px 32px 40px;
    min-height: 280px;
  }
  .bc-login__brand::before, .bc-login__brand::after { display: none; }
  .bc-login__heading { font-size: 32px; }
  .bc-login__tagline { font-size: 15px; margin-bottom: 24px; }
  .bc-login__features { display: none; }
  .bc-login__form { padding: 40px 28px; }
  .bc-login__welcome { font-size: 26px; }
}
