/* Auth modal — área de clientes (Serefor) */
.auth-modal-dialog {
  max-width: 920px;
}

.auth-modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 48, 53, 0.22);
}

.auth-modal-aside {
  background: linear-gradient(160deg, #0d3035 0%, #1a5c66 55%, #2a8a96 100%);
  color: #fff;
  padding: 2rem 1.75rem;
  flex-direction: column;
  justify-content: space-between;
}

.auth-modal-brand {
  font-family: var(--heading-font, "Poppins", sans-serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-modal-brand span {
  color: #3ec1d5;
}

.auth-modal-aside__lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0.75rem 0 1.5rem;
}

.auth-modal-aside__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-modal-aside__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

.auth-modal-aside__list i {
  color: #3ec1d5;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.auth-modal-main {
  background: #fff;
}

.auth-modal-main .modal-header {
  border-bottom: 1px solid rgba(13, 48, 53, 0.08);
  padding: 1.25rem 1.5rem 0.75rem;
}

.auth-modal-main .modal-body {
  padding: 0 1.5rem 1.5rem;
}

.auth-modal-tabs {
  gap: 0.5rem;
  border-bottom: none;
  margin-bottom: 1.25rem;
}

.auth-modal-tabs .nav-link {
  color: #1a5c66;
  border: 1px solid rgba(13, 48, 53, 0.12);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.auth-modal-tabs .nav-link:hover {
  color: #0d3035;
  background: rgba(13, 48, 53, 0.05);
  border-color: rgba(13, 48, 53, 0.2);
}

.auth-modal-tabs .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #0d3035 0%, #1a5c66 100%);
  border-color: transparent;
}

.auth-modal-content .form-control {
  border-radius: 8px;
  border-color: rgba(13, 48, 53, 0.15);
  padding: 0.6rem 0.85rem;
}

.auth-modal-content .form-control:focus {
  border-color: #2a8a96;
  box-shadow: 0 0 0 0.2rem rgba(42, 138, 150, 0.2);
}

.auth-modal-content .btn-primary {
  background: linear-gradient(135deg, #0d3035 0%, #1a5c66 100%);
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-weight: 600;
}

.auth-modal-content .btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #1a5c66 0%, #2a8a96 100%);
}

.auth-modal-content .btn-primary:disabled {
  opacity: 0.55;
}

.auth-modal-sso {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.auth-modal-sso .btn {
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.auth-modal-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0 0.85rem;
  color: #6c757d;
  font-size: 0.8rem;
}

.auth-modal-divider::before,
.auth-modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(13, 48, 53, 0.12);
}

.auth-modal-links {
  font-size: 0.875rem;
}

.auth-modal-links a {
  color: #1a5c66;
  text-decoration: none;
}

.auth-modal-links a:hover {
  color: #0d3035;
  text-decoration: underline;
}

.auth-pwd-rules {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
}

.auth-pwd-rules li {
  margin-bottom: 0.2rem;
}

.auth-strength-bar {
  height: 6px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.auth-strength-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.auth-pwd-match {
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

@media (max-width: 767.98px) {
  .auth-modal-main .modal-header,
  .auth-modal-main .modal-body {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .auth-modal-sso {
    grid-template-columns: 1fr;
  }
}
