/* ============================================
   FORM CONTAINER
   Stylized form for pipeline configuration
   ============================================ */

.form-stylized {
  /* Layout */
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.5rem;
  
  /* Visual - original variable used */
  background-color: var(--pipeline-selection-bg);
  border-radius: 0.9375rem;
}


/* ============================================
   FORM LABELS
   Input field labels
   ============================================ */

.form-stylized label {
  /* Typography */
  font-size: 1.125rem;
  font-weight: 600;
  
  /* Visual - original variable used */
  color: var(--text-color);
}


/* ============================================
   FORM INPUTS
   Text inputs and select dropdowns
   ============================================ */

.form-stylized input,
.form-stylized select {
  /* Layout */
  padding: 0.9375rem;
  appearance: none;
  
  /* Typography */
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
  caret-color: var(--text-color);
  
  /* Visual - original color preserved */
  background-color: #1e2225;
  border: none;
  border-radius: 0.625rem;
  
  /* Animation */
  transition: background-color 0.3s ease;
}

.form-stylized select {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
}

.form-stylized input:focus,
.form-stylized select:focus {
  /* Visual - original color preserved */
  background-color: #2c3e50;
  outline: none;
}


/* ============================================
   FORM BUTTON
   Submit button with gradient
   ============================================ */

.form-stylized button {
  /* Layout */
  display: inline-block;
  padding: 0.9375rem 2.1875rem;
  margin-bottom: 0.625rem;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  
  /* Typography */
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  text-decoration: none;
  color: var(--btn-text-color);
  
  /* Visual - original variables and border used */
  background: var(--btn-bg-gradient);
  border: 0.125rem solid var(--feature-box-border);
  border-radius: 1.875rem;
  
  /* Animation */
  transition: all 0.3s ease;
}

.form-stylized button:hover {
  /* Visual - original color preserved */
  background-color: var(--btn-hover-bg);
  color: #fff;
  transform: translateY(-0.3125rem);
  box-shadow: 
    0 0 1.25rem var(--btn-shadow),
    0 0 2.5rem var(--btn-shadow-active);
}


/* ============================================
   RESPONSIVE DESIGN
   Mobile form adjustments
   ============================================ */

@media (max-width: 48rem) {
  .form-stylized {
    padding: 1.25rem;
    gap: 0.9375rem;
  }

  .form-stylized label {
    font-size: 0.875rem;
  }

  .form-stylized input,
  .form-stylized select {
    font-size: 0.875rem;
    padding: 0.625rem;
  }

  .form-stylized button {
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
  }
}
