/* Register Business Styles */
.register-business-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: #f2f2f2;
}

.register-form-wrapper {
  width: 100%;
  max-width: 640px;
}

.register-card {
  background: #ffffff;
  border-radius: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e1e5e9;
  padding-bottom: 50px;
}

.register-header {
  padding: 50px 50px 24px 50px;
  text-align: center;
  background: #ffffff;
}

.register-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

/* Tab Navigation */
.tab-navigation {
  max-width: 330px;
  display: flex;
  background: #f1f2f3;
  border-radius: 24px;
  padding: 4px;
  gap: 4px;
}

.tab-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-btn:hover {
  color: #495057;
  background: rgba(255, 255, 255, 0.7);
}
.tab-btn.active {
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form Body */
.register-body {
  padding: 0 50px;
}

.register-form .form-group {
  margin-bottom: 20px;
}
.register-form .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.register-form .form-input {
  width: 100%;
  padding: 16px 20px;
  padding-right: 50px;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 400;
  color: #000000;
  background: #ffffff;
  transition: all 0.2s ease;
  outline: none;
}
.register-form .form-input::-moz-placeholder {
  color: #000000;
  font-weight: 400;
}
.register-form .form-input::placeholder {
  color: #000000;
  font-weight: 400;
}
.register-form .form-input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
.register-form .form-input:hover {
  border-color: #ced4da;
}
.register-form .input-icon, .register-form .field-icon {
  position: absolute;
  right: 16px;
  color: #6c757d;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.register-form .input-icon:hover, .register-form .field-icon:hover {
  color: #495057;
}
.register-form .field-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.register-form .field-icon svg {
  transition: opacity 0.2s ease;
}

/* Register Button */
.register-btn {
  width: 100%;
  padding: 16px 24px;
  background: #dc3545;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 20px 0;
}
.register-btn:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}
.register-btn:active {
  transform: translateY(0);
}
.register-btn i {
  font-size: 14px;
}

/* Terms Text */
.terms-text {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 20px;
}
.terms-text .terms-link {
  color: #E40808;
  text-decoration: none;
  font-weight: 500;
}
.terms-text .terms-link:hover {
  text-decoration: underline;
}

/* Login Link */
.login-link {
  text-align: center;
  font-size: 14px;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.login-link i {
  font-size: 12px;
}
.login-link .login-link-text {
  color: #E40808;
  text-decoration: none;
  font-weight: 500;
}
.login-link .login-link-text:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
  .register-business-container {
    padding: 16px;
  }
  .register-header {
    padding: 24px 24px 20px;
  }
  .register-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .register-body {
    padding: 0 24px 24px;
  }
  .form-input {
    padding: 14px 18px;
    padding-right: 45px;
    font-size: 14px;
  }
  .input-icon, .field-icon {
    right: 14px;
    font-size: 14px;
  }
  .register-btn {
    padding: 14px 20px;
    font-size: 15px;
  }
  .tab-btn {
    padding: 10px 12px;
    font-size: 13px;
  }
}
/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.register-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Focus states for accessibility */
.tab-btn:focus,
.form-input:focus,
.register-btn:focus,
.terms-link:focus,
.login-link-text:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Error states */
.form-input.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Success states */
.form-input.success {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
