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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.auth-container {
  display: flex;
  min-height: 100vh;
}

.auth-brand {
  background-color: #000;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.auth-brand-logo {
  width: 80px;
  height: 80px;
  background-color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  color: #000;
  margin-bottom: 30px;
}

.auth-brand h1 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
}

.auth-brand p {
  font-size: 14px;
  opacity: 0.8;
  max-width: 300px;
}

.auth-form-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: #fff;
}

.auth-form {
  width: 100%;
  max-width: 400px;
}

.auth-form h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #000;
  font-weight: 700;
}

.auth-form-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: #fff;
  color: #333;
}

.form-group input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group input.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: block;
  font-size: 12px;
  color: #dc3545;
  margin-top: 4px;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: #000;
}

.form-check label {
  font-size: 13px;
  color: #666;
  cursor: pointer;
  margin: 0;
}

.btn-login {
  width: 100%;
  padding: 12px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.btn-login:hover {
  background-color: #222;
}

.btn-login:active {
  background-color: #000;
  transform: scale(0.98);
}

.btn-login:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.form-links {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.form-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-links a:hover {
  color: #000;
}

.form-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 13px;
  color: #666;
}

.form-footer a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

.alert {
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 13px;
  animation: slideDown 0.3s ease;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .auth-container {
    flex-direction: column;
  }

  .auth-brand {
    padding: 30px 20px;
    min-height: 200px;
  }

  .auth-brand h1 {
    font-size: 24px;
  }

  .auth-form-section {
    padding: 30px 20px;
  }

  .auth-form {
    max-width: 100%;
  }
}
