@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: 20px;
  color: #e3e3e3;
}

.auth-container {
  width: 100%;
  max-width: 450px;
}

.auth-card {
  background: #1a1a1a;
  border: 1px solid #2d2d2d;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.auth-header i {
  font-size: 48px;
  color: #3b82f6;
  margin-bottom: 15px;
}

.auth-header h1 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.auth-header p {
  color: #9ca3af;
  font-size: 14px;
}

.auth-form h2 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
}

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

.form-group label {
  display: block;
  color: #e3e3e3;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-group label i {
  color: #3b82f6;
  margin-right: 5px;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2d2d2d;
  background: #212121;
  color: #e3e3e3;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: #4d4d4d;
  background: #2a2a2a;
}

.form-group input::placeholder {
  color: #6b7280;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.auth-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.auth-btn:active {
  transform: translateY(0);
}

.divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
  color: rgba(0, 255, 0, 0.5);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #00ff00;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.divider span {
  padding: 0 15px;
}

.google-btn {
  width: 100%;
  padding: 14px;
  background: white;
  color: #2c3e50;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}

.google-btn:hover {
  border-color: #667eea;
  background: #f8f9ff;
}

.google-btn i {
  font-size: 20px;
  color: #db4437;
}

.switch-form {
  text-align: center;
  margin-top: 25px;
  color: #9ca3af;
  font-size: 14px;
}

.switch-form a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.switch-form a:hover {
  color: #2563eb;
}

.auth-message {
  margin-top: 20px;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.auth-message.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid #10b981;
  border-radius: 8px;
}

.auth-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid #ef4444;
  border-radius: 8px;
}

/* Loading state */
.auth-btn:disabled,
.google-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 600px) {
  .auth-card {
    padding: 30px 25px;
  }

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

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