/* Modern Login Page Styles */
:root {
  --nx-purple: #4A148C;
  --nx-gold: #FFD700;
  --nx-white: #FFFFFF;
  --nx-text: #1F1F1F;
  --nx-muted: #6B7280;
  --nx-light-gray: #F8F9FA;
}

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

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--nx-light-gray);
  min-height: 100vh;
  overflow-x: hidden;
}

.container-fluid {
  min-height: 100vh;
}

.row {
  margin: 0;
}

.col-md-5, .col-md-7 {
  padding: 0;
}

/* Left Column - Login Form */
.login-col {
  background: var(--nx-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 100vh;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--nx-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo {
  height: 180px;
  margin-bottom: 1.5rem;
}

.login-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--nx-text);
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: var(--nx-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

/* Alert Styles */
.modern-alert {
  border: none;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: #fee2e2;
  color: #dc2626;
  border-left: 4px solid #dc2626;
}

/* Form Styles */
.login-form {
  margin-bottom: 2rem;
}

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

.form-label {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--nx-text);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-label i {
  color: var(--nx-purple);
}

.modern-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fafafa;
}

.modern-input:focus {
  outline: none;
  border-color: var(--nx-purple);
  background: var(--nx-white);
  box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--nx-muted);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--nx-purple);
}

/* Login Button */
.btn-login {
  width: 100%;
  background: linear-gradient(135deg, var(--nx-purple) 0%, #6A1B9A 100%);
  color: var(--nx-white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Botão roxo sólido para uso geral, sem flex e width 100% */
.btn-purple-solid {
  display: inline-block;
  background: linear-gradient(135deg, var(--nx-purple) 0%, #6A1B9A 100%);
  color: var(--nx-white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.btn-purple-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74, 20, 140, 0.3);
  color: var(--nx-white);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74, 20, 140, 0.3);
}

/* Footer Links */
.login-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.register-link {
  margin-bottom: 1rem;
  color: var(--nx-muted);
}

.register-link a {
  color: var(--nx-purple);
  text-decoration: none;
  font-weight: 600;
}

.register-link a:hover {
  text-decoration: underline;
}

.forgot-link {
  color: var(--nx-muted);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.forgot-link:hover {
  color: var(--nx-purple);
}

/* Right Column - Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--nx-purple) 0%, #6A1B9A 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: var(--nx-white);
  max-width: 500px;
  padding: 2rem;
}

.hero-logo {
  height: 100px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--nx-gold);
}

.feature-item span {
  font-weight: 500;
}

.hero-footer {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .col-md-5, .col-md-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .hero-section {
    display: none;
  }
  
  .login-col {
    min-height: 100vh;
    padding: 1rem;
  }
  
  .login-card {
    padding: 2rem 1.5rem;
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
  }
  
  .login-logo {
    height: 140px;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 1.5rem 1rem;
  }
  
  .login-logo {
    height: 120px;
  }
  
  .modern-input {
    padding: 0.75rem;
    font-size: 0.95rem;
  }
  
  .btn-login {
    padding: 0.875rem 1.5rem;
  }
}