﻿@keyframes blink {
    50% {
        opacity: 0.4;
    }
}

.tank-container {
    width: 120px;
    height: 300px;
    border: 3px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.4);
}

.tank-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    transition: height 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 6px rgba(0,0,0,0.7);
}

.tank-green {
    background: #28a745;
}

.tank-yellow {
    background: #ffc107;
}

.tank-red {
    background: #dc3545;
    animation: blink 1s infinite;
}

.tank-mark {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.25);
}

.tank-mark-label {
    position: absolute;
    right: -35px;
    font-size: 0.8rem;
    color: #fff;
    text-shadow: 0 0 4px rgba(0,0,0,0.6);
}
