/* FORMULARIOS DE AÑADIR/EDITAR PRODUCTOS */
.form-rf-importados {
  max-width: 700px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}

.form-rf-importados h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #1a1a1a;
  text-align: center;
}

.form-rf-importados .form-group {
  margin-bottom: 1.5rem;
}

.form-rf-importados .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-rf-importados .form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  transition: border 0.2s ease;
}

.form-rf-importados .form-control:focus {
  outline: none;
  border-color: #5f4dee;
  box-shadow: 0 0 0 2px rgba(95, 77, 238, 0.2);
}

.form-rf-importados button.btn-primary {
  background-color: #5f4dee;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block;
  margin: 0 auto;
}

.form-rf-importados button.btn-primary:hover {
  background-color: #4834d4;
}

.form-rf-importados img {
  margin-top: 0.5rem;
  border-radius: 10px;
  max-width: 150px;
  height: auto;
  display: block;
}

.form-categoria {
  max-width: 480px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.1);
  padding: 30px 30px 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.form-categoria__titulo {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}

.form-categoria__grupo {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.form-categoria__label {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #444;
}

.form-categoria__input {
  padding: 12px 18px;
  font-size: 1rem;
  border-radius: 10px;
  border: 2px solid #ccc;
  transition: border-color 0.3s ease;
  outline-offset: 3px;
}

.form-categoria__input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 8px rgb(0 123 255 / 0.3);
}

.form-categoria__btn {
  background: linear-gradient(90deg, #0d6efd 0%, #6610f2 100%);
  border: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 42px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 6px 15px rgb(13 110 253 / 0.4);
}

.form-categoria__btn:hover {
  background: linear-gradient(90deg, #6610f2 0%, #0d6efd 100%);
  box-shadow: 0 8px 20px rgb(102 16 242 / 0.6);
}





@media(max-width: 768){
     .form-rf-importados {
    padding: 1.5rem;
  }
  .form-categoria {
    padding: 20px 20px 30px;
    max-width: 100%;
  }
}
}