:root {
	--pk-dark: #222222;       /* Tło paska bocznego */
	--pk-body: #1a1a1a;       /* Tło główne */
	--pk-header: #2b2b2b;     /* Belka górna */
	--pk-accent: #1b9eff;     /* Kolor akcentu (np. hover) */
	--pk-text: #e0e0e0;
}

body {
	background-image: url(/img/panorama.png), url(/img/panorama-bg.png), linear-gradient(0deg, #ff9900, #996767, #5797b0, #80bee3);
	background-position: center bottom, center bottom, 0 0, 0 0;
	background-repeat: no-repeat, repeat-x, repeat-x, repeat;
	background-attachment: fixed;
	margin: 0px;
	padding: 0px;
	height: 100%;
	width: 100%;

	color: var(--pk-text);
	margin: 0;
	overflow-x: hidden;
}

/* Belka górna */
.top-bar {
	height: 50px;
	background: rgb(0 0 0 / 50%);
	border-bottom: 1px solid #333;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

/* online dot */
.status-container {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: relative;
}

.ping-dot {
	width: 8px;
	height: 8px;
	background-color: #22c55e;
	border-radius: 50%;
	position: relative;
	display: inline-block;
}

/* Warstwa animowana (fala) */
.ping-dot::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #22c55e;
	border-radius: 50%;
	animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
	75%, 100% {
		transform: scale(2.5);
		opacity: 0;
	}
}


/* Pasek boczny */
.sidebar {
	width: 250px;
	height: 100%; 
	position: fixed;
	top: 50px;
	left: 0;
	background: rgb(0 0 0 / 50%);
	padding-top: 10px;
	border-right: 1px solid #333;
	z-index: 100;
}

.sidebar a {
	color: #bbb;
	text-decoration: none;
	padding: 12px 20px;
	display: block;
	transition: 0.3s;
	font-size: 14px;
}

.sidebar a:hover {
	background-color: #2d2d2d;
	color: var(--pk-accent);
}

.sidebar a i {
	margin-right: 10px;
}

.msx2 {
	margin-left: .5rem !important;
}


 /* Główny kontener */
.main-content {
    margin-left: 250px;
    margin-top: 50px;
    padding: 30px;
    min-height: calc(100vh - 50px - 65px); 
    box-sizing: border-box;
}

/* Stopka */
.footer {
	margin-left: 250px;
	height: 65px;
	background: rgb(0 0 0 / 50%);
	border-top: 1px solid #333;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: #c7c7c7;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
	.sidebar { width: 70px; }
	.sidebar span { display: none; }
	.msx2 { display: none; }
	.main-content, .footer { margin-left: 70px; }
}
		

.containerx {
    width: 90%;
    max-width: 1600px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 40px auto; 
}

h2 { text-align: center; color: #444; font-weight: 600; margin-bottom: 20px; }
h1 { text-align: center; color: #444; font-weight: 100; margin-bottom: 20px; font-size: small; }

.live-stats-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-bottom: 30px;
	padding: 20px;
	background: #fdfdfd;
	border-radius: 10px;
	border: 1px solid #f0f0f0;
}
.stat-card { text-align: center; min-width: 130px; }
.stat-card .label {
	display: block;
	font-size: 10px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 5px;
}
.stat-card .value {
	display: block;
	font-size: 16px;
	font-weight: bold;
	color: #2c3e50;
}
.divider { width: 1px; background: #eee; height: 35px; align-self: center; }		
	
h2 { margin-bottom: 20px; font-weight: 300; }

 /* Preview Koloru */
.container2 { 
	background: white;
	padding: 30px; 
	border-radius: 20px; 
	box-shadow: 0 15px 35px rgba(0,0,0,0.5);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 400px;
	box-sizing: border-box;
	margin: auto;
}

#picker { margin: 10px 0; }

.output-label { color: #202020; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

.result-box {
	background: #2a2a2a;
	padding: 15px 25px;
	border-radius: 10px;
	border: 1px solid #444;
	cursor: pointer;
	transition: all 0.2s;
}

.result-box:hover { border-color: #4dabf7; background: #050505; }

code {
	font-family: 'Courier New', monospace;
	font-size: 1.8rem;
	color: #4dabf7;
	font-weight: bold;
}

.copy-hint { font-size: 11px; color: #555; margin-top: -10px; }


.gallery-container {
    padding: 20px;
}

.category-title {
    padding-bottom: 10px;
    margin: 40px 0 20px 0;
    color: #e3e3e3;
    text-transform: uppercase;
    font-size: 1.7rem;
	font-weight: 700;
	text-shadow: 0 0 10px rgb(42 42 42), 0 0 20px rgba(0, 0, 0, 0.5);
    background-color: #444;
    padding: 2px 8px;
    border-radius: 4px;
}

.objects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.object-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    transition: transform 0.2s;
}

.object-card:hover {
	transform: scale(1.03);
    z-index: 5;
    border-color: var(--pk-accent);
}

.object-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 8px;
}

.object-card span {
    font-size: 11px;
    color: #bbb;
    word-break: break-all;
}

/* mailsenser  */
 /* Styl dla tła strony, aby wyśrodkować kontener */
/* Kontener formularza */
.form-container {
	background: white;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	width: 100%;
	max-width: 400px;
	box-sizing: border-box;
	margin: auto;
}

.cipaas h2 {
	text-align: center;
	margin-top: 0;
	color: #333;
}

.field {
	margin-bottom: 15px;
}

label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	color: #555;
}

input, textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-sizing: border-box;
	font-size: 14px;
}

input:focus, textarea:focus {
	outline: none;
	border-color: #e53935;
}

button {
	width: 100%;
	background-color: #e53935;
	color: white;
	border: none;
	padding: 12px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.3s;
}

button:hover {
	background-color: #b71c1c;
}

button:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

#statusMessage {
	text-align: center;
	font-size: 14px;
}


/* ---- */
.content-container {
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin: 200px auto;
    max-width: 600px;
	color: #444;
}

.home-box {
    border-top: 4px solid #fd593e;
}

.error-box {
    border-top: 4px solid #721c24;
    background-color: #f8d7da;
    color: #721c24;
}

code {
    display: block;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    word-break: break-all;
}
