 .footer-navy { background-color: #0a192f; color: #e6f1ff; }
	/* Dodatkowy styl dla interaktywnych kart */
    .custom-card-btn {
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        border: 2px solid transparent !important;
    }
    .custom-card-btn:hover {
        transform: translateY(-5px);
        shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
        background-color: #f8f9fa;
    }
    /* Styl dla aktywnej karty (opcjonalnie) */
    .custom-card-btn.active {
    border-color: #0A58CA !important;
    background-color: #fff;
    }
	
    /* Podstawowe style dla kart-przycisków */
    .custom-card-btn {
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        border: 2px solid #dee2e6 !important; /* Domyślna szara ramka */
    }
    
    .custom-card-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.1) !important;
    }

    /* Specyficzne kolory ramek dla aktywnych kart */
    /* Temperatura */
    .card-temp.active {
        border-color: #dc3545 !important; /* Bootstrap Danger */
        background-color: rgba(220, 53, 69, 0.03);
    }
    /* Ciśnienie */
    .card-press.active {
        border-color: #0d6efd !important; /* Bootstrap Primary */
        background-color: rgba(13, 110, 253, 0.03);
    }
    /* Wilgotność */
    .card-hum.active {
        border-color: #0dcaf0 !important; /* Bootstrap Info */
        background-color: rgba(13, 202, 240, 0.03);
    }

    /* Ukrycie domyślnego focusa Bootstrapa na rzecz naszej ramki */
    .custom-card-btn:focus {
        outline: none;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
    }
	.hr-sculpted {
	  border: 0;
	  height: 0;
	  border-top: 1px solid rgba(0, 0, 0, 0.1);
	  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	  opacity: 1; /* Bootstrap domyślnie obniża opacity, tutaj ją przywracamy */
	}


		body { background: #eef2f3; font-family: 'Inter', system-ui, sans-serif; }
        .card { border: none; border-radius: 20px; transition: transform 0.2s; }
        .card:hover { transform: translateY(-5px); }
        .value { font-size: 2.4rem; font-weight: 500; padding-top: 0rem; margin-top: 0rem; }
        .icon-bg { /*color: #0d6efd;*/ margin-bottom: 5px; }	
		
		#pole_prostokat {
			position: fixed;
			bottom: 5px;
			left: 10px;
			padding: 0px 5px;
			background: rgb(248 249 250 / 80%);
			/* font-family: sans-serif; */
			color: rgba(51, 51, 51, 0.8);
			display: flex;
			align-items: center;
		}
		.logo-png {
			width: 50px;
			height: auto;
			margin-right: 3px;
		}
		.content-right {
			display: flex;
			flex-direction: column;
		}
		.content-right small {
			font-size: 10px;
			line-height: 1;
		}
		.content-right p {
			margin: 2px 0 0 0;
			font-size: 13px;
			font-weight: 500;
		}		  
		.chart-container {
			position: relative; 
			height: 40vh;    /* Wykres zajmie 40% wysokości ekranu */
			min-height: 300px; /* Ale nie mniej niż 300px, żeby był czytelny */
			width: 100%;
		}
		canvas {
			-moz-user-select: none;
			-webkit-user-select: none;
			-ms-user-select: none;
		}

#pole_prostokat {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    width: fit-content; /* Dopasuj szerokość do treści */
}

.logo-png {
    width: 40px; /* Rozmiar dopasowany do paska */
    height: auto;
    margin-right: 12px;
}

.content-right {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.content-right small {
    text-transform: uppercase;
    font-size: 0.65rem;
    color: #6c757d;
    letter-spacing: 0.5px;
}

.content-right p {
    margin: 0;
    font-weight: 500;
}




@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    70% {
        transform: scale(1.1); /* Lekkie powiększenie (over-shoot) */
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#pomieszczenia {
    opacity: 0;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.8s; /* Pojawia się jako ostatni element układanki */
}

/* Stylizacja przycisków dla lepszego wyglądu pill */
#pomieszczenia .btn {
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
}

/* Efekt najechania na nieaktywny przycisk */
#pomieszczenia .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

		@media screen and (max-width: 767px) {
			.ukryj, .icon-bg {
				display: none !important;
			}
			.table>:not(caption)>*>* {
				padding: .0rem .0rem;
			}
			
			/* Zmniejszenie paddingu karty */
			.custom-card-btn {
				padding: 0.5rem !important; 
			}
		}
		
		
/* animacja */
@keyframes slideInzLewej {
    from {
        transform: translateX(-100%); /* Start poza ekranem z lewej */
        opacity: 0;                   /* Start jako niewidoczny */
    }
    to {
        transform: translateX(0);     /* Pozycja docelowa */
        opacity: 0.7;                   /* Pełna widoczność */
    }
}
@keyframes slideInzPrawej {
    from {
        transform: translateX(100%); /* Start poza ekranem z lewej */
        opacity: 0;                   /* Start jako niewidoczny */
    }
    to {
        transform: translateX(0);     /* Pozycja docelowa */
        opacity: 1;                   /* Pełna widoczność */
    }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes dynamicDrop {
    0% {
        transform: translateY(-100px) scale(0.9);
        opacity: 0;
    }
    60% {
        transform: translateY(10px) scale(1.02); /* Lekkie przelecenie poza cel */
        opacity: 1;
    }
    80% {
        transform: translateY(-5px) scale(0.99); /* Mała korekta w górę */
    }
    100% {
        transform: translateY(0) scale(1); /* Idealne osadzenie */
        opacity: 1;
    }
}

.animate-card {
    opacity: 0;
    /* cubic-bezier dodaje efekt sprężystości */
    animation: dynamicDrop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Kaskadowe opóźnienie dla każdej kolejnej karty */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
/* dodaj więcej, jeśli masz więcej kart */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-chart {
    opacity: 0; /* Startuje jako niewidoczny */
    animation: fadeInUp 0.6s ease-out forwards;
    /* Opóźnienie: ostatnia karta ma 0.4s + czas jej trwania. 
       Ustawienie 0.9s-1.0s da idealny efekt "kolejki" */
    animation-delay: 0.6s; 
}

#btn-back-to-top {
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

#btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

