/* quests_mission — slim */

.qm-assign-note {
	color: rgb(165, 169, 180);
}

.qm-assign-note strong {
	color: #ffffff;
}

.qm-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.qm-tab-btn.is-active,
.qm-tab-btn.is-active:hover,
.qm-tab-btn.is-active:focus {
	background-color: rgb(251, 71, 75) !important;
	border-color: rgb(251, 71, 75) !important;
	color: #ffffff !important;
}

.qm-tab-panel {
	display: none;
}

.qm-tab-panel.is-active {
	display: block;
}

.quests-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.quests-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	color: #ffffff;
	margin: 0;
}

.quests-table thead {
	background: rgb(49, 53, 65);
}

.quests-table th {
	padding: 14px 12px;
	text-align: center;
	font-weight: 600;
	color: #ffffff;
	border-bottom: 1px solid rgb(49, 53, 65);
	white-space: nowrap;
}

.quests-table td {
	padding: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: rgb(165, 169, 180);
	text-align: center;
	vertical-align: middle;
}

.quests-table .quest-col-name {
	text-align: left;
	font-weight: 600;
	color: #ffffff;
}

.quests-table .quest-col-desc {
	text-align: left;
	color: rgb(165, 169, 180);
}

.quest-player-link {
	color: rgb(93, 158, 255);
	text-decoration: none;
	font-weight: 500;
}

.quest-player-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

.staff-group-badge {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.quest-player-link-badge {
	text-decoration: none;
}

.quest-player-link-badge:hover {
	color: #ffffff;
	text-decoration: none;
	filter: brightness(1.08);
}

.quest-rank-badge {
	display: inline-block;
	min-width: 30px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(251, 71, 75, 0.18);
	border: 1px solid rgba(251, 71, 75, 0.45);
	color: #ffb3b5;
	font-weight: 700;
}

.quest-rank-badge--gold,
.quest-rank-badge--silver,
.quest-rank-badge--bronze {
	background: none;
	border-color: transparent;
	padding: 0 2px;
	min-width: auto;
	line-height: 1;
	font-size: 1.35em;
}

.quests-table tr.quest-top-history-trigger {
	cursor: pointer;
}

.quests-table tr.quest-top-history-trigger:hover td {
	background: rgba(251, 71, 75, 0.08);
}

.quest-player-id {
	color: rgb(165, 169, 180);
	font-size: 12px;
}

.quest-status {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 12px;
}

.quest-status-active {
	background: rgba(93, 158, 255, 0.16);
	color: #9bc8ff;
}

.quest-status-done {
	background: rgba(36, 227, 77, 0.16);
	color: #75ec9b;
}

.quest-status-expired {
	background: rgba(251, 71, 75, 0.16);
	color: #ff8f8f;
}

.info-message,
.error-message {
	margin-bottom: 12px;
	border-radius: 8px;
	padding: 12px;
}

.info-message {
	background: rgba(93, 158, 255, 0.14);
	border: 1px solid rgba(93, 158, 255, 0.45);
	color: #8fc1ff;
}

.error-message {
	background: rgba(251, 71, 75, 0.14);
	border: 1px solid rgba(251, 71, 75, 0.45);
	color: #ff9a9a;
}

.qm-modal {
	position: fixed;
	inset: 0;
	z-index: 4000;
}

.qm-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 12, 18, 0.72);
}

.qm-modal-dialog {
	position: relative;
	width: min(560px, calc(100% - 20px));
	margin: 70px auto 0;
	background: rgb(36, 39, 49);
	border: 1px solid rgb(49, 53, 65);
	border-radius: 8px;
	overflow: hidden;
}

.qm-modal-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 16px;
	border-bottom: 1px solid rgb(49, 53, 65);
	color: #ffffff;
}

.qm-modal-close {
	border: 0;
	background: transparent;
	color: rgb(165, 169, 180);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.qm-modal-body {
	padding: 16px;
}

.qm-description {
	color: rgb(165, 169, 180);
	margin-bottom: 14px;
}

.qm-modal-inline-error {
	margin-bottom: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid rgba(251, 71, 75, 0.55);
	background: rgba(251, 71, 75, 0.16);
	color: #ffb0b0;
	font-size: 13px;
}

.qm-modal-body .qm-label {
	display: block;
	margin-bottom: 6px;
	color: #ffffff;
	font-weight: 600;
	font-size: 13px;
}

.qm-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 14px 16px;
	border-top: 1px solid rgb(49, 53, 65);
}

.qm-suggestions {
	position: absolute;
	top: calc(100% + 2px);
	left: 0;
	right: 0;
	background: rgb(36, 39, 49);
	border: 1px solid rgb(49, 53, 65);
	border-radius: 6px;
	max-height: 220px;
	overflow-y: auto;
	z-index: 4050;
}

.qm-suggestion-item {
	padding: 8px 10px;
	border-bottom: 1px solid rgb(49, 53, 65);
	cursor: pointer;
	color: rgb(165, 169, 180);
	font-size: 13px;
}

.qm-suggestion-item:last-child {
	border-bottom: 0;
}

.qm-suggestion-item:hover {
	background: rgba(251, 71, 75, 0.16);
	color: #ffffff;
}

.qm-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.qm-pagination .qm-btn,
.qm-pagination a {
	display: inline-block;
	text-decoration: none;
	padding: 6px 10px;
	border-radius: 6px;
	background: rgb(49, 53, 65);
	border: 1px solid rgb(49, 53, 65);
	color: #ffffff;
	font-size: 12px;
}

.qm-pagination .qm-btn-primary,
.qm-pagination a.active {
	background: rgb(251, 71, 75);
	border-color: rgb(251, 71, 75);
}
