.at-wrapper {
	margin: 1rem 0;
}

#at-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px auto;
}

#at-table th,
#at-table td {
	border: 1px solid #dadada;
	padding: .5rem;
	text-align: center;
}

#at-table input[type=number] {
	max-width: 100px;
}

#at-table select {
	max-width: 200px;
}

#at-table input[type=number],
#at-table select {
	box-sizing: border-box;
	cursor: pointer;
	/* display: block; */
	/* height: 28px; */
	user-select: none;
	-webkit-user-select: none;
	/* line-height: 1.42857143; */
	padding: 6px 0px 6px 5px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	color: #555;
	font-size: 14px;
	outline: 0;
}

#at-table tbody tr:nth-child(even) {
	background: #fafafa;
}

#at-add,
#at-save,
#at-year {
	margin-right: .5rem;
	color: #000 !important;
	background-color: transparent;
	border: 1px solid #000;
	font-weight: 600;
	border-radius: 5px;
	padding: 6px 25px;
	transition: all 200ms ease-in-out;
	min-height: 38px;
}

.at-remove {
	background: transparent;
	border: none;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

/* make “USD” sit flush left of the input */
.money-cell {
	/* display: flex; */
	align-items: center;
	gap: 4px;
	justify-content: center;
}

.money-cell .currency {
	font-weight: 600;
}

input.money {
	width: 80px;
	/* keeps the cell neat */
	text-align: right;
	font-family: monospace;
}

/* keep the new total column tidy */
.row-total {
	width: 90px;
	text-align: right;
	font-weight: 600;
}

/* simple styling for the summary strip */
#at-summary {
	margin: 0.5rem 0 1rem;
	font-weight: 600;
}

td.row-total {
    min-width: 110px;
}
/* red highlight for empty member cells */
.at-error {
    background: #ffe6e6 !important;
}

.at-error select {
    border-color: #d00 !important;
}