.addinglist-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.inline-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 6px;
}

.inline-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 6px;
}

.stacked-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 6px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 6px;
        color: #4b5563;
    }

.text-input {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

    .text-input:focus {
        border-color: #00a3ff;
        box-shadow: 0 0 0 1px rgba(0, 163, 255, 0.25);
    }

.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.25);
}

.input-helper {
    margin-top: 4px;
    font-size: 12px;
    color: #b91c1c;
}

.btn-row-right {
    margin-top: 6px;
    display: flex;
    justify-content: flex-end;
}

.icon-btn {
    border-radius: 999px;
    border: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #eef2ff;
    color: #111827;
    box-shadow: 0 6px 14px rgba(148, 163, 184, 0.45);
    font-size: 18px;
    padding: 0;
}

    .icon-btn:hover {
        filter: brightness(0.97);
    }

.icon-btn-danger {
    background: #fee2e2;
    color: #b91c1c;
    box-shadow: none;
}

.simple-table-wrap {
    margin-top: 14px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    width: 100%;
}

.simple-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .simple-table thead {
        background: #f5f6ff;
    }

    .simple-table th,
    .simple-table td {
        padding: 10px 14px;
        border-bottom: 1px solid #e5e7eb;
        text-align: left;
        vertical-align: middle;
    }

    .simple-table tbody tr:nth-child(even) {
        background: #f9fafb;
    }

.item-text {
    font-weight: 600;
    color: #111827;
}

.action-cell {
    width: 70px;
    text-align: center;
}

.empty-cell {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

