/* style/login.css */

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

html,
body {
  width: 100%;
  min-height: 100vh;
}

body {
  background: #F0EDE8;
  font-family: 'Inter', sans-serif;
}

/* CONTAINER PRINCIPAL */
.lb-card {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* ───────────────────────── */
/* PAINEL ESQUERDO */
/* ───────────────────────── */

.left-panel {
  width: 44%;
  background: #1A2740;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 3rem 2.5rem;

  position: relative;
  overflow: hidden;
}

.left-pattern {
  position: absolute;
  inset: 0;

  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.03) 48px,
      rgba(255,255,255,0.03) 49px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.03) 48px,
      rgba(255,255,255,0.03) 49px
    );
}

.left-top,
.left-bottom {
  position: relative;
  z-index: 1;
}

.left-title {
  font-family: 'EB Garamond', serif;
  font-size: 32px;
  font-weight: 700;

  color: #F5F0E8;

  line-height: 1.2;

  margin-bottom: 1rem;
}

.left-desc {
  font-size: 13.5px;
  color: rgba(200, 200, 200, 0.5);

  line-height: 1.7;
  max-width: 220px;
}

.left-quote {
  border-left: 2px solid rgba(200, 175, 100, 0.35);

  padding-left: 14px;

  font-family: 'EB Garamond', serif;
  font-size: 14px;
  font-style: italic;

  color: rgba(200, 200, 200, 0.38);

  line-height: 1.7;
}

/* ───────────────────────── */
/* PAINEL DIREITO */
/* ───────────────────────── */

.right-panel {
  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 2rem;
}

.form-box {
  width: 100%;
  max-width: 340px;
}

/* HEADER */

.form-header {
  margin-bottom: 2rem;
}

.form-header h2 {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  font-weight: 700;

  color: #1A2740;

  margin-bottom: 5px;
}

.form-header p {
  font-size: 13px;
  color: #8A8880;

  letter-spacing: 0.03em;
}

/* ───────────────────────── */
/* PERFIS */
/* ───────────────────────── */

.role-group {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 8px;

  margin-bottom: 1.75rem;
}

.role-opt {
  border: 1px solid #D5D0C8;
  border-radius: 6px;

  padding: 13px 10px;

  cursor: pointer;

  background: #FAF8F5;

  display: flex;
  align-items: center;
  gap: 10px;

  text-align: left;

  transition:
    border-color 0.15s,
    background 0.15s;

  outline: none;
}

.role-opt:hover {
  border-color: #1A2740;
  background: #F0EDE8;
}

.role-opt.active {
  border-color: #1A2740;
  background: #1A2740;
}

.role-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  border: 1.5px solid #A0998E;

  flex-shrink: 0;

  transition:
    border-color 0.15s,
    background 0.15s;
}

.role-opt.active .role-dot {
  background: #C8AF64;
  border-color: #C8AF64;
}

.role-text strong {
  display: block;

  font-size: 13px;
  font-weight: 600;

  color: #1A2740;

  transition: color 0.15s;
}

.role-opt.active .role-text strong {
  color: #F5F0E8;
}

.role-text span {
  display: block;

  font-size: 11px;

  color: #9A938A;

  transition: color 0.15s;
}

.role-opt.active .role-text span {
  color: rgba(200, 175, 100, 0.65);
}

/* ───────────────────────── */
/* CAMPOS */
/* ───────────────────────── */

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #7A7670;

  margin-bottom: 6px;
}

.field input {
  width: 100%;

  border: 1px solid #D5D0C8;
  border-radius: 6px;

  padding: 11px 14px;

  font-size: 14px;
  font-family: 'Inter', sans-serif;

  color: #1A2740;
  background: #FAF8F5;

  outline: none;

  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}

.field input:focus {
  border-color: #1A2740;

  box-shadow: 0 0 0 3px rgba(26, 39, 64, 0.08);

  background: #FFFFFF;
}

.field input::placeholder {
  color: #C0BAB2;
}

.field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 6px;
}

.field-row label {
  margin-bottom: 0;
}

.forgot {
  font-size: 11.5px;

  color: #9A938A;

  text-decoration: none;
}

.forgot:hover {
  color: #1A2740;
}

/* ───────────────────────── */
/* BOTÃO */
/* ───────────────────────── */

.btn-submit {
  width: 100%;

  padding: 12px;

  border: none;
  border-radius: 6px;

  background: #1A2740;
  color: #F5F0E8;

  font-size: 14px;
  font-weight: 600;

  font-family: 'Inter', sans-serif;

  cursor: pointer;

  letter-spacing: 0.04em;

  margin-top: 0.5rem;

  transition:
    background 0.15s,
    transform 0.1s;
}

.btn-submit:hover {
  background: #243352;
}

.btn-submit:active {
  transform: scale(0.99);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: default;
}

/* ───────────────────────── */
/* FOOTER */
/* ───────────────────────── */

.help-text {
  text-align: center;

  margin-top: 1.25rem;

  font-size: 12px;

  color: #A0998E;
}

.help-text a {
  color: #1A2740;

  font-weight: 600;

  text-decoration: none;
}

.help-text a:hover {
  text-decoration: underline;
}

/* ───────────────────────── */
/* RESPONSIVO */
/* ───────────────────────── */

@media (max-width: 640px) {

  .lb-card {
    flex-direction: column;
  }

  .left-panel {
    width: 100%;

    padding:
      2rem
      1.5rem
      1.75rem;
  }

  .left-title {
    font-size: 26px;
  }

  .left-desc {
    display: none;
  }

  .left-bottom {
    margin-top: 1.5rem;
  }

  .right-panel {
    padding: 2rem 1.5rem;
  }

}