/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
  min-height: 100vh;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo a {
  color: #ff6b35;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: #4a4a4a;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ff6b35;
}

.btn-login {
  background: transparent;
  color: #4a4a4a;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: #f5f5f5;
}

/* Auth Main */
.auth-main {
  padding-top: 70px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 40px;
}

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

.auth-header {
  text-align: center;
  margin-bottom: 40px;
  color: white;
}

.auth-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.auth-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Auth Card */
.auth-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Progress Indicator */
.progress-indicator {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e5e5e5;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.step.active span {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
}

.step p {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.step.active p {
  color: #ff6b35;
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.form-group.half {
  flex: 0.5;
}

.form-group label {
  font-weight: 500;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 16px;
  color: #666;
  z-index: 1;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  outline: none;
  border-color: #ff6b35;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.password-match {
  margin-top: 5px;
  font-size: 0.85rem;
}

.match-text {
  display: flex;
  align-items: center;
  gap: 5px;
}

.match-text.success {
  color: #22c55e;
}

.match-text.error {
  color: #ef4444;
}

.match-text::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.match-text.success::before {
  content: "\f00c"; /* check icon */
}

.match-text.error::before {
  content: "\f00d"; /* times icon */
}

/* Password Strength */
.password-strength {
  margin-top: 8px;
}

.strength-bar {
  height: 4px;
  background: #e5e5e5;
  border-radius: 2px;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.strength-text {
  font-size: 0.85rem;
  color: #666;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-color: #ff6b35;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.link {
  color: #ff6b35;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-full {
  width: 100%;
  margin-top: 10px;
}

/* Auth Footer */
.auth-footer {
  text-align: center;
  margin: 30px 0;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.auth-footer p {
  color: #666;
  font-size: 0.95rem;
}

.signup-link {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 600;
}

.signup-link:hover {
  text-decoration: underline;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: space-around;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.trust-item i {
  color: #22c55e;
  font-size: 1.5rem;
}

.trust-item span {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .auth-main {
    padding: 90px 15px 20px;
  }
  
  .auth-card {
    padding: 30px 20px;
  }
  
  .auth-header h1 {
    font-size: 2rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-group.half {
    flex: 1;
  }
  
  .progress-indicator {
    gap: 20px;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 15px;
  }
  
  .trust-item {
    flex-direction: row;
    justify-content: center;
  }
}