.form-container {
  max-width: 98% !important;
  /* Maximized width as requested */
  padding: 2rem;
  background: #f8fafc;
  /* Light background for the whole page/container */
}

/* Card Style for Sections */
.form-section-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.section-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1rem;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Grid Layouts */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.form-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .form-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .form-grid-3,
  .form-grid-4,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Attributes Grid */
.attributes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.attributes-grid .attr-col-full {
  grid-column: 1 / -1;
}

/* Styled Inputs to look more "premium" */
.form-input,
.form-select,
.form-textarea {
  border-color: #e2e8f0;
  background-color: #fff;
  transition: all 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

/* Add Attribute Bar */
.add-attribute-bar {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

/* Opportunities Table Styles */
.table-responsive {
  overflow-x: auto;
  width: 100%;
}

.opportunities-table {
  width: 100%;
  border-collapse: separate;
  /* Changed for border-radius */
  border-spacing: 0;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.opportunities-table th {
  text-align: left;
  padding: 1rem;
  background-color: #f1f5f9;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #e2e8f0;
}

.opportunities-table th:first-child {
  border-top-left-radius: 0.5rem;
}

.opportunities-table th:last-child {
  border-top-right-radius: 0.5rem;
}

.opportunities-table td {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.opportunities-table tr:hover td {
  background-color: #f8fafc;
}

.opportunities-table tr:last-child td {
  border-bottom: none;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #e2e8f0;
  color: #475569;
}

/* Large Multi Select Utility */
.multiselect-large {
  height: 15rem !important;
  /* Increased height ~240px */
  overflow-y: auto !important;
  padding: 0.5rem;
}

.multiselect-large option {
  padding: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.multiselect-large option:last-child {
  border-bottom: none;
}