/* Reset & Base */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6f8;
  margin: 0;
  padding: 0;
}

.registration-container {
  max-width: 800px;
  margin: 50px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

form {
  display: flex;
  flex-direction: column;
}

/* Form Steps */
.form-step {
  display: none;
  flex-direction: column;
  animation: fadeIn 0.4s ease-in-out;
}

.form-step.active {
  display: flex;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="file"],
select {
  padding: 12px 14px;
  margin: 10px 0;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  transition: 0.2s border ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus {
  border-color: #007bff;
  outline: none;
}

/* Buttons */
button {
  padding: 12px 20px;
  margin-top: 20px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.next-btn,
.prev-btn {
  background-color: #007bff;
  color: white;
  margin-right: 10px;
}

.prev-btn {
  background-color: #6c757d;
}

.submit-btn {
  background-color: #28a745;
  color: white;
}

button:hover {
  opacity: 0.9;
}

/* Product Selection */
.category-block {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 8px;
}

.category-block h3 {
  margin-bottom: 10px;
  color: #444;
  font-size: 1.2rem;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-list label {
  display: flex;
  align-items: center;
  background-color: #e9ecef;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.product-list label:hover {
  background-color: #d6d8db;
}

input[type="checkbox"] {
  margin-right: 8px;
}

/* Upload Labels */
label input[type="file"] {
  display: block;
  margin-top: 5px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .registration-container {
    padding: 20px;
  }

  .product-list {
    flex-direction: column;
  }

  button {
    width: 100%;
  }
}
.input-error {
  border: 1px solid red;
  background-color: #ffe6e6;
}
