body {
	background-color: #EDF2F9;
}

.przerwa-lewa {
    margin-left: .5rem;
}
.przerwa-top {
    margin-top: .5rem;
}
.przerwa-bottom {
	margin-bottom: .5rem;
}
.przerwa-top-bottom {
	padding-top: 1rem;
  padding-bottom: 1rem;
}
.width100 {
    width: 100%;
}
.przyklejone {
	position: fixed;
	bottom: 0px;
	left: 0px;
	z-index: 100;
	background-color: #EDF2F9;
	width: 100%;
	padding: 1rem;
}
.stopka {
width: 100%;
}
.outside {
	width: 100%;
	height: 90vh;
	display: flex;
	justify-content: center;
	align-items: center;
}
.inside {
	width: 50rem;
}
.text_lewa {
	text-align: left;
}
.text-prawa {
	text-align: right;
}
.stopka_operacja {
	border-top: 1px solid #d5d5d5;
	font-size: .7rem;
	padding-top: 1rem;
	color: rgb(85, 88, 88);
}
.saldo_kwota {
		margin-bottom: 0;
		font-size: 2rem;
		font-weight: bold;	
}
.accordion-item {
	border-top: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color) !important;
	margin-bottom: .6rem;
}
.accordion-button:focus {
	border-color: none; 
	box-shadow: none; 
}
.status {
	background-color: #0d6efd;
	margin-right: .3rem;
}
.opis {
	font-size: .9rem;
	margin-bottom: 1rem;
	background-color: #edf2f9;
	padding: .5rem;
	border-radius: 5px;
	border: 1px solid #cfe2ff;
}
.oczekuje {
	padding: .5rem;
	background: #cfe2ff;
	border-radius: 5px;
	color: #052c65;
	margin-bottom: .5rem;
	text-align: center;
	border: 1px solid #0d6efd59;
}
h7 {
	font-size: 0.7rem; 
	color: #868181;
}
.accordion-body {
	padding: .7rem;
}
.opis p {
	margin-bottom: 0;
}
.opis a {
	text-decoration: none;
}
.margin-bottom {
	margin-bottom: 1rem;
	padding-bottom: .6rem;
}
#offcanvasNavbar {
	background: #EDF2F9;
}
.nav-item {
	background: #fff;
	margin-bottom: .5rem;
	padding-left: 1rem;
	border: 1px solid #d5d5d5;
}
.navbar-nav.justify-content-end.flex-grow-1.pe-3 {
	padding-right: 0px !important;
}

.menu-link {
	background: #fff;
	margin-bottom: .5rem;
	padding: 1rem;
	border: 1px solid #dee2e6;
}
.menu-link h2 {
	font-size: 1rem;
	margin-bottom: 0;
}
.menu-link h2 a {
	text-decoration: none;
	color: #212529;
}
.badge.bg-secondary {
	background-color: #0d6efd !important;
	margin-left: .5rem;
}
.btn.btn-light {
	background-color: #fff;
	text-align: left;
	padding: .9rem;
}

.grid_kontener {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr 300px;
}
.rozliczenie_kontener {
	display: grid;
	gap: .5rem;
	grid-template-columns: auto 1fr;
	padding: .7rem;
	background-color: #fff;
	border-radius: 5px;
	border: 1px solid #dee2e6;
	align-items: center;
}
.roliczenie_ikona {
	background: #ff00003d;
	width: 50px;
	height: 50px;
	border-radius: 50%;
}
.rozlczienie_dane {
	text-align: left;
	font-size: .9rem;
}
.roliczenie_kwota {
	text-align: right;
}
.lewa_strona, .prawa_kontener {
	background-color: #fff;
	padding: 1rem;
	border-radius: 5px;
	border: 1px solid #0d6efd33;
}
.prawa_kontener {
	margin-bottom: 1rem;
}
.prawa_strona h2, .naglowek {
	padding-bottom: .5rem;
	border-bottom: 1px dotted #737d88;
	margin-bottom: 1rem;
}
.text-prawa a {
	text-decoration: none;
	color: #555858;
}
.bilans_green {
	background-color: #0080003b;
	border: 1px solid #00800061;
}
.bilans_red {
	background-color: #ff00002e;
	border: 1px solid #ff000045;
}
.bigscreen::after {
	content: "\00a0";
}
.ikony_menu a {
	border: 1px solid #0096f0;
	margin-right: 0.5rem;
}
.belka_top {
	background-color: #0d6efd;
	padding-top: .5rem;
	padding-bottom: .5rem;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 100;
}
.grid_belka {
	display: grid;
	grid-template-columns: auto 1fr;
}
.menu {
	text-align: right;
}
.logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
}
.logo a {
	text-decoration: none;
	font-size: 1.3rem;
	font-weight: 400;
}
.logo img {
	height: 35px;
	width: 35px;
}
.grid-dropdown {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	padding: .3rem;
	background-color: #e8f2ff;
	margin: .5rem;
	border-radius: 5px;
	min-width: 250px;
	border: 1px solid #d2e1f6;
}
.img-avatar {
	border-radius: 50%;
	width: 50px;
}
.grid-dropdown-dane span {
	display: block;
	font-size: .8rem;
	font-weight: normal;
}
.grid-dropdown-dane {
	font-weight: 600;
	text-align: left;
	display: inherit;
}
.grid-avatars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
}
.avatar img {
	width: 100%;
	border-radius: 5%;
	border: 1px solid #0d6efd26;
}

.przywitanie img {
	width: 50%;
	border-radius: 50%;
}
.przywitanie {
	text-align: center;
	padding-bottom: 2rem;
}
.menu-profil {
	text-decoration: none;
	color: #000;
	border: 1px solid #d5d5d5;
	width: 100%;
	display: block;
	padding: 1rem;
	border-radius: 10px;
}
.menu-profil:hover {
	border: 1px solid #bab7b7;
}
.menu-profil i {
	margin-right: .5rem;
}
.skeleton {
    animation: pulse 1.5s infinite ease-in-out;
    background: #e2e5e7;
    border-radius: 6px;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: .4; }
    100% { opacity: 1; }
}

.skeleton-item {
    height: 80px;
    margin-bottom: 15px;
}
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   System znajomych
   ===================== */

.znajomi-sekcja-naglowek {
    font-size: .95rem;
    font-weight: 600;
    color: #444;
    border-bottom: 1px dotted #ccc;
    padding-bottom: .4rem;
    margin-bottom: .8rem;
    margin-top: 1.2rem;
}

.znajomy-karta {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: .8rem;
    align-items: center;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: .6rem .8rem;
    margin-bottom: .5rem;
}

.zaproszenie-oczekujace {
    border-color: #f5c842;
    background-color: #fffbea;
}

.zaproszenie-wyslane {
    background-color: #f8f9fa;
}

.znajomy-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dee2e6;
}

.znajomy-dane {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.znajomy-dane strong {
    font-size: .9rem;
}

.znajomy-dane small {
    font-size: .75rem;
    color: #888;
}

.znajomy-akcje {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Badge na ikonie osoby w nawigacji */
.belka_top .btn.position-relative {
    overflow: visible;
}

.badge-nowe {
    animation: pulse-new 2s ease-in-out 3;
}

@keyframes pulse-new {
    0%   { opacity: 1; }
    50%  { opacity: .4; }
    100% { opacity: 1; }
}

/* =====================
   Logi logowań
   ===================== */

.logi-tabela {
    font-size: .82rem;
}

.logi-tabela thead th {
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.logi-ip {
    font-family: monospace;
    font-size: .78rem;
    color: #555;
}

.logi-stats {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
}

.progress {
    background-color: #e9ecef;
    border-radius: 999px;
}

/* =====================
   Załączniki
   ===================== */
.attachments-display {
	display: grid;
	gap: 0.5rem;
	padding: 0.75rem;
	background: #f8f9fa;
	border-radius: 6px;
	border: 1px solid #dee2e6;
	grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
}

.attachment-btn {
	display: grid;
	align-items: center;
	padding: 0.5rem 0.75rem;
	background: white;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	text-decoration: none;
	color: #212529;
	transition: all 0.2s;
	font-size: 0.9rem;
	grid-template-columns: auto auto 1fr auto auto;
	gap: .2rem;
}

.attachment-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #000;
    transform: translateX(2px);
}

.attachment-btn i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    color: #6c757d;
}

.attachment-type {
    display: inline-block;
    background: #0d6efd;
    color: white;
    padding: 0.125rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.attachment-name {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .attachment-name {
        max-width: 100px;
    }
}



@media (max-width: 500px) {
    .hide-mobile {
        display: none;
    }
}



@media (max-width: 730px) {
	.grid_kontener {
		grid-template-columns: 1fr;
	}
	.prawa_strona {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	}
}

@media (max-width: 730px) {
	.bigscreen {
		display: none;
		padding-left: .5rem;
	}
}

