/**
 *
 * @package phpBB Extension - Board Magic
 * @copyright (c) 2024 SpIdErPiGgY
 * @license GNU General Public License v2
 *
 */

/* ==========================================================
   ACHTERGROND
========================================================== */

html,
body {
	background-color: #424251 !important;
	background: url("https://www.phpbbextnl.be/images/Background3.jpg") no-repeat center center fixed !important;
	-webkit-background-size: cover !important;
	       -moz-background-size: cover !important;
	         -o-background-size: cover !important;
	            background-size: cover !important;
}


/* ==========================================================
   HEADER LINKS
========================================================== */

.headerlink-link {
	display: block;
	height: 13px;
	padding: 6px;

	font-size: 13px;
	white-space: nowrap;

	background-color: var(--headerlink-bg);
	border-radius: 4px;

	box-shadow:
		#005cb9 0 0 0 2px,
		rgba(6, 24, 44, 0.65) 0 4px 6px -1px,
		rgba(255, 255, 255, 0.08) 0 1px 0 inset;

	transition: background-color 0.2s;
}


/* ==========================================================
   PROFIEL ELEMENTEN
========================================================== */

.postprofile dt.no-profile-rank,
.postprofile dd.profile-rank,
.postprofile .search-result-date {
	font-size: 0 !important;
}

.profile-rank img {
	max-width: 160px;
	margin-top: 5px;
	margin-bottom: 1px;
}


/* ==========================================================
   FORUM LIJSTEN
========================================================== */

ul.forums {
	background-color: #DDDDDD;
	background-image: linear-gradient(to bottom, #D2E0EB 0%, #DDDDDD 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#D2E0EB", endColorstr="#DDDDDD", GradientType=0);
}

.cp-mini {
	background-color: #DDDDDD;
}

li.row {
	border-top-color: #d3d3d3;
	border-bottom-color: #00608F;
}


/* ==========================================================
   DARKPROTOCOL
========================================================== */

.DarkProtocol {
	display: inline !important;
	padding: 0 !important;
	font-weight: bold;
	color: #AA0000;
}

.DarkProtocol:hover {
	color: #AA0000;
}


/* ==========================================================
   USER INFO DEMON
========================================================== */

.user-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
}

.user-ip-demon {
	color: #AA0000;
	animation: hellFlicker 2.2s infinite;
}
@keyframes hellFlicker {
	0%, 19%, 22%, 62%, 64%, 100% { opacity: 1; }
	20%, 63% { opacity: 0.4; }
}

.user-ip-demon::before {
	content: "☠ ";
}

.user-ip-demon::after {
	content: " ☠";
}

.user-agent-demon {
	display: block;
	margin-top: 2px;

	font-family: Consolas, "Courier New", monospace;
	font-size: 1.02em;
	line-height: 1.4;

	color: #8a0000;
	letter-spacing: 0.03em;
	font-style: italic;

	text-shadow: 0 0 2px rgba(255, 0, 0, 0.25);
}


/* ==========================================================
   AVATARS
========================================================== */

img.avatar {
	border-radius: 20px !important;
}

img[src*="gravatar"] {
	border-radius: 50px !important;
}


/* ==========================================================
   FONT AWESOME EFFECTEN
========================================================== */

.fa:hover,
.fa-fw:hover {
	display: inline-block;
	cursor: default;
	transform: rotate(360deg);
	transition: all 0.9s ease-in-out 0s;
}

.fa-paypal      { color: #ff3535; }
.fa-users       { color: #0080c0; }
.fa-globe       { color: #0000ff; }
.fa-calendar    { color: #ff0000; }
.fa-comments-o  { color: #ff8000; }
.fa-tree		{ color: #008000 !important; }


/* ==========================================================
   PDF ICON
========================================================== */

a[href*=".pdf"] {
	background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right center;
	padding: 8px 18px 8px 0;
}


/* ==========================================================
   BBCode HULP
========================================================== */

.dangerhulp {
	background-color: #a8d3ff;
	border-left: 6px solid #000;
	border-style: inset;
}


/* ==========================================================
   POST CONTENT
========================================================== */

.postcontent {
	position: relative;

	padding: 14px 16px !important;

	border: 2px solid rgba(46, 90, 136, 0.25) !important;
	border-style: dotted dashed solid double !important;
	border-radius: 12px !important;

	background: linear-gradient(180deg, #F2F7F9 0%, #EAF0F3 100%) !important;

	box-shadow:
		0 2px 5px rgba(46, 90, 136, 0.1),
		inset 0 1px 3px rgba(255, 255, 255, 0.4) !important;

	transition:
		box-shadow 0.3s ease,
		border-color 0.3s ease,
		background-color 0.3s ease !important;
}


/* ==========================================================
   BADGES
========================================================== */

.badge1 {
	display: inline-block;
	position: relative;
	top: 2px;

	padding: 4px 7px;
	margin-left: 4px;

	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	white-space: nowrap;

	color: #2A3D4E;

	background: linear-gradient(180deg, #EDEFF1 0%, #E3E8EB 100%);
	border: 1px solid rgba(46, 90, 136, 0.25);
	border-radius: 8px;

	opacity: 0.95;

	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.badge1:hover {
	background: linear-gradient(180deg, #E4E8EB 0%, #D9DFE3 100%);
	border-color: rgba(46, 90, 136, 0.35);
	color: #1F3E61;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.badge1.hidden {
	display: none;
}

.count {
	font-weight: 600;
	color: inherit;
}


/* ==========================================================
   BUTTON
========================================================== */

.myButton {
	display: inline-block !important;

	padding: 8px 18px !important;

	font-family: "Inter", "Segoe UI", Roboto, sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;

	color: #ffffff !important;

	background: linear-gradient(135deg, #2E5A88 0%, #1F3E61 100%) !important;
	border-radius: 8px !important;
	border: none !important;

	box-shadow:
		0 2px 6px rgba(46, 90, 136, 0.25),
		inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;

	text-decoration: none !important;
	cursor: pointer !important;

	transition:
		background 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.1s ease !important;
}

.myButton:hover {
	background: linear-gradient(135deg, #3C6FA8 0%, #264E7A 100%) !important;
	box-shadow:
		0 4px 10px rgba(46, 90, 136, 0.35),
		inset 0 1px 2px rgba(255, 255, 255, 0.2) !important;
	transform: translateY(-1px);
}

.myButton:active {
	transform: translateY(1px);
	box-shadow:
		0 2px 4px rgba(46, 90, 136, 0.25),
		inset 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

/* === Indexstats (verfijnde stijl) === */
.stat-block.statistics {
	background: var(--bg2, #F2F7F9);
	border: 1px solid var(--border-color, rgba(46, 90, 136, 0.25));
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0;
	box-shadow: 0 2px 6px rgba(46, 90, 136, 0.08);
	font-family: "Inter", "Segoe UI", Roboto, sans-serif;
	color: #243447;
	text-align: left;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.stat-block.statistics:hover {
	box-shadow: 0 3px 10px rgba(46, 90, 136, 0.12);
	border-color: rgba(46, 90, 136, 0.4);
}
.stat-block.statistics h3 {
	font-size: 1.15rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #2E5A88;
	margin-bottom: 1rem;
	border-bottom: 2px solid #2E5A88;
	padding-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.stat-block.statistics p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #2c3e50;
	margin: 0;
}
.stat-block.statistics strong { color: #2E5A88; font-weight: 600; }
@media (max-width: 768px) {
	.stat-block.statistics { padding: 0.9rem 1rem; }
	.stat-block.statistics h3 {
		font-size: 1.05rem;
		margin-bottom: 0.7rem;
		padding-bottom: 0.4rem;
	}
	.stat-block.statistics p {
		font-size: 0.95rem;
		line-height: 1.45;
	}
	.responsive-hide { display: none; }
	.stat-block.statistics p br {
		display: block;
		margin-bottom: 0.3rem;
	}
}
/* Cleansilver */
.global_read, .global_read_mine, .global_read_locked, .global_read_locked_mine,
.global_unread, .global_unread_mine, .global_unread_locked, .global_unread_locked_mine,
.announce_read, .announce_read_mine, .announce_read_locked, .announce_read_locked_mine,
.announce_unread, .announce_unread_mine, .announce_unread_locked, .announce_unread_locked_mine,
.forum_link, .forum_read, .forum_read_locked, .forum_read_subforum, .forum_unread, .forum_unread_locked,
.forum_unread_subforum, .sticky_read, .sticky_read_mine, .sticky_read_locked, .sticky_read_locked_mine,
.sticky_unread, .sticky_unread_mine, .sticky_unread_locked, .sticky_unread_locked_mine,
.topic_moved, .topic_read, .topic_read_mine, .topic_read_hot, .topic_read_hot_mine,
.topic_read_locked, .topic_read_locked_mine, .topic_unread, .topic_unread_mine,
.topic_unread_hot, .topic_unread_hot_mine, .topic_unread_locked, .topic_unread_locked_mine,
.pm_read, .pm_unread { background-image: none; }
.row-item:before {
	font-size: 30px;
	left: 15px;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-family: FontAwesome;
}
.global_read:before, .global_read_mine:before { content: "\f0ac"; color: #0076b1; }
.announce_read:before, .announce_read_mine:before { content: "\f0a1"; color: #0076b1; }
.sticky_read:before, .sticky_read_mine:before { content: "\f08d"; color: #0076b1; left: 18px; }
.global_unread:before, .global_unread_mine:before { content: "\f0ac"; color: #0076b1; }
.announce_unread:before, .announce_unread_mine:before {
	content: "\f0a1"; color: #CC0000; -webkit-animation: flash 2s ease infinite; animation: flash 2s ease infinite;
}
.sticky_unread:before, .sticky_unread_mine:before { content: "\f08d"; color: #CC0000; left: 18px; }
.global_read_locked:before, .global_read_locked_mine:before,
.announce_read_locked:before, .announce_read_locked_mine:before,
.forum_read_locked:before, .sticky_read_locked:before, .sticky_read_locked_mine:before,
.topic_read_locked:before, .topic_read_locked_mine:before {
	content: "\f023"; color: #0076b1; font-size: 40px;
}
.global_unread_locked:before, .global_unread_locked_mine:before,
.announce_unread_locked:before, .announce_unread_locked_mine:before,
.forum_unread_locked:before, .sticky_unread_locked:before, .sticky_unread_locked_mine:before,
.topic_unread_locked:before, .topic_unread_locked_mine:before {
	content: "\f023"; color: #CC0000; font-size: 40px;
}
.forum_link:before { content: "\f08e"; color: #0076b1; left: 10px; }
.forum_read:before { content: "\f039"; color: #0076b1; left: 10px; }
.topic_read:before, .topic_read_mine:before { content: "\f15c"; color: #0076b1; }
.forum_read_subforum:before { content: "\f03a"; color: #0076b1; left: 10px; }
.forum_unread_subforum:before { content: "\f03a"; color: #CC0000; left: 10px; }
.forum_unread:before {
	content: "\f039"; color: #CC0000; left: 10px;
	mask: linear-gradient(-45deg, #000 30%, #0005, #000 70%) right/350% 100%;
	animation: shimmer 2.5s infinite; animation-iteration-count: 3;
}
@keyframes shimmer { 100% { mask-position: left; } }
.topic_unread:before, .topic_unread_mine:before { content: "\f15c"; color: #CC0000; }
.topic_moved:before { content: "\f04e"; color: #0076b1; }
.topic_read_hot:before, .topic_read_hot_mine:before { content: "\f0e7"; color: #0076b1; left: 20px; }
.topic_unread_hot:before, .topic_unread_hot_mine:before {
	content: "\f0e7"; color: #CC0000; left: 20px;
	-webkit-animation: flash 2s ease infinite; animation: flash 2s ease infinite;
}
.pm_read:before { content: "\f086"; color: #0076b1; }
.pm_unread:before { content: "\f086"; color: #CC0000; -webkit-animation: flash 2s ease infinite; animation: flash 2s ease infinite; }
.topic_unread_hot_mine:before, .topic_unread_mine:before, .topic_unread_locked_mine:before,
.sticky_unread_locked_mine:before, .sticky_unread_mine:before, .announce_unread_mine:before,
.announce_unread_locked_mine:before, .global_unread_mine:before, .global_unread_locked_mine:before { color: #CC0000; }
/* ===== Milestones widget (Stoker) — zonder topbalk ===== */
#stoker-ms {
	font: 14px/1.5 "Inter", "Segoe UI", system-ui, sans-serif;
	width: 100%;
	margin-top: 12px;
}
#stoker-ms .stoker-ms-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 10px;
}
@media (max-width: 700px) {
	#stoker-ms .stoker-ms-grid { grid-template-columns: 1fr; }
}
#stoker-ms .stoker-ms-card {
	background: linear-gradient(180deg, #F2F7F9 0%, #E9F0F3 100%);
	border: 1px solid rgba(46, 90, 136, 0.25);
	border-radius: 12px;
	padding: 14px 16px;
	box-shadow: 0 2px 6px rgba(46, 90, 136, 0.08);
	transition: box-shadow 0.3s ease, transform 0.2s ease;
}
#stoker-ms .stoker-ms-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(46, 90, 136, 0.12);
}
#stoker-ms .stoker-ms-hdr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
#stoker-ms .stoker-ms-title {
	font-weight: 700;
	font-size: 18px;
	margin: 0;
	color: #1F3E61;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
#stoker-ms .stoker-ms-title a {
	color: inherit;
	text-decoration: none;
}
#stoker-ms .stoker-ms-title .fa { margin-right: .4em; color: #2E5A88; }
#stoker-ms .stoker-ms-badge {
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #E6EEF7;
	color: #2E5A88;
	border: 1px solid rgba(46, 90, 136, 0.3);
	white-space: nowrap;
}
#stoker-ms .stoker-ms-desc {
	color: #333;
	margin: 8px 0 12px;
	line-height: 1.5;
	white-space: pre-wrap;
	overflow: hidden;
}
#stoker-ms .stoker-ms-meta-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 8px 0;
	font-size: 13px;
	color: #57606a;
}
#stoker-ms .stoker-ms-bar {
	height: 12px;
	background: #e3e8ec;
	border-radius: 6px;
	overflow: hidden;
	margin: 8px 0 10px;
}
#stoker-ms .stoker-ms-fill {
	height: 100%;
	background: #3fb950;
	transition: width 0.3s ease;
}
#stoker-ms .stoker-ms-updated {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12.5px;
	color: #5a6572;
	margin-top: 8px;
}
#stoker-ms .stoker-ms-updated-right {
	font-style: italic;
	white-space: nowrap;
}
#stoker-ms .stoker-ms-card a {
	outline: none;
	text-decoration: none;
}
#stoker-ms .stoker-ms-card a:focus {
	outline: 2px solid #2E5A88;
	outline-offset: 2px;
	border-radius: 6px;
}
@media (max-width: 500px) {
	#stoker-ms .stoker-ms-meta-top, #stoker-ms .stoker-ms-updated {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
	#stoker-ms .stoker-ms-updated { text-align: right; }
}
html.phpbb-dark-mode #stoker-ms .stoker-ms-card {
	background: #0d1117;
	border-color: #30363d;
	box-shadow: none;
}
html.phpbb-dark-mode #stoker-ms .stoker-ms-title,
html.phpbb-dark-mode #stoker-ms .stoker-ms-title a { color: #e6edf3; }
html.phpbb-dark-mode #stoker-ms .stoker-ms-desc { color: #c9d1d9; }
html.phpbb-dark-mode #stoker-ms .stoker-ms-meta-top,
html.phpbb-dark-mode #stoker-ms .stoker-ms-updated { color: #8b949e; }
html.phpbb-dark-mode #stoker-ms .stoker-ms-bar { background: #21262d; }
html.phpbb-dark-mode #stoker-ms .stoker-ms-fill { background: #2ea043; }
html.phpbb-dark-mode #stoker-ms .stoker-ms-badge {
	background: #1a1f26;
	color: #d1d5db;
	border-color: #374151;
}
.mededeling-banner {
	background: linear-gradient(90deg, #F1C470 0%, #DCA44E 100%);
	color: #184A8C;
	text-align: center;
	padding: 8px 0 9px 0;
	font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 1.15rem;
	font-weight: 600;
	border-bottom: 3px solid #0A3C7C;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	max-width: 90%;
	margin: 0 auto;
	border-radius: 8px;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
	letter-spacing: 0.2px;
	transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.mededeling-banner:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.mededeling-banner a {
	color: #0A3C7C;
	text-decoration: underline;
	font-weight: 700;
	margin-left: 8px;
	transition: color 0.2s ease;
}
.mededeling-banner a:hover { color: #000; }
@media (max-width: 768px) { .mededeling-banner { display: none; } }
