/**
*
* @package phpBB Extension - Board Magic
* @copyright (c) 2024 SpIdErPiGgY - https://www.phpbbnextl.be
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

/** FA Iconen */
.fa-heart {
	color: #ff73b3;
	animation: heartbeat 2s ease-in-out infinite;
	display: inline-block;
	transform-origin: center;
	filter: drop-shadow(0 0 6px rgba(255,115,179,.35));
}

@keyframes heartbeat {
	0%, 100% {
		transform: scale(1);
	}

	15% {
		transform: scale(1.12);
	}

	30% {
		transform: scale(1);
	}

	45% {
		transform: scale(1.08);
	}

	60% {
		transform: scale(1);
	}
}

.fa-book {
	color: #80bfff;
	filter: drop-shadow(0 0 6px rgba(128,191,255,.35));
	transition: all .25s ease;
}

.fa-book:hover {
	color: #a8d4ff;
	transform: scale(1.1);
	filter: drop-shadow(0 0 10px rgba(128,191,255,.70));
}

/** Header Banner Extensie */
.headerbar .header-banner {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1px !important;
	max-width: 100%;
}

/* style the announcement banner */
.phpbb_announcement {
	font-size: 0.85rem;
	background: #1b1f27 !important;
	border: 1px solid rgba(230, 106, 164, .18);
	border-radius: 7px;
	position: relative;
	margin: 10px 0;
	padding: 10px;
	color: #dce4ec;
}

.phpbb_announcement strong {
	color: #f4f6f8;
}

/* =========================================================
   SPIDERPIGGY TRIVIA MENUBALK
   ========================================================= */

.sp-trivia-topbar {
	margin: 7px 0;
	padding: 4px 8px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 11px;
	background: rgba(23, 27, 34, .94);
	box-shadow: 0 7px 22px rgba(0, 0, 0, .16);
}

.sp-trivia-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-wrap: wrap;
}

.sp-trivia-nav a {
	padding: 5px 9px;
	border-radius: 7px;
	color: #cbd5df;
	text-decoration: none;
	font-size: .82rem;
	font-weight: 700;
	line-height: 1.2;
	transition: .18s ease;
}

.sp-trivia-nav a:hover {
	color: #fff;
	background: rgba(255, 255, 255, .055);
	text-decoration: none;
}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 700px) {

	.sp-trivia-topbar {
		margin: 5px 0;
		padding: 5px;
		border-radius: 9px;
	}

	.sp-trivia-nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px;
	}

	.sp-trivia-nav a {
		padding: 6px 5px;
		text-align: center;
		font-size: .75rem;
		background: rgba(255, 255, 255, .025);
		border: 1px solid rgba(255, 255, 255, .05);
	}
}

/* =========================================================
   DEFAULT AVATAR EXT
   ========================================================= */

img.default-avatar-profile {
	width: 125px;
	height: 125px;
	border-radius: 50%;
	object-fit: cover;
}

/* =========================================================
   LIVE CHAT STATUS
   ========================================================= */

.sp-chat-status {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	margin: 10px 0 6px;
	padding: 11px 15px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 12px;
	background:
		radial-gradient(
			circle at 5% 50%,
			rgba(128, 191, 255, .06),
			transparent 25%
		),
		#1b1f27;
	color: #f4f6f8;
	text-decoration: none !important;
	transition:
		border-color .18s ease,
		background .18s ease;
}

.sp-chat-status:hover {
	border-color: rgba(230, 106, 164, .35);
	background: #20252f;
}

.sp-chat-status.sp-chat-online {
	border-color: rgba(80, 216, 144, .25);
}

.sp-chat-status-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .045);
}

.sp-chat-status.sp-chat-online .sp-chat-status-icon {
	background: rgba(80, 216, 144, .10);
}

.sp-chat-status-copy {
	min-width: 0;
}

.sp-chat-status-copy strong {
	display: block;
	margin-bottom: 2px;
	color: #f4f6f8;
	font-size: 13px;
	font-weight: 700;
}

.sp-chat-status-copy > span {
	display: block;
	color: #99a3b3;
	font-size: 11px;
	line-height: 1.35;
}

.sp-chat-status-link {
	white-space: nowrap;
	color: #ff73b3;
	font-size: 12px;
	font-weight: 700;
}

/* Chatstatus verbergen op smartphone portrait */
@media (max-width: 700px) and (orientation: portrait) {
	.sp-chat-status {
		display: none !important;
	}
}

/* cBB Attachments */
.inline-attachment {
	margin: 18px 0 !important;
}

.attachbox {
	margin-top: 18px !important;
	margin-bottom: 18px !important;
}
/* Chatlink en wikiknop in de bestaande statusbalk */
.sp-chat-status-main {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-width: 0;
	text-decoration: none !important;
}

.sp-chat-status-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 7px;
}

.sp-chat-status-actions .sp-chat-status-link {
	color: #ff73b3;
	text-decoration: none;
}

.sp-chat-status-actions .sp-chat-status-link:hover {
	color: #ff9aca;
	text-decoration: underline;
}

.sp-chat-status-actions .sp-forum-wiki-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border: 1px solid rgba(128, 191, 255, .32);
	border-radius: 8px;
	background: rgba(128, 191, 255, .08);
	color: #9dccff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease;
}

.sp-chat-status-actions .sp-forum-wiki-link:hover {
	border-color: rgba(128, 191, 255, .6);
	background: rgba(128, 191, 255, .16);
	color: #d2e8ff;
	text-decoration: none;
}

.sp-chat-status a:focus-visible {
	outline: 2px solid #80bfff;
	outline-offset: 4px;
	border-radius: 8px;
}

@media (max-width: 700px) {
	.sp-chat-status {
		grid-template-columns: minmax(0, 1fr);
	}
	.sp-chat-status-actions {
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sp-chat-status-actions .sp-forum-wiki-link {
		transition: none;
	}
}

/* Notice BBCode */
.sp-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0;
	padding: 12px 14px;
	color: #dce4ec;
	background: rgba(93, 173, 226, 0.08);
	border: 1px solid rgba(93, 173, 226, 0.22);
	border-left: 4px solid #5dade2;
	border-radius: 7px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.sp-notice-icon {
	flex: 0 0 auto;
	margin-top: 1px;
	color: #5dade2;
	font-size: 16px;
	line-height: 1.4;
}

.sp-notice-text {
	flex: 1;
	min-width: 0;
	line-height: 1.55;
}

.sp-notice-text > :first-child {
	margin-top: 0;
}

.sp-notice-text > :last-child {
	margin-bottom: 0;
}

/* TIP BBCode */
.sp-tip {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0;
	padding: 12px 14px;
	color: #dce4ec;
	background: rgba(98, 212, 165, 0.08);
	border: 1px solid rgba(98, 212, 165, 0.22);
	border-left: 4px solid #62d4a5;
	border-radius: 7px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.sp-tip-icon {
	flex: 0 0 auto;
	margin-top: 1px;
	color: #62d4a5;
	font-size: 16px;
	line-height: 1.4;
}

.sp-tip-text {
	flex: 1;
	min-width: 0;
	line-height: 1.55;
}

.sp-tip-text > :first-child {
	margin-top: 0;
}

.sp-tip-text > :last-child {
	margin-bottom: 0;
}

/* WARNING BBCode */
.sp-warning {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0;
	padding: 12px 14px;
	color: #dce4ec;
	background: rgba(240, 173, 78, 0.08);
	border: 1px solid rgba(240, 173, 78, 0.24);
	border-left: 4px solid #f0ad4e;
	border-radius: 7px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.sp-warning-icon {
	flex: 0 0 auto;
	margin-top: 1px;
	color: #f0ad4e;
	font-size: 16px;
	line-height: 1.4;
}

.sp-warning-text {
	flex: 1;
	min-width: 0;
	line-height: 1.55;
}

/* SUCCESS BBCode */
.sp-success {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0;
	padding: 12px 14px;

	color: #dce4ec;
	background: rgba(98, 212, 165, 0.08);

	border: 1px solid rgba(98, 212, 165, 0.22);
	border-left: 4px solid #62d4a5;
	border-radius: 7px;

	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.sp-success-icon {
	flex: 0 0 auto;
	margin-top: 1px;
	color: #62d4a5;
	font-size: 16px;
	line-height: 1.4;
}

.sp-success-text {
	flex: 1;
	min-width: 0;
	line-height: 1.55;
}

/* DANGER BBCode */
.sp-danger {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0;
	padding: 12px 14px;
	color: #dce4ec;
	background: rgba(220, 83, 96, 0.08);
	border: 1px solid rgba(220, 83, 96, 0.24);
	border-left: 4px solid #dc5360;
	border-radius: 7px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.sp-danger-icon {
	flex: 0 0 auto;
	margin-top: 1px;
	color: #dc5360;
	font-size: 16px;
	line-height: 1.4;
}

.sp-danger-text {
	flex: 1;
	min-width: 0;
	line-height: 1.55;
}