/* Base Styles for Assemblies Frontend Form */
.assemblies-frontend-form {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #333;
}

.assemblies-frontend-form h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0073aa;
}

/* Explanation Section */
.assembly-info {
  background-color: #f9f9f9;
  padding: 15px;
  border-left: 5px solid #0073aa;
  margin-bottom: 20px;
  border-radius: 4px;
}

.assembly-info h4 {
  margin-top: 0;
  color: #0073aa;
}

.assembly-info p {
  margin: 0 0 10px;
  line-height: 1.5;
}

/* Assembly General Details */
.assembly-general-details {
  background-color: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  border-radius: 4px;
}

.assembly-general-details label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.assembly-general-details input,
.assembly-general-details textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Table Styles */
.table-responsive {
  overflow-x: auto;
}

#assembly-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

#assembly-items-table th,
#assembly-items-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
}

#assembly-items-table th {
  background-color: #0073aa;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
}

#assembly-items-table td {
  font-size: 0.9rem;
}

/* Form Controls in Table */
#assembly-items-table input.form-control {
  width: 100%;
  padding: 8px;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

#assembly-items-table input[type="file"].form-control {
  padding: 3px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: #0073aa;
  color: #fff;
}

.btn-secondary {
  background-color: #555;
  color: #fff;
}

.btn-danger {
  background-color: #d63638;
  color: #fff;
}

/* Utility Classes */
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.my-5 { margin-top: 3rem; margin-bottom: 3rem; }

/* Hover Effect on Table Rows */
#assembly-items-table tr:hover {
  background-color: #f1f1f1;
}

/* Responsive Styles for Mobile */
@media (max-width: 767px) {
  .assemblies-frontend-form {
    padding: 10px;
  }
  .assemblies-frontend-form h2 {
    font-size: 1.5rem;
  }
  #assembly-items-table th,
  #assembly-items-table td {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}


