* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #0b2559 0%, #1a3a7a 50%, #0d3b8c 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.auth-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.auth-left {
  flex: 1;
  background: linear-gradient(135deg, #0b2559 0%, #1a3a7a 50%, #0d3b8c 100%);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.3; }
}

.auth-left-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.brand-logo {
  margin-bottom: 50px;
}

.brand-logo img {
  max-width: 200px;
  height: auto;
  filter: brightness(0) invert(1);
}

.welcome-text {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.welcome-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 50px;
  line-height: 1.7;
}

.features-list, .benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item, .benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i, .benefit-item .benefit-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #4facfe;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.benefit-content h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.benefit-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

.auth-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.circle-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}

.circle-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  animation: float 15s ease-in-out infinite reverse;
}

.circle-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  animation: float 25s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #fff;
}

.auth-form-container {
  width: 100%;
  max-width: 480px;
}

.auth-header {
  margin-bottom: 40px;
}

.auth-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.auth-header p {
  color: #6b7280;
  font-size: 0.95rem;
}

.auth-form .form-group {
  margin-bottom: 25px;
}

.auth-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.auth-form .input-group {
  position: relative;
}

.auth-form .input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1.1rem;
  z-index: 10;
}

.auth-form .form-control {
  width: 100%;
  padding: 14px 15px 14px 50px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.auth-form .form-control:focus {
  outline: none;
  border-color: #1a73e8;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.auth-form .form-control.is-invalid {
  border-color: #ef4444;
}

.auth-form select.form-control {
  padding: 14px 15px 14px 50px;
  cursor: pointer;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 8px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #1a73e8;
}

.custom-checkbox label {
  color: #6b7280;
  font-size: 0.9rem;
  cursor: pointer;
  margin: 0;
}

.forgot-link {
  color: #1a73e8;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.forgot-link:hover {
  color: #1557b0;
}

.btn-submit {
  width: 100%;
  padding: 16px 30px;
  background: linear-gradient(135deg, #1a73e8 0%, #0b5dd8 100%);
  color: #fff;
  border: none;
  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: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 115, 232, 0.35);
}

.btn-submit.btn-disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.auth-divider {
  text-align: center;
  margin: 30px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
}

.auth-divider span {
  background: #fff;
  padding: 0 15px;
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
}

.auth-alt-text {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
}

.link-primary {
  color: #1a73e8;
  font-weight: 600;
  text-decoration: none;
}

.link-primary:hover {
  text-decoration: underline;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-social:hover {
  transform: translateY(-2px);
}

.btn-google {
  background: #fff;
  border-color: #e5e7eb;
  color: #374151;
}

.btn-google:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.btn-facebook {
  background: #1877F2;
  color: #fff;
}

.btn-facebook:hover {
  background: #166fe5;
}

.auth-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #e5e7eb;
}

.auth-footer a {
  color: #6b7280;
  font-size: 0.85rem;
  text-decoration: none;
}

.auth-footer a:hover {
  color: #374151;
}

.auth-footer .separator {
  margin: 0 12px;
  color: #d1d5db;
}

.alert {
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.alert-danger-custom {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.alert-success-custom {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

.terms-checkbox {
  background: #f9fafb;
  padding: 15px;
  border-radius: 10px;
}

.terms-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.terms-checkbox label {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
}

.terms-checkbox label a {
  color: #1a73e8;
  font-weight: 500;
}

.form-row {
  margin-bottom: 0;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 1024px) {
  .auth-left {
    display: none;
  }
  
  .auth-right {
    flex: 1;
  }
}

@media (max-width: 576px) {
  .auth-wrapper {
    padding: 0;
  }
  
  .auth-right {
    padding: 30px 20px;
  }
  
  .form-row-split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .auth-header h2 {
    font-size: 1.75rem;
  }
}
