@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* === Systemsat Brand Tokens === */
:root {
  --brand-primary:      #03B8A9;
  --brand-primary-hover:#029d90;
  --brand-secondary:    #001336;
  --brand-bg:           #F8F9FA;
  --brand-card-bg:      #FFFFFF;
  --brand-text:         #212127;
  --brand-text-muted:   #6B7280;
  --brand-input-bg:     #F1F5F9;
  --brand-border:       #E9ECEF;
  --text-white:         #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', 'Inter', sans-serif;
}

body {
  background-color: var(--brand-secondary);
  background-image:
    radial-gradient(circle at 15% 25%, rgba(3, 184, 169, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(3, 184, 169, 0.10) 0%, transparent 45%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-container {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
}

.auth-split-card {
  display: flex;
  width: 100%;
  max-width: 900px;
  min-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.5s ease-out;
}

/* Painel Esquerdo (Brand) */
.auth-brand-side {
  flex: 1;
  background: linear-gradient(155deg, #001336 0%, #002060 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  color: var(--text-white);
}

.auth-brand-side::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(3, 184, 169, 0.12);
    bottom: -80px;
    right: -80px;
}

.auth-brand-side > * {
    position: relative;
    z-index: 1;
}

.auth-logo {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #FFFFFF;
}

.auth-logo span {
    color: var(--brand-primary);
}

.auth-brand-line {
    width: 40px;
    height: 3px;
    background: var(--brand-primary);
    border-radius: 2px;
    margin: 1.25rem 0;
}

.auth-brand-side p {
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 260px;
  font-weight: 400;
  margin: 0;
}

/* Painel Direito (Form) */
.auth-form-side {
  flex: 1;
  background: var(--brand-card-bg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-form-side h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 0.4rem;
}

.auth-form-side .subtitle {
  color: var(--brand-text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.form-label-custom {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-text);
  margin-bottom: 0.5rem;
}

.auth-form-side .form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--brand-input-bg);
  border: 1.5px solid var(--brand-border);
  border-radius: 8px;
  color: var(--brand-text);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.2s ease;
  height: auto;
}

.auth-form-side .form-control::placeholder {
  color: var(--brand-text-muted);
  font-weight: 400;
}

.auth-form-side .form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(3, 184, 169, 0.15);
}

.auth-form-side .btn-primary {
  width: 100%;
  padding: 0.9rem;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.75rem;
  letter-spacing: 0.03em;
}

.auth-form-side .btn-primary:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(3, 184, 169, 0.4);
}

.auth-form-side .auth-footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--brand-border);
}

.auth-form-side .auth-footer a {
  display: block;
  color: var(--brand-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}

.auth-form-side .auth-footer a:hover {
  color: var(--brand-primary);
}

/* Animação de entrada */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsividade */
@media (max-width: 640px) {
  .auth-brand-side {
    display: none;
  }
  
  .auth-form-side {
    border-radius: 20px;
    padding: 2.5rem 1.75rem;
  }
}

.text-danger {
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}
