  /* asigură-te că toate controalele se mulează pe col width */
  #itemsTable td > .form-control,
  #itemsTable td > .form-select,
  #itemsTable td .select2-container { width: 100% !important; }

  /* denumirea poate face wrap pe 2 rânduri dacă e nevoie */
  #itemsTable td:nth-child(2) input.form-control {
    white-space: normal;
  }


body {
    font-size: 0.92rem;
    background-color: #f5f6fa;
}
.card {
    border-radius: 0.75rem;
    border: 1px solid #e1e4ea;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}
.card-title {
    font-weight: 600;
}
.table-offer-items {
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
    background-color: #fff;
}
.table-offer-items thead th {
    background: #f1f3f9;
    font-weight: 600;
    border-bottom: 1px solid #d0d7e2;
}
.table-offer-items th,
.table-offer-items td {
    vertical-align: middle;
}
/* Coloane: 1 = cod, 2 = denumire, 3 = cant, 4-5 preturi, 6 TVA, 7 stoc, 8 buton */
.table-offer-items th:nth-child(1),
.table-offer-items td:nth-child(1) {
    width: 24%;
}
.table-offer-items th:nth-child(2),
.table-offer-items td:nth-child(2) {
    width: 30%;
}
.table-offer-items th:nth-child(3),
.table-offer-items td:nth-child(3) {
    width: 8%;
}
.table-offer-items th:nth-child(4),
.table-offer-items td:nth-child(4),
.table-offer-items th:nth-child(5),
.table-offer-items td:nth-child(5) {
    width: 10%;
}
.table-offer-items th:nth-child(6),
.table-offer-items td:nth-child(6),
.table-offer-items th:nth-child(7),
.table-offer-items td:nth-child(7) {
    width: 8%;
}
.table-offer-items th:nth-child(8),
.table-offer-items td:nth-child(8) {
    width: 4%;
}
.table-offer-items input,
.table-offer-items select {
    min-width: 0;
}
@media (max-width: 767.98px) {
    .table-offer-items {
        font-size: 0.78rem;
    }
    .table-offer-items th:nth-child(1),
    .table-offer-items td:nth-child(1) {
        width: 34%;
    }
    .table-offer-items th:nth-child(2),
    .table-offer-items td:nth-child(2) {
        width: 30%;
    }
}
.badge-vat-warning {
    background-color: #dc3545;
}
.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.03em;
}
