.bn-budget-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.bn-budget-table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    border-collapse: collapse;
    background-color: #111;
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.bn-budget-table + .bn-budget-table {
    margin-top: 16px;
}

.bn-budget-table thead th {
    background-color: #222;
    padding: 10px 12px;
    font-size: 15px;
    text-align: left;
    border-bottom: 1px solid #444;
}

.bn-budget-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #333;
    vertical-align: middle;
    font-size: 14px;
}

.bn-budget-table tbody tr:nth-child(even) td {
    background-color: #141414;
}

.bn-budget-table tbody tr:last-child td {
    border-bottom: none;
}

.bn-input-wrapper {
    position: relative;
}

.bn-input-wrapper input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    color: #fff;
    background-color: #1a1a1a;
    border: 1px solid #555;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    appearance: textfield;
}

.bn-input-wrapper input:focus {
    outline: none;
    border-color: #968b6b;
    box-shadow: 0 0 0 1px #968b6b;
}

.bn-input-wrapper .bn-unit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 13px;
    pointer-events: none;
}

.bn-budget-table span {
    font-weight: 600;
    font-size: 14px;
    color: #f0f0f0;
    display: inline-block;
    min-width: 20px;
}

.bn-budget-evidenza {
    text-transform: uppercase;
    font-weight: bold;
    background-color: #968b6b;
    color: #000;
    text-align: right;
}

.bn-budget-note {
    font-size: 12px;
    color: #bbbbbb;
    margin-top: -6px;
    margin-bottom: 8px;
    font-style: italic;
}
