body {
    background: #f8f9fa;
    color: #343a40;
    font-size: 0.95rem;
    line-height: 1.5;
}

main {
    background: #f1f3f5;
}

.no-bg {
    background: none !important;
}

.sidebar {
    background: #e9ecef;
}

.sidebar.collapsed {
    width: 80px;
    overflow: hidden;
    white-space: nowrap;
}

.sidebar.collapsed .sidebar-text,
.sidebar.collapsed .sidebar-title {
    display: none;
}

.sidebar .toggle-btn {
    border: none;
    background: none;
    font-size: 1rem;
}

.cursor-grab {
    cursor: grab;
}

.sortable-chosen td {
    background-color: var(--bs-light) !important;
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.03);
    cursor: grabbing;
}

.sortable-ghost td {
    background-color: var(--bs-secondary-bg) !important;
    opacity: 0.4;
}

.sortable-drag td {
    background-color: var(--bs-light) !important;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: grabbing;
}

.user-presence-container {
    display: flex;
    gap: 8px;
}

.presence-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

form,
.form-container {
    max-width: 800px;
}

.full-width-form {
    max-width: 100%;
}

.invoice-create-form {
    max-width: 1180px;
}

.card-like {
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.sidebar .nav-link.active {
  background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
  color: var(--bs-primary) !important;
  font-weight: 500;
}

h1, h2, h3 {
  font-weight: 600;
}

h4, h5, h6 {
  font-weight: 500;
}

.table thead th {
  font-weight: 500 !important;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table-number-input {
    min-width: 96px;
}

.table-quantity-input {
    min-width: 112px;
}

.table-co2-input {
    min-width: 72px;
}

.text-nowrap {
  white-space: nowrap;
}

.invoice-create-form .invoice-create-quantity-cell {
    min-width: 185px;
}

.invoice-create-form .invoice-create-supplier-cell {
    min-width: 160px;
}

.invoice-create-form .table-quantity-input {
    min-width: 140px;
}

.product-select-quantity-cell {
    min-width: 100px;
}

.product-select-quantity-input {
    min-width: 80px;
}
