/* CSS for Exporta Fácil Auth System - Based on Agilize Envios Template */
:root {
  --primary-color: #6366f1; /* Indigo/Premium color matching portal */
  --primary-color-hover: #4f46e5;
  --background-color: #0a0a0c;
  --text-color: #e2e8f0;
  --light-text-color: #94a3b8;
  --input-border-color: rgba(255, 255, 255, 0.1);
  --input-bg: rgba(255, 255, 255, 0.03);
  --white-color: #1e1e24;
  --error-color: #ef4444;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --accent-glow: rgba(99, 102, 241, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--background-color);
}

.login-container {
  display: flex;
  width: 900px;
  max-width: 95vw;
  height: 600px;
  max-height: 90vh;
  background: var(--white-color);
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow-color);
  overflow: hidden;
  border: 1px solid var(--input-border-color);
}

.brand-section {
  width: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.brand-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  z-index: 2;
}

.brand-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  z-index: 2;
}

.login-section {
  width: 50%;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #111116;
}

.login-form h1 {
  font-size: 2rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 10px;
}

.login-form p {
  text-align: center;
  color: var(--light-text-color);
  margin-bottom: 30px;
}

.input-box {
  position: relative;
  margin-bottom: 20px;
}

.input-box input {
  width: 100%;
  height: 50px;
  background: var(--input-bg);
  border: 1px solid var(--input-border-color);
  border-radius: 12px;
  padding: 0 45px 0 20px;
  font-size: 16px;
  color: var(--text-color);
  outline: none;
  transition: all 0.3s ease;
}

.input-box input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--accent-glow);
}

.input-box i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--light-text-color);
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 30px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--light-text-color);
}

.forgot-password a, .register-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.btn {
  width: 100%;
  height: 50px;
  background: var(--primary-color);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--primary-color-hover);
  transform: translateY(-2px);
}

.register-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--light-text-color);
}

@media (max-width: 800px) {
  .login-container {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }
  .brand-section, .login-section {
    width: 100%;
  }
  .brand-section {
    padding: 20px;
    height: 30%;
  }
}
