* {
  font-family: "Inter", sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.auth-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
  min-height: 600px;
}

.auth-left {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-section {
  text-align: center;
}

.brand-icon {
  font-size: 60px;
  margin-bottom: 20px;
  opacity: 0.95;
  animation: slideInDown 0.6s ease;
}

.brand-section h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  animation: slideInDown 0.6s ease 0.1s both;
}

.brand-section p {
  font-size: 15px;
  opacity: 0.9;
  margin: 0;
  animation: slideInDown 0.6s ease 0.2s both;
}

.brand-features {
  margin-top: 50px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  animation: slideInLeft 0.6s ease both;
  opacity: 0.95;
}

.feature-item:nth-child(1) {
  animation-delay: 0.3s;
}

.feature-item:nth-child(2) {
  animation-delay: 0.4s;
}

.feature-item:nth-child(3) {
  animation-delay: 0.5s;
}

.feature-item i {
  font-size: 24px;
}

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

.auth-right {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  max-height: 100%;
}

.auth-card {
  animation: slideInRight 0.6s ease;
}

.auth-header {
  margin-bottom: 30px;
}

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

.auth-header p {
  color: #6c757d;
  font-size: 14px;
  margin: 0;
}

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

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

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #212529;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-label i {
  color: #28a745;
  font-size: 16px;
}

.form-control,
.form-select {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.form-control:focus,
.form-select:focus {
  border-color: #28a745 !important;
  background-color: white;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
}

.form-control::placeholder {
  color: #adb5bd;
}

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

.form-control.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

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

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-input {
  border: 2px solid #dee2e6;
  border-radius: 4px;
  cursor: pointer;
  width: 18px;
  height: 18px;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: #28a745;
  border-color: #28a745;
}

.form-check-label {
  font-size: 14px;
  color: #6c757d;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}

.forgot-link {
  color: #28a745;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.forgot-link:hover {
  color: #20c997;
  text-decoration: underline;
}

.btn-login {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  font-weight: 600;
  padding: 12px 24px;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, #238636 0%, #1fa589 100%);
  color: white;
}

.btn-outline-primary {
  color: #28a745;
  border: 2px solid #28a745;
  font-weight: 600;
  padding: 12px 24px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #28a745;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.auth-divider {
  text-align: center;
  margin: 25px 0;
  position: relative;
  font-size: 13px;
  color: #6c757d;
  font-weight: 500;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #dee2e6;
  z-index: 0;
}

.auth-divider span {
  background: white;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.alert {
  border-radius: 8px;
  border: none;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-left {
    display: none;
  }

  .auth-right {
    padding: 40px 30px;
  }

  .auth-header h2 {
    font-size: 20px;
  }

  .brand-icon {
    font-size: 40px;
  }
}
