/* KrunkNative: the Account Manager window (client/src/ui/alt_manager_ui.c, ALT_MANAGER_WINDOW).
   v10's own classes (joinBtn, accountInput) come from the page's CSS; this file adds the list's grid and
   the tags. Every row is the same grid, so the name, tag and action columns line up across the list. */
.knAlt {
	color: #fff;
	text-align: left;
	padding: 16px 18px 18px 18px;
	font-size: 16px;
}

.knAltTitle {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 12px;
}

.knAltWarn {
	background-color: rgba(255, 90, 90, 0.15);
	border: 1px solid rgba(255, 90, 90, 0.5);
	border-radius: 6px;
	padding: 10px 12px;
	margin-bottom: 12px;
	font-size: 14px;
}

.knAltList {
	margin-bottom: 4px;
}

.knAltEmpty {
	color: rgba(255, 255, 255, 0.6);
	padding: 14px 4px;
	text-align: center;
}

/* name | tag | Use | Remove: one grid for every row */
.knAltRow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 96px 72px 84px;
	column-gap: 8px;
	align-items: center;
	white-space: nowrap;
	background-color: rgba(0, 0, 0, 0.35);
	border-radius: 8px;
	padding: 8px 12px;
	margin-bottom: 6px;
}

/* an inset outline, not a border: the active row's frame does not move the columns */
.knAltRow.knAltActive {
	background-color: rgba(255, 214, 0, 0.14);
	box-shadow: inset 0 0 0 1px rgba(255, 214, 0, 0.55);
}

.knAltName {
	min-width: 0;
	font-size: 16px;
	font-weight: bold;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.knAltTag {
	width: 84px;
	box-sizing: border-box;
	padding: 3px 0;
	border-radius: 10px;
	font-size: 12px;
	text-align: center;
	white-space: nowrap;
}

.knAltTagKn {
	background-color: rgba(90, 160, 255, 0.25);
	color: #cfe4ff;
}

.knAltTagKio {
	background-color: rgba(255, 140, 60, 0.25);
	color: #ffdcc2;
}

.knAltBtn {
	box-sizing: border-box;
	height: 30px;
	line-height: 30px;
	border-radius: 6px;
	font-size: 14px;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.knAltBtn:hover {
	background-color: rgba(255, 255, 255, 0.22);
}

.knAltUseBtn {
	width: 100%;
}

.knAltBtn.knAltOn {
	cursor: default;
	opacity: 0.55;
	background-color: rgba(255, 214, 0, 0.2);
}

.knAltBtn.knAltOn:hover {
	background-color: rgba(255, 214, 0, 0.2);
}

.knAltBtn.knAltDanger {
	background-color: rgba(255, 90, 90, 0.2);
}

.knAltBtn.knAltDanger:hover {
	background-color: rgba(255, 90, 90, 0.4);
}

.knAltAdd {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 14px;
	padding-top: 12px;
}

.knAltChips {
	margin-bottom: 8px;
}

.knAltChip {
	display: inline-block;
	margin-right: 8px;
	padding: 5px 12px;
	border-radius: 14px;
	font-size: 14px;
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.1);
}

.knAltChip.knAltChipOn {
	background-color: rgba(255, 214, 0, 0.3);
	font-weight: bold;
}

.knAlt .accountInput {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 8px 0;
}

.knAltWide {
	display: block;
	text-align: center;
	margin: 10px 0 0 0;
}

.knAltMsg {
	min-height: 20px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
	margin-top: 12px;
	line-height: 1.4;
}
