/* Profile: the account's bans in force (Views/Profile/Index.cshtml). Only on the page when there is one. */

div.profile-view .p4f-ban {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 16px 12px 6px; /* the same width as the tab bar below */
	padding: 10px 14px;
	border: 1px solid #7a2a1c;
	border-left-width: 4px;
	border-radius: 3px;
	background: linear-gradient(180deg, rgba(90, 22, 12, 0.92) 0%, rgba(42, 10, 6, 0.92) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.6);
	color: #e8d9d3;
	font-size: 12px;
	line-height: 1.45;
}

/* a server ban weighs less: amber instead of red */
div.profile-view .p4f-ban.p4f-ban-server {
	border-color: #7a5a1c;
	background: linear-gradient(180deg, rgba(78, 56, 14, 0.92) 0%, rgba(38, 26, 6, 0.92) 100%);
}

div.profile-view .p4f-ban-icon {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	margin-top: 2px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke='%23ff6a4d' stroke-width='2.5'/%3E%3Cpath d='M5.3 5.3l13.4 13.4' stroke='%23ff6a4d' stroke-width='2.5'/%3E%3C/svg%3E");
}

div.profile-view .p4f-ban-server .p4f-ban-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke='%23f0b73b' stroke-width='2.5'/%3E%3Cpath d='M5.3 5.3l13.4 13.4' stroke='%23f0b73b' stroke-width='2.5'/%3E%3C/svg%3E");
}

div.profile-view .p4f-ban-body {
	min-width: 0;
}

div.profile-view .p4f-ban-title {
	color: #ff8a73;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-shadow: 0 1px 0 #000;
}

div.profile-view .p4f-ban-server .p4f-ban-title {
	color: #f0b73b;
}

div.profile-view .p4f-ban-time strong {
	color: #fff;
}

div.profile-view .p4f-ban-end {
	margin-left: 4px;
	color: #b9a59d;
}

div.profile-view .p4f-ban-reason {
	margin-top: 2px;
	word-wrap: break-word;
}

div.profile-view .p4f-ban-appeal {
	margin-top: 2px;
	color: #b9a59d;
	font-style: italic;
}
