/*
Get Ready Template
https://templatemo.com/tm-521-get-ready
*/
body {
	background: #0b0b0b;
	margin: 0;
	-webkit-perspective: 1000;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #ddd;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

body,
html {
	height: 100vh;
	width: 100%;
	overflow-x: hidden;
}

#home {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	text-align: center;
	position: relative;
}

#home .container {
	width: 100%;
}

.home-info {
	display: flex;
	flex-direction: column;
	align-content: flex-start;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 8px;
}

.ruler-top {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 8px;
	background-image: url(../ruler-top.webp);
	background-repeat: repeat-x;
}

.ruler-bottom {
	position: relative;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 8px;
	background-image: url(../ruler-bottom.webp);
	background-repeat: repeat-x;
}

/*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/
h1 {
	font-family: 'Poppins', sans-serif;
	color: LightSeaGreen;
	font-size: 34px;
	font-weight: 900;
	line-height: 40px;
	margin: 20px 0 0 0;
}

h2 {
	font-family: 'Poppins', sans-serif;
	color: #ccc;
	font-size: 26px;
	font-weight: 600;
	line-height: 36px;
	margin-top: -10px;
	margin-bottom: 5px;
}

p {
	color: #ccc;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

.bold {
	font-weight: 600;
}

.justify {
        text-align: justify;
}

.footer {
	margin: 60px 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 18px;
	color: DimGrey;
}

.footer a {
	font-size: 13px;
	font-weight: 400;
	color: DimGrey;
}

.small {
	font-size: 13px;
	font-weight: 400;
	line-height: 18px;
	color: DimGrey;
}

.pds {
	color: #ddd;
	font-size: 14px;
	font-weight: 400;
	line-height: 23px;
	text-align: left;
	max-width: 95%;
}

.facolor {
	color: #ddd;
	padding: 0 2px 0 2px;
}

/*---------------------------------------
     GENERAL               
  -----------------------------------------*/
html {
	-webkit-font-smoothing: antialiased;
}

a {
	color: Orange;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
}

a:hover {
	color: White;
	outline: none;
}

::-webkit-scrollbar {
	width: 0px;
	height: 0px;
}

* {
	box-sizing: border-box;
}

.hide {
        display: none;
}

.my_div:hover .hide {
        display: inline;
        color: FireBrick;
        font-size: 13px;
        font-weight: 500;
}

.toggle-btn {
        cursor: pointer;
        text-decoration: none;
}

.hidden-content {
        display: none;
}

.hidden-content.show {
        display: block;
}

.toggle-btn2 {
        display: inline-block;
        cursor: pointer;
        text-decoration: none;
}

.hidden-content2 {
        display: none;
}

.hidden-content2.show {
        display: block;
}

#toggle-all-btn {
        cursor: pointer;
        text-decoration: none;
}

.hidden-column {
        display: none;
}

.hidden-column.show {
        display: table-cell;
}

.button {
	background: DarkCyan;
	border: none;
	color: white;
	padding: 8px 18px;
	border-radius: 4px;
	text-align: center;
	font-size: 14px;
	font-weight: 400;
	margin: 0;
}

.button:hover {
	background: LightSeaGreen;
	color: White;
}

.button-delete {
	background: FireBrick;
	border: none;
	color: white;
	padding: 8px 18px;
	border-radius: 4px;
	text-align: center;
	font-size: 14px;
	margin: 0;
}

.button-delete:hover {
	background: Tomato;
	color: White;
}

.btn {
	background: #333;
	border: 1px solid #666;
	color: #bbb;
	padding: 4px 20px;
	border-radius: 4px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}

.button-group {
	display: flex;
	width: 100%;
	gap: 5px;
	justify-content: center;
	align-items: center;
}

label {
	display: block;
	margin: 0;
	color: #ddd;
	font-size: 14px;
	font-weight: 400;
    text-align: left;
}

.label-edit {
	display: block;
	margin: 0;
	color: #ddd;
	font-size: 14px;
	font-weight: 400;
}

select {
	width: 100%;
	background: #333;
	border: 1px solid #666;
	color: #ddd;
	padding: 8px;
	margin: 0 0 4px 0;
	border-radius: 4px;
	text-align: left;
	font-size: 16px;
}

input {
	width: 100%;
	background: #333;
	border: 1px solid #666;
	color: #ddd;
	padding: 8px;
	margin: 0 0 20px 0;
	border-radius: 4px;
	text-align: left;
	font-size: 16px;
}

.input_lab {
	width: 100%;
	background: #333;
	border: 1px solid #666;
	color: #ddd;
	padding: 8px;
	margin: 0 0 12px 0;
	border-radius: 4px;
	text-align: left;
	font-size: 16px;
}

input::placeholder {
	color: #999;
	font-size: 16px;
}

input:focus, select:focus {
	background: DimGrey;
}

input::selection {
	color: DimGrey;
}

::selection {
  background: White;
}

.checkbox-container {
  margin-top: 20px;
  padding: 15px;
  background: #2a2a2a;
  border: 1px solid #666;
  border-radius: 8px;
  border-left: 4px solid #ff9800;
}

.checkbox-container label {
  display: inline;
  margin: 0;
  margin-left: 10px;
  cursor: pointer;
}

input[type="checkbox"] {
  width: auto;
  cursor: pointer;
  transform: scale(1.2);
}

.content-box {
	display: flex;
	flex-direction: column;
	border: 1px solid #666;
	border-radius: 8px;
	background: #1a1a1a;
	padding: 10px;
	height: 100%;
	min-width: 300px;
	max-width: 400px;
}

.my_content-box {
	display: inline-block;
	border: 1px solid #666;
	border-radius: 8px;
	background: #1a1a1a;
	padding: 10px;
	height: 100%;
	min-width: 300px;
	max-width: 400px;
}

.my_form {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #1a1a1a;
	padding: 10px;
    margin-top: 8px;
}

.form {
	display: block;
	align-items: center;
	text-align: left;
	background: #1a1a1a;
	padding: 10px;
    margin-top: 8px;
}

.flex-container {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 1200px;
}

.chart-container {
	flex: 1;
	padding: 0;
	min-width: 300px;
}

#ratioChart {
	background: #222;
	border: 1px solid #666;
	border-radius: 4px;
	margin: 10px;
}

.table-wrapper {
	width: 100%;
	min-width: 300px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
} 

table {
	background: #1a1a1a;
	border: 2px solid #666;
	margin-left: auto;
	margin-right: auto;
	border-collapse: collapse;
}

th,
td {
    white-space: nowrap;
	padding: 10px 5px;
	border: 1px solid #666;
	text-align: center;
	font-size: 14px;
	font-weight: 400;
}

th {
	background: #333;
	font-weight: 500;
	font-size: 14px;
	color: #bbb;
}

.triggered {
	color: Red;
}

.untriggered {
	color: LightSeaGreen;
}

@keyframes slideIn {
	from {
	transform: translateY(-100%);
	opacity: 0;
	}

	to {
	transform: translateY(0);
	opacity: 1;
	}
}

.notification-alert {
	padding: 10px 25px;
	margin: 25px 25px 0 25px;
	display: block;
	font-size: 14px;
	font-weight: 400;
	background: FireBrick;
	color: white;
	border-left: 4px solid Maroon;
	border-right: 4px solid Maroon;
	border-radius: 8px;
	max-width: 300px;
}

.badge-pending {
    color: FireBrick;
    font-size: 12px;
    font-weight: bold;
    padding: 0 10px;
    border-radius: 10px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite; /* Opțional: un mic efect de pulsare */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* RESPONSIVE - MOBILE */
@media screen and (max-width: 480px) {
    /* Setări pentru .my_content-box */
    .my_content-box {
        /* Ignoră lățimea maximă de 400px definită global */
        max-width: none; 
        
        /* Ocupă toată lățimea disponibilă */
        width: 100%; 
        
        /* Padding-ul de 8px aplicat pe stânga și dreapta acționează ca marginea dorită */
        padding-left: 8px;
        padding-right: 8px;
        
        /* Elimină marginile laterale globale de 8px pe mobil, pentru a lăsa padding-ul să controleze spațierea */
        margin-left: 0;
        margin-right: 0;
        
        /* Asigură-te că lățimea totală include padding-ul */
        box-sizing: border-box; 
    }
}