/**
 * Bankco signin layout — open form column, no card shell.
 */

.bc-signin {
  direction: ltr;
  background: #fff;
  min-height: 100vh;
  font-family: "UKIJ Tor", "Segoe UI", Tahoma, sans-serif;
  color: #1a202c;
}

.bc-signin *,
.bc-signin *::before,
.bc-signin *::after {
  box-sizing: border-box;
}

.bc-signin a {
  color: inherit;
  text-decoration: none;
}

.bc-signin__row {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.bc-signin__form-col {
  width: 100%;
  min-height: 100vh;
  padding: 36px 24px 40px;
  display: flex;
  flex-direction: column;
}

.bc-signin__logo {
  flex: none;
}

.bc-signin__logo .logo--signin {
  display: inline-flex;
}

/* Open form block: sit in lower-middle of the column */
.bc-signin__form-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* optical shift down */
  padding-top: 12vh;
  padding-bottom: 6vh;
}

.bc-signin__heading {
  text-align: center;
  margin-bottom: 36px;
}

.bc-signin__heading h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.35;
  color: #111827;
}

.bc-signin__heading p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #718096;
}

.bc-signin__flash {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  border: 1px solid #e5e7eb;
}

.bc-signin__flash.ok {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #166534;
}

.bc-signin__flash.err {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.bc-signin__form {
  width: 100%;
}

.bc-field {
  margin-bottom: 16px;
}

.bc-field--pass {
  margin-bottom: 28px;
  position: relative;
}

.bc-field input {
  width: 100%;
  height: 56px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: #1a202c;
  background: #fff;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.bc-field--pass input {
  padding-inline-end: 48px;
}

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

.bc-field input:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}

.bc-eye {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.bc-signin__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 10px;
  background: #22c55e;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}

.bc-signin__submit:hover {
  background: #16a34a;
}

.bc-signin__copy {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  line-height: 1.5;
  color: #9ca3af;
}

/* Right art panel */
.bc-signin__art-col {
  display: none;
  width: 50%;
  background: #f6faff;
  padding: 48px 40px;
  position: relative;
}

.bc-shapes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bc-shapes__square {
  position: absolute;
  top: 40px;
  left: 32px;
}

.bc-shapes__vline {
  position: absolute;
  right: 48px;
  top: 56px;
}

.bc-shapes__dotted {
  position: absolute;
  bottom: 28px;
  left: 32px;
}

.bc-signin__illust {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.bc-signin__illust img {
  max-width: min(100%, 720px);
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.08);
  transform-origin: center center;
}

.bc-signin__promo {
  text-align: center;
  max-width: 28rem;
  margin: 28px auto 0;
  padding: 0;
}

.bc-signin__promo h3 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.35;
  color: #111827;
}

.bc-signin__promo p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #718096;
}

.bc-signin__promo span {
  color: #22c55e;
}

@media (min-width: 1024px) {
  .bc-signin__row {
    flex-direction: row;
    align-items: stretch;
  }

  /* Left: illustration · Right: login form */
  .bc-signin__art-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
    min-height: 100vh;
  }

  .bc-signin__form-col {
    width: 50%;
    order: 2;
    padding: 40px 56px 48px;
  }

  .bc-signin__form-wrap {
    max-width: 400px;
    margin-inline: 0 auto 0 0;
    padding-top: 8vh;
    padding-bottom: 4vh;
  }
}

@media (max-width: 640px) {
  .bc-signin__form-col {
    min-height: auto;
    padding: 28px 20px 36px;
  }

  .bc-signin__form-wrap {
    padding-top: 48px;
    padding-bottom: 24px;
  }

  .bc-signin__heading h2 {
    font-size: 28px;
  }

  .bc-signin__heading {
    margin-bottom: 28px;
  }
}
