/* Kompletny, uporządkowany styl Inferno Shoutbox dla Nedds24.pl */
.inferno_table {
	position: relative;
	z-index: 1;
	background: transparent !important;
}
.inferno_shoutbox {
	font-size: 12px;
	color: #dcdcdc;
}

/* Okno z wiadomościami */
.inferno_content {
	padding: 6px 8px 6px 4px;
	word-wrap: break-word;
	margin: 6px 0 10px 0;
	overflow-y: auto;
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 5px;
	scrollbar-width: thin;
	scrollbar-color: #0095ff rgba(255, 255, 255, 0.05);
}
.inferno_content::-webkit-scrollbar {
	width: 5px;
}
.inferno_content::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.04);
	border-radius: 3px;
}
.inferno_content::-webkit-scrollbar-thumb {
	background: #0095ff;
	border-radius: 3px;
}
.inferno_content a {
	text-decoration: none;
	transition: color 0.15s ease;
}
.inferno_content a:hover {
	text-decoration: underline;
}
.inferno_content img {
	max-width: 85px;
	max-height: 85px;
	border-radius: 4px;
	vertical-align: middle;
}
.inferno_content iframe {
	width: 130px;
	height: 130px;
	border-radius: 4px;
}

/* Pojedyncza wiadomość — wyraźne oddzielenie poziomą linią jak <hr> */
.sb_shouts {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding: 7px 8px;
	margin-bottom: 0;
	background: transparent;
	border-bottom: 1px solid #353941 !important;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
	width: 100%;
	box-sizing: border-box;
	transition: background 0.15s ease;
}
.sb_shouts:nth-child(even) {
	background: rgba(255, 255, 255, 0.02);
}
.sb_shouts:last-child {
	border-bottom: none !important;
	box-shadow: none;
}
.sb_shouts:hover {
	background: rgba(255, 255, 255, 0.05);
}

/* Awatary */
.chat_avatar,
.shoutbox_avatar_letter {
	width: 24px !important;
	height: 24px !important;
	border-radius: 50%;
	margin-right: 8px !important;
	vertical-align: middle;
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
	flex-shrink: 0;
}
.shoutbox_avatar_letter {
	font-weight: 700;
	font-size: 10px;
	line-height: 24px !important;
	color: #ffffff;
	text-align: center;
	display: inline-block;
	text-transform: uppercase;
}

/* Nazwy użytkowników i kafelek # */
.shout_pm,
.shout_mine,
.shout_user,
.shout_private {
	width: auto !important;
	min-width: 0 !important;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	font-weight: bold;
}
.shout_pm a,
.shout_private a {
	color: #f43f5e;
}
.shout_user > a:first-child,
.shout_mine > a:first-child,
.shout_pm > a:first-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 4px;
	color: #8b949e !important;
	font-size: 11px;
	font-weight: bold;
	margin-right: 6px !important;
	text-decoration: none !important;
	transition: all 0.2s ease;
}
.shout_user > a:first-child:hover,
.shout_mine > a:first-child:hover,
.shout_pm > a:first-child:hover {
	background: rgba(0, 222, 255, 0.15);
	border-color: #00deff;
	color: #00deff !important;
}
.inferno_separator {
	width: auto !important;
	padding: 0 9px 0 5px !important;
	display: inline-block;
	color: #4b5563 !important;
	font-weight: normal !important;
}

/* Treść wiadomości */
.chat_normal_shout,
.chat_pm_shout {
	flex: 1;
	min-width: 180px;
	word-wrap: break-word;
	color: #e5e5e5;
	line-height: 1.4;
	padding-right: 8px;
}
.chat_pm_shout {
	color: #fda4af;
	background: rgba(244, 63, 94, 0.1);
	padding: 2px 8px;
	border-radius: 4px;
	border-left: 2px solid #f43f5e;
}

/* Plakietka daty i godziny po prawej stronie wpisu */
.chat_date_shout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 22px !important;
	box-sizing: border-box !important;
	line-height: 1 !important;
	font-size: 11px !important;
	font-variant-numeric: tabular-nums;
	color: #9ca3af !important;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 4px;
	padding: 2px 7px !important;
	margin-left: auto !important;
	margin-right: 6px;
	white-space: nowrap;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.sb_shouts:hover .chat_date_shout {
	color: #e5e7eb !important;
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(0, 0, 0, 0.42);
}

/* Plakietka dla ikon moderatorskich (spójna z datą i godziną) */
.chat_controls {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center;
	height: 22px !important;
	box-sizing: border-box !important;
	line-height: 1 !important;
	gap: 3px !important;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 4px;
	padding: 2px 6px !important;
	margin-left: 0 !important;
	opacity: 0.85;
	transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.sb_shouts:hover .chat_controls {
	opacity: 1;
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(0, 0, 0, 0.42);
}
.chat_controls a,
.chat_controls i,
.chat_controls img {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 16px !important;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 3px;
	vertical-align: middle;
	transition: transform 0.2s ease, background 0.2s ease;
}
.chat_controls a:hover {
	background: rgba(255, 179, 0, 0.15);
	transform: scale(1.15);
}

/* Animacje ikon młotka, ołówka i kosza w Chatboxie */
.inferno_buttons_icons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px !important;
	height: 18px !important;
	font-size: 11px;
	cursor: pointer;
	border-radius: 3px;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, box-shadow 0.2s ease;
}
.inferno_buttons_icons.fa-legal:hover {
	transform: scale(1.22) rotate(-25deg);
	background: rgba(255, 179, 0, 0.18);
	box-shadow: 0 0 8px rgba(255, 179, 0, 0.45);
}
.inferno_buttons_icons.fa-pencil:hover {
	transform: scale(1.2) rotate(-12deg);
	background: rgba(0, 222, 255, 0.15);
	box-shadow: 0 0 8px rgba(0, 222, 255, 0.4);
}
.inferno_buttons_icons.fa-trash:hover {
	transform: scale(1.2) rotate(12deg);
	background: rgba(255, 77, 109, 0.15);
	box-shadow: 0 0 8px rgba(255, 77, 109, 0.4);
}
.inferno_buttons_icons:active {
	transform: scale(0.92);
}

/* Górny pasek zakładek, "Aktywnych użytkowników: 0" i efekty :hover */
#inferno_links a {
	transition: all 0.2s ease !important;
}
#inferno_links > a:first-child:hover {
	background: rgba(0, 149, 255, 0.26) !important;
	border-color: #00deff !important;
	color: #ffffff !important;
	box-shadow: 0 0 8px rgba(0, 149, 255, 0.35);
}
#inferno_links > a:last-child:hover {
	background: rgba(255, 179, 0, 0.16) !important;
	border-color: rgba(255, 179, 0, 0.5) !important;
	color: #ffb300 !important;
	box-shadow: 0 0 8px rgba(255, 179, 0, 0.25);
}
.nedds-active-wrap {
	display: inline-flex;
	align-items: center;
	flex: 1;
	position: relative;
}
.nedds-active-tab {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 26px 3px 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	color: #dcdcdc !important;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none !important;
	white-space: nowrap;
}
.nedds-active-tab:hover {
	background: rgba(34, 197, 94, 0.14) !important;
	border-color: rgba(34, 197, 94, 0.45) !important;
	color: #ffffff !important;
}
.nedds-active-count {
	display: inline-flex !important;
	align-items: center !important;
	flex: 1;
	margin-left: -20px;
	pointer-events: none;
	color: #22c55e;
	font-size: 11px;
	font-weight: bold;
}
.nedds-active-count > * {
	pointer-events: auto;
}
.nedds-active-count > *:first-child {
	margin-left: auto !important;
}

/* Pole wpisywania wiadomości dopasowane do tła forum */
.inferno_text {
	width: 100%;
	background: rgba(0, 0, 0, 0.25);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	height: 34px;
	padding: 0 12px;
	border-radius: 5px;
	font-size: 12px;
	box-sizing: border-box;
	outline: none;
	transition: all 0.2s ease;
}
.inferno_text:focus {
	background: rgba(0, 0, 0, 0.35);
	border-color: #0095ff;
	box-shadow: 0 0 8px rgba(0, 149, 255, 0.3);
}
/* Szklane przyciski glossy identyczne z resztą Nedds24.pl */
.inferno_table input[type="button"],
.inferno_table input[type="submit"],
.inferno_table button {
	background: linear-gradient(180deg, #52565e 0%, #3d4047 50%, #26282d 51%, #1b1d21 100%) !important;
	color: #ffffff !important;
	border: 1px solid #6b7280 !important;
	border-radius: 5px !important;
	padding: 5px 11px !important;
	font-size: 11px !important;
	font-weight: bold !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	cursor: pointer;
	transition: all 0.2s ease;
}
.inferno_table input[type="button"]:hover,
.inferno_table input[type="submit"]:hover,
.inferno_table button:hover {
	background: linear-gradient(180deg, #1aa3ff 0%, #0080db 50%, #0062a8 51%, #004980 100%) !important;
	border-color: #60c5ff !important;
}

/* Wyróżniony przycisk Wyślij! */
#postshout {
	background: linear-gradient(180deg, #1aa3ff 0%, #0080db 50%, #0062a8 51%, #004980 100%) !important;
	border-color: #60c5ff !important;
}
#postshout:hover {
	background: linear-gradient(180deg, #38b6ff 0%, #0095ff 50%, #0073cc 51%, #005599 100%) !important;
	box-shadow: 0 0 10px rgba(0, 149, 255, 0.45);
}

/* Ciemna, dopasowana lista wyboru kolorów i czcionek (.inferno_table select) */
.inferno_table select {
	color-scheme: dark;
	background: linear-gradient(180deg, #52565e 0%, #3d4047 50%, #26282d 51%, #1b1d21 100%) !important;
	border: 1px solid #6b7280 !important;
	border-radius: 5px !important;
	color: #ffffff !important;
	font-size: 11px !important;
	font-weight: bold !important;
	height: 26px !important;
	padding: 0 8px !important;
	outline: none;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: all 0.2s ease;
}
.inferno_table select:hover,
.inferno_table select:focus {
	border-color: #60c5ff !important;
}
.inferno_table select option {
	background-color: #1b1d21 !important;
	padding: 6px 10px !important;
	font-weight: bold !important;
}
.inferno_table select option[value=""] {
	display: none;
}

/* Nowoczesne wyróżnienie paska z Notatką oraz komunikatu o Nieaktywności (bez zdublowanych ikon) */
.inferno_alert_div {
	margin-bottom: 8px !important;
	padding: 0 !important;
	font-size: 12px;
}
.inferno_alert {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	background: linear-gradient(90deg, rgba(255, 179, 0, 0.12) 0%, rgba(0, 0, 0, 0.25) 100%) !important;
	border: 1px solid rgba(255, 179, 0, 0.28) !important;
	border-left: 3px solid #ffb300 !important;
	border-radius: 5px !important;
	padding: 7px 12px !important;
	color: #f3f4f6 !important;
	font-size: 12px !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.inferno_alert_error,
#inferno_alert:not(.inferno_alert_inactive) {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	background: linear-gradient(90deg, rgba(239, 68, 68, 0.16) 0%, rgba(245, 158, 11, 0.12) 100%) !important;
	border: 1px solid rgba(239, 68, 68, 0.45) !important;
	border-left: 3px solid #ef4444 !important;
	border-radius: 5px !important;
	padding: 8px 14px !important;
	margin-bottom: 8px !important;
	color: #f3f4f6 !important;
	font-size: 12px !important;
	font-weight: bold !important;
	text-align: center !important;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
	cursor: pointer;
}

/* Stabilne i równe menu użytkownika po kliknięciu nicku (.sbcount) */
.items {
	background: #14161a;
	color: #f3f4f6;
}
.sbcount {
	width: 225px !important;
	color: #f3f4f6;
	background: #1a1d22 !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	border-radius: 6px !important;
	padding: 0 !important;
	margin: 0 !important;
	position: absolute;
	list-style: none;
	display: none;
	overflow: hidden !important;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75) !important;
	z-index: 999 !important;
}
.sbcount li {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.sbcount li.items {
	padding: 8px 12px !important;
	background: #14161a !important;
	text-align: center !important;
	cursor: default !important;
}
.sbcount li:not(.items) {
	padding: 8px 16px !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
	text-align: left !important;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.sbcount li:not(.items) i {
	display: inline-block;
	width: 18px;
	margin-right: 6px;
	text-align: center;
	color: #00deff;
}
.sbcount li:not(.items):hover {
	background: rgba(0, 149, 255, 0.16) !important;
	color: #ffffff !important;
}
.sbcount li:last-child {
	border-bottom: none !important;
}
.sbcount li:last-child i {
	color: #ff4d6d !important;
}
.sbcount li:last-child:hover {
	background: rgba(255, 77, 109, 0.16) !important;
	color: #ff4d6d !important;
}

/* Uporządkowanie listy wpisów i paginacji w Archiwum Chatboxa */
.archive_tbody tr {
	border-bottom: 1px solid #353941;
	transition: background 0.15s ease;
}
.archive_tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.02);
}
.archive_tbody tr:hover {
	background: rgba(255, 255, 255, 0.05);
}
.archive_tbody td {
	padding: 8px 10px !important;
	vertical-align: middle !important;
}
.archive_tbody .shout_user,
.archive_tbody .shout_mine,
.archive_tbody .shout_pm {
	display: inline-flex;
	align-items: center;
	margin-right: 6px;
}
.archive_tbody .chat_normal_shout,
.archive_tbody .chat_pm_shout {
	display: inline-block;
	width: auto;
	min-width: 0;
}
.archive_tbody .chat_date_shout {
	float: right;
	margin-left: 12px;
}
.archive_tbody tr:last-child td {
	text-align: center !important;
	white-space: nowrap !important;
}
.archive_tbody tr:last-child td > * {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	vertical-align: middle !important;
	margin: 0 2px !important;
}
.archive_tbody input[type="text"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 26px !important;
	width: 42px !important;
	box-sizing: border-box !important;
	background: rgba(0, 0, 0, 0.35) !important;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-radius: 5px !important;
	padding: 0 6px !important;
	font-size: 12px !important;
	font-weight: bold !important;
	text-align: center !important;
	vertical-align: middle !important;
}
.archive_tbody input[type="button"],
.archive_tbody button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 26px !important;
	box-sizing: border-box !important;
	background: linear-gradient(180deg, #52565e 0%, #3d4047 50%, #26282d 51%, #1b1d21 100%) !important;
	color: #ffffff !important;
	border: 1px solid #6b7280 !important;
	border-radius: 5px !important;
	padding: 0 11px !important;
	font-size: 11px !important;
	font-weight: bold !important;
	line-height: 1 !important;
	vertical-align: middle !important;
	cursor: pointer;
	transition: all 0.2s ease;
}
.archive_tbody input[type="button"]:hover,
.archive_tbody button:hover {
	background: linear-gradient(180deg, #1aa3ff 0%, #0080db 50%, #0062a8 51%, #004980 100%) !important;
	border-color: #60c5ff !important;
}
/* Wymuszenie jednego rzędu dla paginacji w Archiwum (usunięcie złamania linii <br>) */
.archive_tbody tr:last-child td br,
.tfoot br {
	display: none !important;
}
.archive_tbody tr:last-child td div,
.tfoot div {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	width: auto !important;
}
/* Naprawa górnego paska paginacji w Archiwum Chatboxa (wszystko w jednej linii) */
.archive_tbody tr:first-child td {
	text-align: center !important;
	white-space: nowrap !important;
}
.archive_tbody tr:first-child td br {
	display: none !important;
}
.archive_tbody tr:first-child td > *,
.archive_tbody tr:first-child td div {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	vertical-align: middle !important;
	width: auto !important;
	gap: 4px !important;
	margin: 0 2px !important;
}
/* Widok mobilny */
@media only screen and (max-width: 640px) {
	#bannedlist,
	#buttonclear,
	#inferno_links,
	.chat_controls {
		display: none;
	}
	.chat_normal_shout,
	.chat_pm_shout {
		width: 100%;
		flex: 100%;
		margin-top: 4px;
		padding-left: 28px;
	}
}
