/* Reset básico */
* {
  box-sizing: border-box;
}

/* Fundo */
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0F172A, #1E3A8A);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Segoe UI", system-ui, sans-serif;
}

/* Container */
.login-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
  padding: 5px;
}

/* Move the login card closer to the top of the viewport */
.login-container {
  position: relative;
  top: -30px; /* pull container up from centered position */
}

@media (max-width: 768px) {
  .login-container {
    top: -40px; /* less offset on small screens */
    flex-direction: column;
   
   
  }


}

/* Card Apresentação */
.login-card-intro {
 
  margin: auto;
  width: 60%;
  margin-top: 60px;
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.8s ease;
}

/* Card Login*/
.login-card {
  max-width: 420px;
  margin: auto;
  
  margin-top: 60px;
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.8s ease;
}

@media (max-width: 1024px) {

  .login-card-intro,
  .login-card {
    width: 80% !important;
    max-width: none;
    margin: 20px auto;
    margin-top: 60px;
    padding: 24px 18px;    
  }
  
}

/* Header */
.login-header {
  text-align: center;
  margin-bottom: 25px;
}

/* Logo in the login header */
.login-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

.login-header h1 {
 text-align: center;
  margin-bottom: 8px;
  font-weight: 700;
  color: #0F172A;
  
}

.login-header p {
  font-size: 14px;
  color: #64748b;
}

/* Inputs */
.form-control {
 border-radius: 10px;
  padding: 12px;
  border: 1px solid #CBD5E1;

}

.form-control:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.25);
}

/* Botões */
.btn-primary {
  background-color: #2563EB;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
}

.btn-primary:hover {
   background-color: #1D4ED8;
}

.btn-success {
  padding: 12px;
  font-weight: 600;
  background-color: #A5CD3B;
}

.btn-success:hover {
  background-color: #84A92C;
}

/* Footer */
.login-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.login-footer a {
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
}

.login-footer span {
  margin: 0 8px;
  color: #94a3b8;
}

/* Botão Assinar */
#assinarPlanoMensal,
#assinarPlanoAnual {
  display: none;
}

/* Animação */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}