/* ============================================
   BARASI SPECIFIC STYLES
   ============================================ */

.so-header {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.so-header-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.so-header-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.so-header-label {
  font-size: 0.875rem;
  color: var(--light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.so-header-value {
  font-size: 1.125rem;
  color: var(--brand);
  font-weight: 700;
}

.so-selector {
  position: relative;
}

.so-selector select {
  background: var(--background);
  border: 1px solid var(--tint);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.so-selector select:hover {
  border-color: #3B82F6;
}

.so-selector select:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.barasi-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.barasi-table-wrapper {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.barasi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.barasi-table thead {
  background: linear-gradient(135deg, var(--brand) 0%, var(--secondary) 100%);
  color: white;
}

.barasi-table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.barasi-table th:last-child {
  border-right: none;
}

.barasi-table td {
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--tint);
  color: var(--brand);
  text-align: left;
}

.barasi-table tbody tr:nth-child(even) {
  background: var(--bg-light);
}

.barasi-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

.barasi-table tbody tr.totals-row {
  background: var(--background);
  font-weight: 700;
  border-top: 2px solid var(--brand);
}

.barasi-table tbody tr.totals-row td {
  border-bottom: 2px solid var(--brand);
}

.barasi-spec-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.process-panel {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.process-panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.process-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--tint);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.process-item:last-child {
  border-bottom: none;
}

.process-item-label {
  font-size: 0.875rem;
  color: var(--tertiary);
  font-weight: 500;
}

.process-item-count {
  font-size: 0.875rem;
  font-weight: 700;
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

.shipment-date {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tint);
}

.shipment-date-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.shipment-date-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #EF4444;
  font-family: 'Manrope', monospace;
}

.barasi-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.barasi-actions .action-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.barasi-actions .btn-primary {
  background: #3B82F6;
  color: white;
}

.barasi-actions .btn-primary:hover {
  background: #1E40AF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.barasi-actions .btn-secondary {
  background: var(--background);
  color: var(--brand);
  border: 1px solid var(--tint);
}

.barasi-actions .btn-secondary:hover {
  background: white;
  border-color: #3B82F6;
  color: #3B82F6;
}
