#tank-state-view  a ,
#tank-state-view  h2 {
    clear: left;
    display: block;
    float: none;
    font-size: 12px;
    font-weight: bold;
	margin: 0px;
	padding: 10px 0 0 0;
	color: #3B60AF;
}

.tank-view {
    border: 1px solid #CCCCCC;
    color: #555555;
    float: left;
    font-size: 12px;
    height: 140px;
    margin: 5px 10px 0 0;
    padding: 0;
    width: 267px;
}
.tank-view div {
    border-style: none;
    float: left;
}
.tank-view div p {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    padding: 5px;
    text-align: center;
}

.tank-view div p a{
    font-size: 12px;
}

.tank-view div div {
    float: left;
    height: 100px;
    margin: 0;
    overflow: hidden;
    padding: 5px;
    width: 100px;
}
.tank-view div div div {
    height: 100px;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
    width: 100px;
}
.tank-view div div div div {
    background-color: #CDDEE5;
    width: 100%;
}
.tank-view div div img {
    height: 100px;
    margin: 0;
    position: relative;
    top: -100px;
    width: 100px;
}
.tank-view div div p {
    background-color: #8B9FCD;
    border: 1px solid #555555;
    color: black;
    font-size: 0.8em;
    font-weight: 500;
    height: 30px;
    left: 22px;
    line-height: 12px;
    margin: 0;
    opacity: 0.6;
	filter: progid:DXImageTransform.Microsoft.BasicImage(opacity=0.6);	
    padding: 0;
    position: relative;
    text-align: center;
    top: -164px;
    width: 52px;
}
table.tank-view .null {
    color: pink;
}
table.tank-view {
    border-collapse: collapse;
    height: 106pt;
    margin: 0;
    padding: 0;
    position: relative;
    width: 157px;
	border-style: none;
}
table.tank-view tr {
    font-size: 0.9em;
    text-align: left;
    vertical-align: middle;
	border-style: none;
}
table.tank-view th {
    padding: 1px 5px;
    text-align: left;
    width: 20%;
    border-color: #CCCCCC;
    border-width: 1px;
	border-style: none none solid solid;
}
table.tank-view td {
    padding: 1px 5px;
    text-align: right;
    border-color: #CCCCCC;
    border-width: 1px;
	border-style: none none solid solid;
} 

table.tank-view  td.fuelname {
    text-align: left;
	font-weight: 600;
} 
/* =====================================================================
   Стан резервуарів — картки (tanks/_view.php + widgets/TankGauge.php)
   ===================================================================== */
.tank-cards { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 18px; clear: both; }
.tank-card { width: 292px; box-sizing: border-box; background: #fff; border: 1px solid #C9E0ED; border-radius: 8px;
	box-shadow: 0 1px 4px rgba(40,70,110,.08); padding: 10px 12px 12px; color: #555; font-size: 12px; }
.tank-card .tc-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #E1ECEE;
	padding-bottom: 6px; margin-bottom: 8px; }
.tank-card .tc-name { font-size: 15px; font-weight: bold; color: #3B60AF; }
.tank-card .tc-fuel { font-size: 12px; font-weight: bold; color: #444; display: inline-flex; align-items: center; gap: 6px; }
.tank-card .tc-fuel i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(0,0,0,.25); }
.tank-card .tc-body { display: flex; gap: 8px; align-items: flex-start; }
.tank-card .tc-gauge { flex: 0 0 auto; text-align: center; }
.tank-card .tc-vol { font-size: 11px; color: #666; margin-top: 2px; white-space: nowrap; }
.tank-card .tc-vol b { font-size: 13px; color: #333; }
.tank-card table.tc-data { flex: 1 1 auto; border-collapse: collapse; margin: 0; width: 100%; }
.tank-card table.tc-data th, .tank-card table.tc-data td { border: 0; border-bottom: 1px solid #E8EEF2; padding: 4px 3px; font-size: 12px; background: none; }
.tank-card table.tc-data th { text-align: left; font-weight: normal; color: #777; white-space: nowrap; }
.tank-card table.tc-data td { text-align: right; color: #333; font-weight: bold; white-space: nowrap; }
.tank-card table.tc-data tr:last-child th, .tank-card table.tc-data tr:last-child td { border-bottom: 0; }
.tank-card .tc-unit { font-weight: normal; color: #888; font-size: 11px; }
.tank-card .tc-src { font-weight: normal; font-style: italic; color: #666; }
.tank-card tr.tc-bad td, .tank-card .tc-vol.tc-bad b { color: #c0392b; }
.tank-card tr.tc-bad th { color: #c0392b; }

/* SVG-резервуар: порожня частина, рамка, шкала, відсоток */
.tank-gauge .tg-empty { fill: #eef3f7; }
.tank-gauge .tg-outline { stroke: #8fa3b8; }
.tank-gauge .tg-tick { stroke: #6f8396; stroke-width: 1.2; }
.tank-gauge .tg-pct { font: bold 16px Arial, Helvetica, sans-serif; fill: #ffffff; stroke: rgba(20,30,45,.75); stroke-width: 3px;
	paint-order: stroke; stroke-linejoin: round; }
