/* ==========================================================================
   LOGIN & CADASTRO — ESTRUTURA DIVIDIDA (SPLIT CARD) CORRIGIDA
   ========================================================================== */

body.page-login-split {
  background-color: #f0f4f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 2rem 1rem;
  box-sizing: border-box;
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

.login-container {
  width: 100%;
  max-width: 880px;
  margin: 40px auto 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.login-card {
  display: flex;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: 1px solid #e1e6e3;
  width: 100%;
}

/* LADO ESQUERDO: BANNER VERDE CONTIDO */
.login-card__banner {
  flex: 1;
  background: linear-gradient(135deg, #3b6b55 0%, #224334 100%);
  color: #ffffff;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.banner-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1rem;
}

.banner-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.banner-content h1 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.banner-content p {
  font-size: 0.95rem;
  color: #e2ece6;
  line-height: 1.6;
}

.banner-footer p {
  font-size: 0.8rem;
  color: #c5d8cc;
}

/* LADO DIREITO: FORMULÁRIO */
.login-card__form-wrapper {
  flex: 1.2;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* Abas */
.split-auth__tabs {
  display: flex;
  border-bottom: 2px solid #e1e6e3;
  margin-bottom: 2rem;
}

.split-tab {
  flex: 1;
  padding: 0.75rem 0;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
  font-weight: 500;
  color: #666666;
  cursor: pointer;
  margin-bottom: -2px;
  min-height: 44px;
}

.split-tab.active {
  color: #3b6b55;
  border-bottom-color: #3b6b55;
  font-weight: bold;
}

/* Formulários */
.split-title {
  font-size: 1.6rem;
  color: #1a1c1e;
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.split-subtitle {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 1.5rem;
  word-break: break-word;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid #cccccc;
  border-radius: 8px;
  outline: none;
  background-color: #fff;
  min-height: 44px;
}

.form-control:focus {
  border-color: #3b6b55;
  box-shadow: 0 0 0 3px rgba(59, 107, 85, 0.2);
}

/* Botão de Envio */
.style-btn-split {
  width: 100%;
  background-color: #3b6b55;
  color: #ffffff;
  border: none;
  padding: 0.85rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.2s;
  min-height: 44px;
}

.style-btn-split:hover {
  background-color: #285240;
}

.split-footer-text {
  text-align: center;
  font-size: 0.875rem;
  color: #666666;
  margin-top: 1.5rem;
}

.split-footer-text a {
  color: #3b6b55;
  font-weight: bold;
  text-decoration: none;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  body.page-login-split {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .login-container {
    margin-top: 0;
  }

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

  .login-card__banner {
    padding: 2rem 1.5rem;
  }

  .login-card__form-wrapper {
    padding: 2rem 1.5rem;
  }
}