/* KRAJOWA RADA INFORMATYCZNA - REPUBLIKA BIALEŃSKA */

body {
	background: #eceef0;
	color: #555;
	text-align: center;
	line-height: 1.431;
	margin: 0;
	font-family: "Open Sans", Arial, Tahoma, sans-serif;
	font-size: 13px;
	overflow-y: scroll; 
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	vertical-align: baseline;
}


/* Wymuszenie wyglądu list wewnątrz postów */
.post_body ul {
    list-style-type: disc !important;
    list-style-position: inside !important;
    display: block !important;
    margin: 10px 0 10px 20px !important;
    padding-left: 0 !important;
}

.post_body ol {
    list-style-type: decimal !important;
    list-style-position: inside !important;
    display: block !important;
    margin: 10px 0 10px 20px !important;
    padding-left: 0 !important;
}

.post_body li {
    display: list-item !important;
    list-style-type: inherit !important;
    margin-bottom: 4px !important;
}

a:link {
	transition: all .12s ease !important;
	color: #3c699c;
	text-decoration: none; 
}

a:visited {
	color: #0072bc;
	text-decoration: none; 
}

a:hover,
a:active { color: #00aced; }

h1, h2, h3, h4 {
	padding: 0;
	margin-top: 0;
	font-weight: normal;
}

ol, ul, li {
    list-style: none;
	margin: 0;
	padding: 0;
}

#container {
	font-family: "Open Sans", Arial, Tahoma, sans-serif;
	text-align: left;
	color: #555;
	line-height: 1.431;
	margin: 0;
	font-size: 13px;
	min-width: 960px; 
}

.wrapper {
	width: 95%;
	max-width: 1370px;
	margin: auto auto; 
}

.wrapperf {
	width: 95%;
	max-width: 1370px;
	margin: auto auto; 
	background: rgba(255, 255, 255, 0.4);
  	padding: 30px 30px 30px 30px;
	overflow: hidden;
}

#logo {
	background: #eeb800;
    display: block;
    line-height: 0;
}

#logo .wrapper {
	width: 100%;
	display: flex;
  	justify-content: center; /* poziomo */
  	align-items: center;     /* pionowo */
}

#content {
	width: auto !important;
	/* padding: 38px 10px; */
	overflow: hidden;
	background-image: url(https://kustosz.stempel.org.pl/1029/101005704499841551.jpg);
  	background-repeat: no-repeat;
 	background-attachment: fixed;
  	background-size: cover;
}

#header {
	position: sticky;
	top: 0px;
	z-index: 777;
}

#header ul.menu {
	text-align: right;
	margin: 0;
	padding: 0;
	list-style: none; 
}

#header ul.menu li {
	margin: 0 4px;
	display: inline;
}

#header ul.menu li a {
	padding-left: 21px;
	display: inline-block;
	color: #fff;
}

#logo ul.top_links {
	text-align: right;
	margin: -10px 5px 0 0;
}

#panel {
    position: relative;
    z-index: 994;
    width: 100%;
}

#panel .upper a.logout {
	font-weight: 400;
	padding-right: 20px;
	margin-left: 10px; 
}

#panel .upper a.login,
#panel .upper a.lost_password {
	padding: 7px 21px 7px 20px;
    background: #2c82c9;
}

#panel .upper a.register {
	padding: 7px 21px 7px 20px;
	margin-left: 7px;
	background: #d98b3a;
}

#panel .upper a.login:hover { background: #6e88ea; color: #fff; }
#panel .upper a.register:hover { background: #fcb941; color: #555; }

#panel .lower ul.panel_links { float: right; }
#panel .lower ul.user_links { float: left; }

#panel .lower ul.user_links li a {
	padding: 0;
	padding-right: 5px;
	background-image: none; 
}

#panel .upper {
	position: relative;
  	background: #537772;
  	color: #fff;
  	clear: both;
 	 height: 48px;
 	 line-height: 48px;
  	padding: 0px 15px;
  	overflow: hidden;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:active { color: #fff; }
#panel .upper a:hover { 
	color: #bbdefb; 
	text-decoration: none; 
}

#panel .lower {
	background: #efefef;
	border-bottom: 1px solid #e3e3e3;
    color: #90a4ae;
    height: 39px;
    line-height: 40px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    overflow: hidden;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active { color: #666; }

.panel-pm {
    margin-left: 13px;
}

#search {
	border: 0;
	padding: 0;
	margin: 0;
	float: right;
	vertical-align: middle; 
}

#search input.button,
#search input.textbox { border-color: #000; }
#search input.button { background: #0066a2; color: #fff; }
#search input { margin: -3px 0; }

#quick_login .remember_me input {
	vertical-align: middle;
	margin: -1px 0 0 1px;
}

#footer { clear: both; }
#footer ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer ul.menu li {
	margin: 0 5px;
	display: inline;
}

#footer .upper {
	background: #efefef;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	padding: 6px;
	font-size: 12px;
	overflow: hidden; 
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active { color: #777; }

#footer .upper .language {
	float: right;
	margin: -1px;
	margin-left: 15px; 
}

#footer .upper .language select { border-color: #ccc; }

#footer .upper .theme {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .theme select { border-color: #ccc; }
#footer .upper ul.bottom_links {
	float: none;
	margin: 8px -4px 7px; 
}

#footer .uppermid {
	overflow: hidden;
	background: #fff;
    padding: 2rem;
    color: #888;
    font-size: 13px;
	border-top: 1px solid #ddd;
}

#footer .uppermid a:link,
#footer .uppermid a:visited { color: #676767; }
#footer .uppermid a:hover,
#footer .uppermid a:active { color: #555; }

#footer .lower {
	overflow: hidden;
	color: #fff;
	padding: 1.5em 1.8em;
	line-height: 18px;
	font-size: 13px;
	background: #537772;
}

#footer .lower a:link,
#footer .lower a:visited { color: #78909c; }
#footer .lower a:hover,
#footer .lower a:active {
	color: #555; 
	text-decoration: none; 
}

#footer .lower #social {
	float: right;
	color: #999;
	margin-top: -17px; 
}

#debug {
	float: right;
	text-align: right;
	margin-top: 20px;
	font-size: 11px; 
}

.scaleimages img { 
	max-width: 100%; 
	overflow: hidden; 
}

.remove_buddy_button:hover { 
	color: #808080 !important;
	background: rgba(39, 174, 96, .04) !important; 
}

.report_user_button:hover {
	color: #728675 !important;
	background: rgba(230, 126, 34, .04) !important; 
}

.forum_status {
    cursor: default;
    font-size: 28px;
    padding-left: 10px;
    margin-right: -5px;
    text-align: center;
}

.forum_status i {
	display: inline-block;
	line-height: 50px;
	color: #8fa8f6; 
}

.forum_on { color: #0094d1; }
.forum_off, .forum_offlock, .forum_offlink { color: #333; }
.forum_off i { opacity: .7; }
.forum_offclose i:before { content: "\f023"; color: #ef7351; }
.forum_offlink i:before { content: "\f0c1"; color: #44ce9d; }

.subforumicon {
	display: inline-block;
	font-size: 11px;
	height: 10px;
	width: 10px;
	margin: 0px 3px 0px 7px;
}

.subforum_minion { color: #555; }
.subforum_minioff, 
.subforum_minioffclose,
.subforum_miniofflink { color: #555; }
.subforum_minioff { opacity: .5; }
.subforum_minioffclose i:before { content: "\f023"; }
.subforum_miniofflink i:before { content: "\f0c1"; }

table {
	color: #888;
	font-size: 14px;
	font-family: inherit; 
}

.tborder {
	background: #fff;
	width: 100%;
	margin: auto auto; 
}

.tfixed {
	table-layout: fixed;
	word-wrap: break-word; 
}

.thead {
	background: #537772;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	padding: 1.2em 1.425em 1.175em 1.275em;
	line-height: 24px;
}

.thead.side {
	background: #537772;
	padding: 1rem 1.2rem .9rem 1.2rem;
}

.thead a:link {
	color: #fff;
	text-decoration: none; 
}

.thead a:visited {
	color: #fff;
	text-decoration: none;
}

.thead a:hover,
.thead a:active {
	color: #fff;
	text-decoration: underline; 
}

.thead.signin {
	background: #fff;
	font-size: 24px;
	color: #555 !important;
	text-align: center;
	padding: 1rem 1rem 1.5rem 1rem;
}

.tcat {
    background: #e3e8f0;
    font-size: 12px;
    box-sizing: border-box;
    padding: 11px 20px 9px 18px;
}

.tcat a:link, 
.tcat a:visited { }

.tcat a:hover,
.tcat a:active { color: #9e906e; }

.trow1 {
	background: rgb(253, 253, 253);
	border-bottom: 1px solid #f0f0f0;
	padding: 1.025em 1.275em 0.875em 1.175em; 
}

.trow2 {
	background: rgb(250, 251, 252);
	border-bottom: 1px solid #f0f0f0;
	padding: 1.025em 1.275em 0.875em 1.175em; 
}

.trow_shaded {
	background: #e4f6eb;
	border: 0;
	padding: 1.025em 1.275em 0.875em 1.175em;
}

.no_bottom_border { border-bottom: 0; }

.post.unapproved_post { background: #ffdde0; }
.post.unapproved_post .post_author { border-bottom-color: #ffb8be; }
.post.classic.unapproved_post .post_author { border-color: #ffb8be; }
.post.unapproved_post .post_controls { border-top-color: #ffb8be; }

.trow_deleted,
.post.deleted_post { 
	background: #f5f6f7;
	border-bottom: 1px solid #f0f0f0;
}

.trow_selected,
tr.trow_selected td {
	background: #f9fbe7 !important;
	color: #111;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active { color: #333; }

.trow_sep {
	background: #ddd;
	color: #555;
	padding: 8px 18px;
	font-size: 12px;
	font-weight: 600; 
}

.deleted_post_hidden {
    border-top: 2px solid #ddd;
    padding: 15px;
}

.deleted_post_collapsed {
	background: #f9f9f9;
	margin-bottom: 7px;
    padding: 15px;
	border: 1px solid #ccdfee;
}

.deleted_post_collapsed .show_deleted_post { margin: -16px 6px 0 0; }
.deleted_post_collapsed .show_deleted_post a.button span {  }

.tfoot {
	padding: 10px;
	color: #777;
	background: #DBE6EC;; 
}

.tfoot a:link {
	color: #444;
	text-decoration: none; 
}

.tfoot a:visited {
	color: #444;
	text-decoration: none; 
}

.tfoot a:hover,
.tfoot a:active {
	color: #444;
	text-decoration: underline; 
}

.thead input.textbox,
.thead select { border: 1px solid #263c30; }

.bottommenu {
	background: #efefef;
	color: #333;
	border: 1px solid #4874a3;
	padding: 10px; 
}

.navigation {
    margin-bottom: 13px;
    padding: 0 19px;
    color: #fff;
    border-radius: 2px;
    font-size: 13px;
    overflow: hidden;
    height: 48px;
    line-height: 48px;
    font-family: inherit;
    background: #537772;
    /* border: 1px solid #66bb6a; */
}

.navigation a:link { text-decoration: none; color: #fff !important; }
.navigation a:visited { text-decoration: none; }

.navigation a:hover,
.navigation a:active { text-decoration: underline; }
.navigation a:focus { color: #ccc; }
.navigation .active i:before { content: "\f015"; color: #fff; }

.navigation .active {
	font-weight: 900;
	color: #fff;
	font-size: 13px; 
}

.smalltext {
	font-size: 13px;
	font-weight: 400;
	font-family: inherit;
}

.smalltext.bold { 
	font-weight: 500 !important; 
}

.largetext {
	font-size: 17px;
	font-weight: 400;
}

fieldset {
	padding: 12px;
	border: 1px solid #ddd;
	margin: 0; 
}

fieldset.trow1,
fieldset.trow2 { border-color: #ccc; }

fieldset.align_right { text-align: right; }

input.textbox {
	background: #fff;
	color: #999;
	border: 1px solid #ddd;
	padding: 5px 7px;
	outline: 0;
	box-sizing: border-box; 
	font-size: 13px;
	font-family: inherit;
}

input.textbox:focus {
    border: 1px solid #ccc;
    box-shadow: 0 0 2px 0 #eee;
}

textarea {
	background: #fff;
	color: #333;
	border: 1px solid #ccc;
	padding: 8px;
	line-height: 1.4;
	outline: 0;
	font-family: inherit;
	font-size: 13px;
}

select {
	font-family: "Open Sans", Arial, Tahoma, sans-serif;
	font-size: 13px;
	border: 1px solid #eee; 
	outline: 0;
	height: 32px;
	padding: 0 45px 0 8px;
	color: #777;
	background: #fff url(../../../images/rodexia/arrow-down.png) no-repeat 93% 55%;
	background-size: 10px;
	-moz-appearance: none;
	-webkit-appearance: none;
}

button,
input.button {
	padding: 6px 15px 6px 12px;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	background: #3498db;
	border: 0 !important;
	outline: 0 !important;
	color: #fff;
	border-radius: 2px !important;
}

button:hover,
input.button:hover { 
	border-color: #bbb; 
	background: #2c82c9;
}

form {
	margin: 0;
	padding: 0; 
}

input.error, textarea.error, select.error {
	border: 1px solid #f30;
	color: #f30; 
}

input.valid, textarea.valid, select.valid { border: 1px solid #0c0; }

label.error {
	color: #f30;
	margin: 5px;
	padding: 0px;
	display: block;
	font-weight: 500;
	font-size: 11px; 
}

form #message { 
	width: 500px; 
	box-sizing: border-box; 
}

.editor {
	background: #f1f1f1;
	border: 1px solid #ccc; 
}

.editor_control_bar {
	background: #fff;
	border: 1px solid #ccc; 
	margin-bottom: 5px; 
}

.post .editor_control_bar { background: #f5f5f5; }

.popup_menu {
	z-index: 75;
	box-shadow: 0px 2px 3px -1px rgba(0, 0, 0, .2);
	padding: 1px;
	border-radius: 3px !important;
	background: rgb(255, 255, 255); 
}

.popup_menu:before {
	position: absolute; 
	width: 0; height: 0;
	content: "";
	display: block;
	left: 1.4em;
	bottom: 100%;
	border-bottom: 7px solid #fff;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
}

.popup_menu .popup_item { color: #444; }
.popup_menu .popup_item:hover {
	background: none;
	color: #34a0ef !important; 
}

.trow_reputation_positive { background: #ccffcc; }
.trow_reputation_negative { background: #ffcccc; }

.reputation_positive { color: green; }
.reputation_neutral { color: #444; }
.reputation_negative { color: red; }

.repbox {
	font-size:16px;
	font-weight: bold;
	padding:5px 7px 5px 7px; 
}

._neutral {
	background-color:#fafafa;
	color: #999;
	border:1px solid #ccc; 
}

._minus {
	background-color: #fdd2d1;
	color: #cb0200;
	border:1px solid #980201; 
}

._plus {
	background-color:#e8fcdc;
	color: #008800;
	border:1px solid #008800; 
}

img { border: none; }

img.attachment {
	border: 1px solid #00aeff;
	margin-top: 10px;
	margin-bottom: -5px;
	padding: 1px;
	border-radius: 1px; 
}

hr {
	background-color: #555;
	color: #333;
	height: 1px;
	border: 0px; 
}

.clear { clear: both; }

.float_left { float: left; }
.float_right { float: right; }

.text_left { text-align: left; }
.text_right { text-align: right; }

.hidden {
	display: none;
	float: none;
	width: 1%; 
}

.hiddenrow { display: none; }

.selectall {
	background: #fffbd9;
	border-bottom: 1px solid #f7e86a;
	color: #555;
	text-align: center;
}

.expcolimage {
	width: auto;
	float: right;
	top: 1px;
	position: relative;
}

.expcolimage img {
	max-width: 24px;
	height: auto;
}

.thead .expcolimage img {
	opacity: .7;
	transition: all .2s ease;
}

.thead:hover .expcolimage img {
    opacity: .7;
}

.expcolimage img:hover {
	opacity: 1 !important;
}

.tcat_menu > .expcolimage { margin-top: 0; }

/* Główne pole cytatu */
blockquote {
    border: 1px solid #e0e0e0;
    border-left: 4px solid #009933; /* Akcent zamiast nudnej ramki z każdej strony */
    margin: 15px 0;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Lekki cień dodaje głębi */
    position: relative;
}

/* Zagnieżdżone cytaty - uproszczenie */
blockquote blockquote {
    background: #f5f7f9; /* Delikatny błękit/szarość dla odróżnienia */
    margin: 10px 0;
    border: 1px solid #dce1e5 !important;
    border-left: 3px solid #cbd3d9 !important;
}

/* Usunięcie kolejnych poziomów kolorystycznych dla czystości */
blockquote blockquote blockquote {
    background: #ffffff;
    border-color: #eee !important;
}

/* Nagłówek cytatu (Kto napisał) */
blockquote cite {
    font-weight: 700;
    border-bottom: 1px solid #f0f0f0;
    font-style: normal;
    display: block;
    padding-bottom: 8px;
    margin-bottom: 10px;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #333;
    font-size: 0.95em;
}

/* Link "Skocz do posta" (strzałka) */
blockquote cite > span {
    float: right;
    font-weight: 400;
    font-size: 11px;
    color: #999;
    background: #f1f1f1;
    padding: 2px 8px;
    border-radius: 10px; /* Zaokrąglony przycisk skoku */
    transition: 0.2s;
}

blockquote cite > span:hover {
    background: #e0e0e0;
    color: #555;
}

/* Highlight dla nicku */
blockquote cite span.highlight {
    float: none;
    font-weight: 700;
    color: #4a90e2; /* Kolor nicku pasujący do paska z boku */
}

.codeblock {
	border-radius: 2px !important;
	background: #fff;
	border: 1px solid #ddd;
	padding: 12px; 
}

.codeblock .title {
	border-bottom: 1px solid #ddd;
	font-weight: bold;
	padding-bottom: 8px;
	margin: 0 0 12px 0; 
}

.codeblock code {
	overflow: auto;
	height: auto;
	max-height: 200px;
	display: block;
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 13px; 
}

.smilie { vertical-align: middle; }
.smilie_pointer { cursor: pointer; }

.separator {
	margin: 5px;
	padding: 0;
	height: 0px;
	font-size: 1px;
	list-style-type: none; 
}

.popup_menu .popup_item_container {
	line-height: 24px;
	padding: 7px;
	text-align: left; 
	border-bottom: 1px solid #f8f8f8;
}

.popup_menu .popup_item_container:last-child {
	border-top: 0;
	border-bottom: 0;
}

.popup_menu .popup_item {
	text-decoration: none;
	display: block;
	min-width: 160px;
	white-space: nowrap;
	padding: 4px 10px 5px;	
	color: #999 !important;
}

.popup_item_container:hover { background: rgba(0, 0, 0, .03); }
.popup_menu a.popup_item:hover { text-decoration: none; }

.subject_new { font-weight: 500; }

.highlight {
	background: #ffffcc;
	padding-top: 3px;
	padding-bottom: 3px; }

.pm_alert {
    background: #b0bec5;
    border: 1px solid #9db0ba;
    text-align: center;
    font-size: 12px;
    padding: 10px 20px;
    margin-bottom: 18px;
	border-radius: 2px;
}

.red_alert {
	margin-bottom: 1.5em;
	padding: 1.1em 1.65em 1.1em 1.3em;
	font-size: 12px;
	text-align: center;
	font-weight: 300;
	color: #fff;
	background: rgba(198, 56, 56, .8); 
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:hover,
.red_alert  a:active { color: #aaeeff; }

.high_warning { color: #cc0000; }
.moderate_warning { color: #f3611b; }
.low_warning { color: #ae5700; }

.online { color: #15a018; }
.offline { color: #c7c7c7; }

div.error {
	padding: 1.475em 1.275em 0.575em 1.175em;
	font-size: 14px;
	font-family: inherit;
    color: #444;
	background: #f5d76e; 
}

div.error p {
	margin: 0;
	color: #333;
	font-weight: normal; 
}

div.error p em {
	font-style: normal;
	font-weight: bold;
	padding-left: 24px;
	display: block;
	color: #c00;
	background: url(../../../images/error.png) no-repeat 0;
}

div.error ul { margin-left: 24px; }

.pagination {
	font-size: 11px;
	padding-top: 14px;
	margin-bottom: 14px; 
}

.tfoot .pagination,
.tcat .pagination { padding-top: 0; }

.pagination .pages { font-weight: 500; }

.pagination .pagination_current,
.pagination a {
	padding: 5px 9px;
	margin-bottom: 3px; 
}

.pagination a {
	background: #f5f5f5;
	color: #888;
	border: 1px solid #ddd; 
}

.pagination a:link { color: #888 !important; }
.pagination a:link:hover { color: #fff !important; }

.pagination .pagination_current {
	background: #00bcd4;
	border: none;
	font-weight: 500; 
	color: #fff;
	border-radius: 2px;
	border: 1px solid #00bcd4;
}

.pagination a:hover {
	background: #0072bc;
	color: #fff;
	border-color: #0072bc;
	text-decoration: none; 
}

.pagination .go_page img { margin-bottom: -4px; }

.drop_go_page {
	background: #fff;
	padding: 7px; 
	margin-top: 1em;
}

.pagination_breadcrumb {
	background-color: #fff;
	border: 1px solid #fff;
	padding: 1px 12px 0px;
	margin-top: 0px;
	font-weight: normal;
	margin-left: -2em;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
}

.pagination_breadcrumb:before {
	border-bottom: 7px solid #fff;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	width: 0; height: 0;
	content: "";
	display: block;
	left: 0.5em;
	bottom: 100%;
	position: absolute; 
}

.pagination_breadcrumb_link {
	vertical-align: middle;
	cursor: pointer;
}

.thread_legend,
.thread_legend dd {
	margin: 0;
	padding: 0; 
}

.thread_legend dd {
	padding-bottom: 4px;
	margin-right: 15px; 
}

.thread_legend img {
	margin-right: 4px;
	vertical-align: bottom; 
}

.forum_legend,
.forum_legend dt,
.forum_legend dd {
	margin: 0;
	padding: 0; 
}

.forum_legend dd {
	float: left;
	margin-right: 10px;
	margin-top: 7px; 
}

.forum_legend dt {
	margin-right: 10px;
	float: left; 
}

.success_message {
	color: #00b200;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px; 
}

.error_message {
	color: #C00;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px; 
}

#posts_container { padding: 0; }

.ignored_post {
	border-top: 3px solid #333;
	padding: 15px; 
}

.ignored_post .show_ignored_post { margin-top: -15px; }
.ignored_post .show_ignored_post a.button span { background-position: 0 -400px; }

.post { 
	background: #f1f5f7; 
	overflow: hidden; 
	margin-bottom: 8px;
	border: 1px solid rgba(185, 185, 185, 0.22); 
}

.post.classic {
	border: 1px solid rgba(185, 185, 185, 0.22);
	margin-bottom: 10px;
	padding-top: 15px;
	background: #f1f5f7; 
}

.post .post_author {
	padding: 1em;
	overflow: hidden; 
}

.post.classic .post_author {
	margin: 2px 0% 18px 0px;
	float: left;
	width: 15%;
	padding: 5px 1%;
	border-right: 1px solid #eee; 
}

.post .post_author .buddy_status {
	vertical-align: middle;
	margin-top: -4px; 
}

.post .post_author div.author_avatar {
	float: left;
	margin-right: 1em;
	min-width: 70px;
	max-width: 90px;
}

.post.classic .post_author div.author_avatar {
	float: none;
	margin: 0px auto 1em;
	max-width: 90px;
	text-align: center;
	min-width: 70px;
}

.post .post_author div.author_avatar img {
	border-radius: 1000px;
	width: auto;
	height: auto;
	background: #fff;
}

.post .post_author div.author_information {
	float: left;
	padding: 6px 8px; 
}

.post.classic .post_author div.author_information {
	float: none;
	font-family: inherit;
	padding: 0;
	text-align: center; 
}

.post .post_author div.author_statistics {
	float: right;
	font-size: 12px;
	padding: 14px 18px 12px 16px;
	color: #666;
	font-family: inherit;
	line-height: 1.4; 
}

.post .post_author div.author_statistics_default {
	background: #eee;
	float: right;
	font-size: 12px;
	padding: 11px 18px 6px 16px;
	color: #666;
	font-family: inherit;
	line-height: 1.4; 
}

.post.classic .post_author div.author_statistics {
	margin: 7px 0 0 0;
	float: none; 
}

.post .post_head {
	border-bottom: 1px solid #eee;
	font-size: 11px;
	padding-bottom: 12px;
	margin-bottom: 7px; 
}

.post .post_head span.post_date { 
	color: #888; 
	font-size: 13px;
}

.post .post_head span.edited_post {
	font-size: 10px;
	color: #999;
}

.post .post_head span.edited_post a { color: #666; }

.post_body {
	font-size: 14px;
	padding: 10px 0;
	color: #666; 
}

.post.classic .post_content {
	border-left: 1px solid #eee;
	margin-left: -1px;
	float: left;
	width: 80%;
	padding: 5px 1.4% 5px;
}

.post_content { padding: 18px 20px 10px 20px; }

.post_content .signature {
	margin-top: 5px;
	border-top: 1px dotted #ddd;
	padding: 10px 0 4px 0; 
}

.post .post_meta {
	margin: 4px 0;
	font-size: 11px;
	color: #999; 
}

.post .post_meta a:link,
.post .post_meta a:visited { color: #777; }

.post .post_meta a:hover,
.post .post_meta a:active { color: #777; }

.post_controls_default {
	padding: 0.9em;
	clear: both;
	overflow: hidden;
}

.post_controls {
	overflow: hidden;
	clear: both;
	padding: 0.875em;
	background: #f5f7f9;
}

.post:not(.deleted_post) .postbit_qrestore,
.post:not(.deleted_post) .status_type,
.post.deleted_post .postbit_mirage {
    display: none;
}

.postbit_buttons > a:link,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	display: inline-block;
	color: #2c82c9;
	padding: 7px 16px 7px 14px;
	margin: 5px 2px 2px;
	font-size: 12px;
	border: 1px solid #bed3e4;
}

.postbit_buttons > a:hover { 
	background: #2c82c9; 
	color: #fff; 
	border: 1px solid #2c82c9; 
}

.postbit_buttons a span {
	display: inline-block;
	height: 16px; 
}


a.button:link,
a.button:visited,
a.button:active {
	background: #00bcd4;
	display: inline-block;
	color: #fff;
	margin: 2px 0px 6px;
	font-size: 13px;
	padding: 8px 23px 8px 21px;
	border-radius: 2px;
}

a.button:hover { background: #2c82c9;}

a.button.small_button {
	font-size: 13px;
	padding: 5px 10px;
	border-radius: 2px;
}

a.button span { 
	display: inline-block; 
}

.quick_jump {
	background: url(../../../images/jump.png) no-repeat 0;
	width: 13px;
	height: 13px;
	padding-left: 13px;
	margin-top: -3px;
	border: none; 
}

.pollbar {
    background: #bdc3c7;
    height: 8px;
}

.pollbar .percent {
	display: none;
}

.pollbar .percent { display: none; }
.posticons_label { white-space: nowrap; }

.pollbar {
	background: #64B5F6;
	height: 20px;
	margin-top: -16px;
	color: #fff;
	font-size: 13px;
	text-align: right;
	overflow: hidden;
	box-sizing: border-box;
}

.pollbar .percent { 
	display: inline-block; 
	padding: 0 5px; 
}

.poll-fw {
	position: relative;
	height: 20px;
	box-sizing: border-box;
	border-radius: 2px;
	top: 4px;
	overflow: hidden;
	background: #f3f3f3;
}

.poll-fw::before {
    content: "0%";
    font-size: 13px;
    padding: 0 5px;
}

.poll-icn-adj {
	font-size: 14px;
	vertical-align: middle;
	margin-top: -1px;
	margin-right: 2px;
}

/** Modal Start **/

.blocker {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, .75);
	text-align: center;
}

.blocker:before{
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.05em;
}

.blocker.behind {
	background-color: transparent;
}

.modal {
	position: relative;
	display: inline-block;
	width: 400px;
	text-align: left;
	background: #fff;
	box-sizing: border-box;
	z-index: 2;
	vertical-align: middle;
	border-radius: 3px;
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, .3)
}

.modal a.close-modal {
	position: absolute;
    top: 1.3rem;
    right: 1.3rem;
    display: block;
    width: 16px;
    height: 16px;
    text-indent: -9999px;
	background: url(../../../images/rodexia/close.png) no-repeat 0 0; 
}

.modal.login-modal {
	max-width: 426px;
	padding: 17px 10px;
}

.modal-spinner {
	display: none;
	width: 64px;
	height: 64px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-right: -32px;
	margin-top: -32px;
	background: url(../../../images/spinner_big.gif) no-repeat center center;
	border-radius: 8px;
}

/** Modal End **/

/** Impromptu Start **/

/*! jQuery-Impromptu - v6.2.3 - 2016-04-23
* http://trentrichardson.com/Impromptu
* Copyright (c) 2016 Trent Richardson; Licensed MIT */

.jqifade{
	position: absolute;
	background-color: #777;
}

iframe.jqifade {
	display:block;
	z-index:-1;
}

div.jqi {
	font-family: inherit;
	width: 400px;
	max-width: 90%;
	position: absolute;
	background: #fff;
	font-size: 13px;
	text-align: left;
	padding: 7px;
	border-radius: 3px;
	box-shadow: 1px 1px 7px 0px rgba(0, 0, 0, .3);
}

div.jqi .jqicontainer {}

div.jqi .jqiclose{
	position: absolute;
	top: 5px;
	right: 9px;
	width: 16px;
	cursor: pointer;
	color: #bbb;
	font-size: 18px;
}

div.jqi .jqiclose:hover {
    color: #777;
}

div.jqi .jqistate{
	background-color: #fff;
}

div.jqi .jqititle{
	padding: 5px 10px;
	font-size: 16px;
	line-height: 20px;
	border-bottom: solid 1px #eee;
}

div.jqi .jqimessage{
	padding: 13px 18px 20px;
	line-height: 20px;
	color: #607d8b;
	overflow: auto;
}

div.jqi .jqibuttonshide{
	display: none;
}

div.jqi .jqibuttons{
	margin: 0px -7px -7px -7px;
	text-align: right;
	border-top: solid 1px #efefef;
	background-color: #f5f6f7;
	border-radius: 0px 0 3px 3px;
	padding: 8px 11px 8px 9px;
}

div.jqi .jqibuttons button {
	background-color: #fff;
	margin: 0;
	margin-left: 0px;
	padding: 3px 21px 4px 20px;
	font-weight: normal;
	color: #90a4ae;
	font-size: 13px;
	margin-left: 5px;
	border-radius: 1px !important;
	box-shadow: none !important;
	border: 1px solid #80cbc4 !important;
}

div.jqi .jqibuttons button.jqidefaultbutton{
	color: #489afe;
	color: #00bcd4;
	border: 1px solid #81d4fa !important;
}

div.jqi .jqibuttons button:hover,
div.jqi .jqibuttons button:focus {
	color: #287ade;
	outline: none;
	border: 1px solid #00bcd4 !important;
}

div.jqi .jqibuttons button[disabled]{
	color: #aaa;
}

.jqiwarning .jqi .jqibuttons{
	background-color: #b95656;
}

/* sub states */
div.jqi .jqiparentstate::after{
	background-color: #777;
	opacity: 0.6;
	filter: alpha(opacity=60);
	content: '';
	position: absolute;
	top:0;left:0;bottom:0;right:0;
	border-radius: 3px;
}
div.jqi .jqisubstate{
	position: absolute;
	top:0;
	left: 20%;
	width: 60%;
	padding: 7px;
	border: solid 1px #eeeeee;
	border-top: none;
	border-radius: 0 0 6px 6px;
}
div.jqi .jqisubstate .jqibuttons button{
	padding: 10px 18px;
}

/* arrows for tooltips/tours */
.jqi .jqiarrow{ position: absolute; height: 0; width:0; line-height: 0; font-size: 0; border: solid 10px transparent;}

.jqi .jqiarrowtl{ left: 10px; top: -20px; border-bottom-color: #fff; }
.jqi .jqiarrowtc{ left: 50%; top: -20px; border-bottom-color: #fff; margin-left: -10px; }
.jqi .jqiarrowtr{ right: 10px; top: -20px; border-bottom-color: #fff; }

.jqi .jqiarrowbl{ left: 10px; bottom: -20px; border-top-color: #fff; }
.jqi .jqiarrowbc{ left: 50%; bottom: -20px; border-top-color: #fff; margin-left: -10px; }
.jqi .jqiarrowbr{ right: 10px; bottom: -20px; border-top-color: #fff; }

.jqi .jqiarrowlt{ left: -20px; top: 10px; border-right-color: #fff; }
.jqi .jqiarrowlm{ left: -20px; top: 50%; border-right-color: #fff; margin-top: -10px; }
.jqi .jqiarrowlb{ left: -20px; bottom: 10px; border-right-color: #fff; }

.jqi .jqiarrowrt{ right: -20px; top: 10px; border-left-color: #fff; }
.jqi .jqiarrowrm{ right: -20px; top: 50%; border-left-color: #fff; margin-top: -10px; }
.jqi .jqiarrowrb{ right: -20px; bottom: 10px; border-left-color: #fff; }

/** Impromptu End */

.sicon {
	display: inline-block;
	font-size: 16px;
	width: 32px;
	height: 32px;
	text-align: center;
	border-radius: 1000px;
}

.sicon i {
	line-height: 33px;
}

.sicon.fb { border: 2px solid #3b5998; background: #3b5998; color: #fff; }
.sicon.fb:hover { border: 2px solid #3b5998; background: none; color: #3b5998; } 
.sicon.yt { border: 2px solid #dd4b39; background: #dd4b39; color: #fff; }
.sicon.yt:hover { border: 2px solid #dd4b39; background: none; color: #dd4b39;  }
.sicon.tw { border: 2px solid #00aced; background: #00aced; color: #fff; }
.sicon.tw:hover { border: 2px solid #00aced; background: none; color: #00aced; }
.sicon.ln { border: 2px solid #0077b5; background: #0077b5; color: #fff; }
.sicon.ln:hover { border: 2px solid #0077b5; background: none; color: #0077b5;  }
.sicon.re { border: 2px solid #ff4500; background: #ff4500; color: #fff; }
.sicon.re:hover { border: 2px solid #ff4500; background: none; color: #ff4500; }

.rightbutton {
	cursor: pointer;
    float: right;
	font-size: 18px;
	display: block; 
}

.leftbutton {
	cursor: pointer;
    float: right;
	font-size: 18px;
	display: block; 
}

.rightbutton:hover { color: #eee; }
.leftbutton:hover { color: #eee; }

.pmbg {
	background: #039be5;
	max-width: 220px;
	margin-left: 3px;
	text-align: center;
	height: 24px;
	width: 24px;
	line-height: 25px;
	color: #fff;
	display: inline-block;
	border-radius: 1000px;
}

.pmbg:hover {
    background: #2c82c9;
}

.ttip {
	position: relative;
	font-weight: 400;
	outline: none;
	text-decoration: none;
}

.ttip span { 
	position: absolute;
	display: none;
	margin-left: -999em; 
}

.ttip:hover span {
	position: absolute;
	opacity: 1;
	font-size: 12px;
	color: #fff;
	margin-left: 0;
	min-width: 230px;
	top: 2.5em; left: 3px;
	z-index: 99;
	font-family: inherit;
	border-radius: 2px;
}

.ttbg  { 
	padding: .6em .9em .6em .7em;
	background: rgba(3, 3, 3, .7);
	font-weight: 400;
	font-family: "Open Sans", Arial, Sans-Serif !important;
}

.ttbg:after {
	position: absolute !important;
	bottom: 100%;
	left: 10px;
	content: " ";
	height: 0;
	width: 0;
	pointer-events: none;
	border-color: rgba(136, 183, 213, 0) !important;
	border-bottom-color: rgba(3, 3, 3, .7) !important;
	border-width: 6px !important;
	border: solid transparent; 
}

#backtop {
	position: fixed;
	margin: 0px;
	cursor: pointer;
	border-radius: 1000px;
	color: #fff;
	font-size: 18px;
	right: 23px; bottom: 17px;
	z-index: 372;
	text-align: center;
	height: 42px; 
	width: 42px;
	transition: background-color 0.1s;
	background: rgba(44, 130, 201, .6);
}

#backtop .arr-adj {
	line-height: 42px;
	margin-left: -1px;
}

#backtop:hover { 
	background: rgba(44, 130, 201, .75); 
}
		
/* DVZ Shoutbox */
#shoutbox { margin-bottom: 20px; 
	/* border: solid 2px rgba(0,0,0,0.1);*/ 
	background: rgb(253, 253, 253);
	border-bottom: 1px solid #f0f0f0;

}
#shoutbox .head { padding: 8px; }
#shoutbox.front .head { cursor: pointer; }
#shoutbox .head .right { float: right; margin: 0 -8px 0 0; font-size: 13px; }
#shoutbox .head .right a { padding: 8px; }
#shoutbox.collapsed .head { opacity: 0.6; }
#shoutbox.collapsed .body { display: none; }

#shoutbox .panel { border-top: solid 2px rgba(0,0,0,0.1); }
#shoutbox input.text { margin: 0; padding: 10px 8px; width: 100%; box-sizing: border-box; border: none; box-shadow: inset 0 2px 4px rgba(0,0,0,0.08); font-family: Arial, sans-serif; font-size: 12px; color: #000; }
#shoutbox .minposts, #shoutbox .blocked { padding: 6px; font-size: 11px; }
#shoutbox .panel.minposts { background: #FFFED8; color: #727250; }
#shoutbox .panel.blocked { background: #FCEFEF; color: #543A3A; }
#shoutbox .panel p { margin: 0; }

#shoutbox .window { border-top: solid 2px rgba(0,0,0,0.1); overflow-y: scroll; }
#shoutbox .data { display: table; width: 100%; border-top: solid 2px rgba(0,0,0,0.1); font-family: Arial, sans-serif; font-size: 12px; }
#shoutbox.front .data { border-top: none; }

#shoutbox .entry { display: table-row !important; width: 100%; transition: background-color 0.2s; }
#shoutbox .entry:nth-child(even) { background-color: rgba(0,0,0,0.01); }
#shoutbox .entry.new { background-color: rgba(255,255,100,0.1); }
#shoutbox .entry:target { background-color: rgba(50,200,255,0.1); }
#shoutbox .entry > div { border-bottom: dashed 1px rgba(0,0,0,0.05); }
#shoutbox .entry:last-child > div { border-bottom: none; }

#shoutbox .entry > div { display: table-cell; padding: 6px; }

#shoutbox .avatar { height: 22px; }
#shoutbox .avatar img { margin: 0 auto; vertical-align: middle; max-height: 20px; max-width: 20px; border: solid 1px rgba(255,255,255,0.1); box-shadow: 0 0 2px rgba(0,0,0,0.1); cursor: pointer; }
#shoutbox .user { border-right: solid 1px rgba(0,0,0,0.05); text-align: right; white-space: nowrap; }
#shoutbox .text { width: 100%; color: #555; word-break: break-all; word-wrap: break-word; }
#shoutbox .info { font-size: 11px; color: #AAA; white-space: nowrap; text-align: right; }
#shoutbox .entry.unread .info:before { display: inline-block; margin-right: 10px; height: 4px; width: 4px; content: ''; background: rgba(255,100,0,0.8); border-radius: 10px; vertical-align: middle; }
#shoutbox .info a { color: inherit; }
#shoutbox .mod { padding: 6px 8px; font-size: 9px; font-weight: bold; color: #AAA; text-decoration: none; }
#shoutbox .mod:nth-of-type(2) { margin-right: 5px; border-left: solid 1px rgba(0,0,0,0.1); }
#shoutbox  .ip { margin-right: 10px; color: #CECECE; }

.bam_announcement:empty {
    display: none !important;
}


.post_body embed[type="application/pdf"] {
    width: 100% !important; /* Rozciągnie do pełnej szerokości posta */
    height: 1000px !important; /* Twoja nowa wysokość */
}


/* Lista wydarzeń */
.se-list {
    display: flex;
    flex-direction: column;
}

.se-empty {
    padding: 20px;
    text-align: center;
    color: #777;
}

/* Pojedynczy wiersz wydarzenia */
.se-item {
    display: flex;
    align-items: center;
    padding: 15px 3px;
    border-bottom: 1px solid #f0f0f0;
}

.se-item:last-child {
    border-bottom: none;
}

/* Kwadracik z datą z lewej */
.se-date-box {
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    min-width: 45px;
    text-align: center;
    padding: 5px 0;
    margin-right: 15px;
    background: #fff;
}

.se-date-box .se-month {
    display: block;
    color: #a33; /* Czerwień / Bordo */
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.se-date-box .se-day {
    display: block;
    color: #333;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.1;
}

/* Środkowa część - Tytuł i pełna data */
.se-details {
    flex-grow: 1;
}

.se-details .se-title {
    display: block;
    color: #1a4073; /* Kolor nazwy eventu (granat) */
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 3px;
    line-height: 1.3;
}

.se-details .se-title:hover {
    text-decoration: underline;
}

.se-details .se-fulldate {
    display: block;
    color: #2b3b5c;
    font-size: 12px;
    font-weight: 700;
}

/* ========================================================= */
/* --- NOWOCZESNE PRZYCISKI W NAGŁÓWKU (Meldunek/Odprawa) ---*/
/* ========================================================= */

.guest-top-buttons {
    display: flex;
    align-items: center;
    height: 48px;
    gap: 12px;
}

.guest-top-buttons .btn-thin {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    line-height: normal;
    transition: all 0.2s ease-in-out;
    letter-spacing: 0.5px;
}

.guest-top-buttons .btn-thin i {
    margin-right: 6px;
    font-size: 14px;
}

/* "Meldunek" */
.guest-top-buttons .btn-login {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.guest-top-buttons .btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* "Odprawa paszportowa" */
.guest-top-buttons .btn-register {
    background-color: #e67e22;
    color: #ffffff;
    border: 1px solid #e67e22;
}

.guest-top-buttons .btn-register:hover {
    background-color: #d35400;
    border-color: #d35400;
}


/* ========================================================= */
/* --- NOWOCZESNA KARTA LOGOWANIA (member.php?action=login) -*/
/* ========================================================= */

.modern-login-card {
    max-width: 450px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border-left: 6px solid #537772;
    font-family: inherit;
}

.modern-login-header {
    background: #537772;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    padding: 1.2em 1.425em 1.175em 1.275em;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-login-header i {
    font-size: 16px;
}

.modern-login-body {
    padding: 24px 1.425em;
    color: #333333;
    line-height: 1.6;
    font-size: 14px;
}

.modern-login-body .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modern-login-body label {
    font-weight: 600;
    color: #444;
}

.modern-login-body .modern-input {
    width: 100%;
    /* padding: 12px 14px; */
    border: 1px solid #dcdde1;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fcfcfc;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modern-login-body .modern-input:focus {
    outline: none;
    border-color: #537772;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 39, 87, 0.1);
}

.modern-login-body .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 20px;
}

.modern-login-body .form-options .remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: normal;
}

.modern-login-body .form-options .lost-pw {
    color: #537772;
    text-decoration: none;
    font-weight: 600;
}

.modern-login-body .form-options .lost-pw:hover {
    text-decoration: underline;
}

/* Przycisk logowania - pancerodporny na wtyczki */
.modern-login-body input[type="submit"] {
    width: 100% !important;
    padding: 14px !important;
    font-size: 16px !important;
    background-color: #537772 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: background 0.2s ease !important;
    box-sizing: border-box !important;
    margin-top: 10px;
    display: block;
}

.modern-login-body input[type="submit"]:hover {
    background-color: #003a82 !important;
}

.modern-form-body input[type="submit"].btn-register-action {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    background-color: #537772; 
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
}

.modern-form-body input[type="submit"].btn-register-action:hover {
    background-color: #003a82; 
}

/* Link pod przyciskiem ("Przejdź do odprawy") */
.card-footer-links {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}

.card-footer-links a {
    color: #e67e22;
    font-weight: 600;
    text-decoration: none;
}

.card-footer-links a:hover {
    text-decoration: underline;
}


/* ========================================================= */
/* --- NAPRAWA I WYŚRODKOWANIE CLOUDFLARE TURNSTILE/CAPTCHA -*/
/* ========================================================= */

.modern-login-body .captcha-table {
    width: 100%;
    border: none !important;
    background: transparent !important;
    margin-bottom: 20px;
}

/* Używamy Flexboxa, by wymusić wyśrodkowanie tabeli generowanej przez wtyczkę */
.modern-login-body .captcha-table tbody,
.modern-login-body .captcha-table tr,
.modern-login-body .captcha-table td {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Blokada szerokości i reset marginesów dla samego widgetu */
.modern-login-body .captcha-table td > div,
.cf-turnstile,
.cf-turnstile > div,
.cf-turnstile iframe {
    margin: 0 auto !important;
    display: block !important;
    text-align: center !important;
}

/* ========================================================= */
/* --- NOWOCZESNA KARTA ODPRAWY (REJESTRACJA - REGULAMIN) ---*/
/* ========================================================= */

.modern-form-full {
    width: 100%;
    display: flex;
    justify-content: center;
}

.modern-form-card {
    width: 100%;
    max-width: 750px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border-left: 6px solid #537772; 
    font-family: inherit;
}

.modern-form-header {
    background: #537772;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    padding: 1.2em 1.425em 1.175em 1.275em;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-form-header i { font-size: 16px; }

.modern-form-body {
    padding: 30px 1.425em;
    color: #333333;
    line-height: 1.6;
    font-size: 14px;
}

/* Sekcja Herbu i Tytułu Państwa */
.modern-form-body .herb-container {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.modern-form-body .biale-herb {
    max-width: 90px;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.1));
    margin-bottom: 10px;
}

.modern-form-body .herb-container h3 {
    margin: 0;
    color: #537772;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Typografia tekstu regulaminu */
.modern-form-body .welcome-head {
    color: #537772;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.modern-form-body .intro-text {
    text-align: justify;
    margin-bottom: 15px;
}

/* Punkty prawa granicznego */
.modern-form-body .law-point {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid #537772;
    text-align: justify;
    background: #fcfcfc;
    padding: 12px 15px;
    border-radius: 0 6px 6px 0;
}

.modern-form-body .law-point strong {
    color: #537772;
}

/* Zrozumienie warunków pod spodem */
.modern-form-body .final-decl {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 15px;
    background: #fff8f3; /* Bardzo delikatne pomarańczowe tło */
    border-radius: 6px;
    border: 1px dashed #e67e22;
    font-weight: 600;
    color: #d35400;
}

/* Przycisk przejścia granicy */
.modern-form-body input[type="submit"].btn-register-action {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    background-color: #e67e22; /* Kontrastowy kolor akcji */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
}

.modern-form-body input[type="submit"].btn-register-action:hover {
    background-color: #d35400;
}

.modern-form-body input[type="submit"].btn-register-action:active {
    transform: scale(0.98);
}

/* ========================================================= */
/* --- BEZPIECZNY FORMULARZ REJESTRACJI (MYBB SAFE) -------- */
/* ========================================================= */

/* Modyfikator dla szerszej karty (musi pomieścić 2 kolumny) */
.modern-form-card.register-card {
    max-width: 950px; 
}

/* Marginesy dla lewej i prawej kolumny w tabeli */
.safe-register-table {
    table-layout: fixed;
}

.safe-col-left {
    padding-right: 15px;
}

.safe-col-right {
    padding-left: 15px;
}

/* Responsywność - na telefonach lewa i prawa kolumna spadają pod siebie */
@media (max-width: 768px) {
    .safe-register-table, 
    .safe-register-table tbody, 
    .safe-register-table tr, 
    .safe-col-left, 
    .safe-col-right {
        display: block;
        width: 100%;
        padding: 0;
    }
    .safe-col-left {
        margin-bottom: 20px;
    }
}

/* Nowoczesny wygląd sekcji (Fieldset) z MyBB */
fieldset,
.modern-fieldset {
    border: 1px solid #eaeaea !important;
    background: #fdfdfd !important;
    border-radius: 6px !important;
    /* padding: 20px !important; */
    margin-bottom: 20px !important;
}

fieldset legend,
.modern-fieldset legend {
    background: #537772 !important;
    color: #fff !important;
    padding: 6px 16px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Etykiety i teksty */
.form-label, 
.modern-fieldset span.smalltext,
fieldset span.smalltext {
    color: #444;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 5px;
}

/* Magiczne podświetlenie i zmiana wyglądu inputów (nawet tych ukrytych w zmiennych) */
.modern-input,
fieldset input[type="text"],
fieldset input[type="password"],
fieldset input.textbox {
    width: 100% !important; /* Siłowe wymuszenie pełnej szerokości */
    padding: 12px 14px !important;
    border: 1px solid #dcdde1 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    background-color: #fcfcfc !important;
    box-sizing: border-box !important; /* Zapobiega wylewaniu się poza kontener */
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    max-width: 100%; /* Dodatkowe zabezpieczenie */
}

.modern-input:focus,
fieldset input[type="text"]:focus,
fieldset input[type="password"]:focus {
    outline: none;
    border-color: #537772 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 39, 87, 0.1) !important;
}

/* Selecty */
.modern-select,
.mybb-select-wrapper select,
fieldset select {
    width: 100%;
    /* padding: 12px 14px; */
    border: 1px solid #dcdde1 !important;
    border-radius: 6px !important;
    font-size: 14px;
    background-color: #fcfcfc !important;
    box-sizing: border-box;
    cursor: pointer;
    font-family: inherit;
}

.modern-select:focus,
fieldset select:focus {
    outline: none;
    border-color: #537772 !important;
    box-shadow: 0 0 0 3px rgba(0, 39, 87, 0.1) !important;
}

/* Tabela z checkboxami */
.checkbox-table label {
    font-size: 13px;
    color: #444;
    cursor: pointer;
}

.checkbox-table input[type="checkbox"] {
    cursor: pointer;
    margin-right: 5px;
}

/* Wyśrodkowanie przycisku CAPTCHA i weryfikacji */
.captcha-safe-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.captcha-safe-area table {
    margin: 0 auto;
}

/* ========================================================= */
/* --- MENU ZALOGOWANEGO UŻYTKOWNIKA (KWADRACIKI) ---------- */
/* ========================================================= */

.member-top-buttons {
    display: flex;
    align-items: center;
    height: 48px; /* Wysokość Twojej belki #panel .upper */
    gap: 8px; /* Odstęp między kwadracikami */
}

/* Srebrne kwadraciki z ikonami */
.member-top-buttons .btn-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #e0e6ed; 
    color: #537772 !important; /* Wymuszenie granatowego koloru */
    border-radius: 4px;
    font-size: 15px;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* Tarcza ochronna dla samych ikon przed globalnymi stylami MyBB */
.member-top-buttons .btn-square i {
    color: #537772 !important; 
}

/* Reakcja na najechanie myszką */
.member-top-buttons .btn-square:hover {
    background-color: #ffffff; 
    transform: translateY(0px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* --- Przycisk wymeldowania (Efekt Meldunku z czerwonym alarmem) --- */
.member-top-buttons .btn-logout {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4); /* Jasna, widoczna ramka, identyczna jak w Meldunku */
}

.member-top-buttons .btn-logout i {
    color: #ffffff !important; /* Biała ikona w spoczynku */
}

/* Reakcja na najechanie - przycisk "odpala" się na czerwono */
.member-top-buttons .btn-logout:hover {
    background-color: #e74c3c; /* Solidne czerwone tło */
    border-color: #e74c3c;     /* Czerwona ramka */
}

.member-top-buttons .btn-logout:hover i {
    color: #ffffff !important; /* Ikona zostaje biała na czerwonym tle */
    transform: scale(1.1);     /* Lekkie powiększenie samej ikonki dla lepszego efektu kliknięcia */
}

/* --- Licznik wiadomości prywatnych i powiadomień (Czerwony bąbelek) --- */
.member-top-buttons .pm-badge {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background-color: #e74c3c !important; /* Wyraźny czerwony kolor */
    color: #ffffff !important;             /* Biała cyfra */
    font-size: 11px !important;
    font-weight: bold !important;
    padding: 3px 6px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    line-height: 1 !important;
    display: inline-block !important;
    z-index: 10 !important; /* Zapewnia, że bąbelek zawsze będzie na wierzchu */
}

/* MAGICZNY TRIK: Ukryj licznik, jeśli nowych wiadomości/powiadomień jest 0 */
.member-top-buttons .pm-badge[data-count="0"],
.member-top-buttons .pm-badge[data-count=""] {
    display: none !important;
}


/* --- NOWOCZESNE STATYSTYKI SIDEBAR --- */
.sidebar-fieldset.stats-container {
    background: #ffffff !important;
    border: 1px solid #dce4ec !important;
    border-radius: 12px !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

/* Poprawiona legenda - unifikacja z badge'em */
.sidebar-fieldset.stats-container legend {
    background: #002147 !important; /* Granat Bialeński */
    color: #ffffff !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
}

/* Siłowe wymuszenie bieli dla linku w legendzie */
.sidebar-fieldset.stats-container legend a, 
.sidebar-fieldset.stats-container legend a:link, 
.sidebar-fieldset.stats-container legend a:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

.stat-cards-vertical {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.stat-card {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #f1f5f9 !important; /* Wyraźne, szaro-niebieskie tło */
    padding: 12px 15px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important; /* Widoczna ramka */
    transition: all 0.2s ease !important;
}

.stat-label {
    font-size: 10px !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.stat-value {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
	text-align: right;
}

/* Przejście graniczne - specjalny kolor dla nicku */
#val-newest a {
    color: #2c3e50 !important;
    font-weight: 800 !important;
}

/* Sekcja Online */
.online-section {
    margin-top: 15px !important;
    padding-top: 15px !important;
    border-top: 2px dashed #f1f5f9 !important;
}

.online-header {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
}

.text-online {
    color: #2ecc71 !important;
    font-size: 8px !important;
    margin-right: 5px !important;
}

.online-users-list {
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: #4a5568 !important;
}

/* --- KONIEC STATYSTYK --- */


/* Styl dla pełnoekranowej przesłony */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #537772; /* Ciemnoniebieskie tło dopasowane do barw Bialenii */
    z-index: 999999; /* Wyższy niż cookie banner i inne skrypty */
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

/* Styl dla animowanego elementu ładowania wewnątrz przesłony */
.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(212, 175, 55, 0.2); /* Złoty akcent Bialenii */
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Ukrycie przesłony po pełnym załadowaniu strony */
body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

/* Złoty pasek postępu ładowania */
#loading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px; /* Subtelna wysokość paska, dokładnie jak na YouTube */
    width: 0%;
    background: linear-gradient(90deg, #b5952f 0%, #d4af37 50%, #f3e5ab 100%); /* Przejście tonalne bialeńskiego złota */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.7), 0 0 5px rgba(212, 175, 55, 0.4); /* Delikatna złota poświata */
    z-index: 100000; /* Musi być nad preloaderem i wszystkimi innymi elementami strony */
    transition: width 0.4s ease-out, opacity 0.3s ease-in-out;
}