/* Tela de login (área do cliente) - layout split-screen
   Classes prefixadas com pc-login2 para não conflitar com .login-wrapper/.bg-pic
   usados em esqueceu_senha.ctp e confirmar_2fa.ctp (mesmo layout base). */

.pc-login2 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #F4F6FB;
}

/* ===== Barra superior com os logos ===== */
.pc-login2__topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 18px 60px;
  background: #ffffff;
  border-bottom: 1px solid #EDF1F7;
}

.pc-login2__topbar img {
  height: 90px;
  width: auto;
}

/* ===== Corpo (painel esquerdo + painel direito) ===== */
.pc-login2__body {
  flex: 1;
  display: flex;
  min-height: 0;
}

/* ===== Painel esquerdo ===== */
.pc-login2__left {
  flex: 0 0 70%;
  max-width: 70%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 52px 60px;
  color: #fff;
  background-image: url('../img/fundo_login.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pc-login2__left-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pc-login2__hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 420px;
}

.pc-login2__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.pc-login2__eyebrow span.bar {
  width: 24px;
  height: 2.5px;
  background: #F4821F;
  display: block;
  border-radius: 2px;
}

.pc-login2__eyebrow span.txt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #F4821F;
}

.pc-login2__title {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 0 0 18px;
}

.pc-login2__subtitle {
  font-size: 14.5px;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  margin: 0 0 44px;
}

.pc-login2__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pc-login2__features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
}

.pc-login2__features .ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pc-login2__features .ico svg {
  width: 16px;
  height: 16px;
}

/* ===== Painel direito ===== */
.pc-login2__right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow-y: auto;
  background: #F4F6FB;
}

.pc-login2__card-wrap {
  width: 100%;
  max-width: 400px;
}

.pc-login2__trust-seal {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.pc-login2__trust-seal img {
  height: 40px;
  width: auto;
}

.pc-login2__card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 36px 32px;
  box-shadow: 0 4px 28px rgba(10,21,50,0.09), 0 1px 4px rgba(10,21,50,0.04);
}

.pc-login2__field {
  margin-bottom: 20px;
}

.pc-login2__field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #90A4AE;
  display: block;
  margin-bottom: 8px;
}

.pc-login2__field input[type="text"],
.pc-login2__field input[type="password"] {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  font-size: 14px;
  color: #0D1B4B;
  background: #FAFBFD;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  transition: all 0.15s;
  height: auto;
  line-height: normal;
}

.pc-login2__field input[type="text"]::placeholder,
.pc-login2__field input[type="password"]::placeholder {
  color: #B0BEC5;
}

.pc-login2__field input[type="text"]:focus,
.pc-login2__field input[type="password"]:focus {
  border-color: #1565C0;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(21,101,192,0.11);
}

.pc-login2__field-pass-wrap {
  position: relative;
}

.pc-login2__field-pass-wrap input {
  padding-right: 48px !important;
}

.pc-login2__toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #90A4AE;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.15s;
}

.pc-login2__toggle-pass:hover {
  color: #1565C0;
}

.pc-login2__toggle-pass svg {
  width: 18px;
  height: 18px;
}

.pc-login2__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.pc-login2__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}

.pc-login2__remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  cursor: pointer;
  margin: 0;
  accent-color: #1565C0;
}

.pc-login2__remember span {
  font-size: 13px;
  color: #607D8B;
}

.pc-login2__forgot {
  font-size: 13px;
  color: #1565C0;
  text-decoration: none;
  font-weight: 500;
}

.pc-login2__forgot:hover {
  text-decoration: underline;
  color: #1565C0;
}

.pc-login2__submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1565C0, #1E88E5);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(21,101,192,0.35);
  transition: all 0.2s;
}

.pc-login2__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21,101,192,0.42);
  color: #ffffff;
}

.pc-login2__submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.pc-login2__lead {
  font-size: 13.5px;
  color: #607D8B;
  line-height: 1.7;
  margin: 0 0 24px;
}

.pc-login2__back {
  display: block;
  width: 100%;
  padding: 13px;
  background: transparent;
  color: #475569;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin-top: 12px;
  box-sizing: border-box;
  transition: all 0.15s;
}

.pc-login2__back:hover {
  border-color: #1565C0;
  color: #1565C0;
  text-decoration: none;
}

.pc-login2__field input.pc-login2__code {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 8px;
  color: #0D1B4B;
}

.pc-login2__recaptcha {
  font-size: 11px;
  color: #90A4AE;
  text-align: center;
  margin-top: 20px;
  line-height: 1.7;
  padding: 0 8px;
}

.pc-login2__recaptcha a {
  color: #1565C0;
  text-decoration: none;
  font-weight: 500;
}

.pc-login2__recaptcha a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .pc-login2__left {
    display: none;
  }
  .pc-login2__right {
    flex: 1;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .pc-login2__topbar {
    padding: 14px 20px;
  }
  .pc-login2__topbar img {
    height: 40px;
  }
  .pc-login2__right {
    padding: 24px 16px;
  }
  .pc-login2__card {
    padding: 28px 22px 24px;
  }
}
