/* style.css - EMS Design mit SHR DZM Grün (#4bed00) + Animationen */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Roboto:wght@300;400;500&display=swap');

body {
    background-color: #f8f9fa;
    font-family: 'Roboto', sans-serif;
    color: #000;
    transition: background-color 0.5s ease;
}

/* SHR DZM Grün als Primärfarbe – jetzt #4bed00 */
.navbar-custom,
.btn-primary,
.btn-success,
.card-header,
.progress-bar {
    background-color: #4bed00 !important;
    border-color: #4bed00 !important;
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(75, 237, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-custom:hover,
.btn-primary:hover,
.btn-success:hover {
    background-color: #3fc700 !important; /* Etwas dunklerer Hover-Ton */
    border-color: #3fc700 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 237, 0, 0.5);
}

.btn-outline-primary {
    color: #4bed00;
    border-color: #4bed00;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #4bed00;
    color: #000;
    transform: scale(1.05);
}

.text-primary {
    color: #4bed00 !important;
}

.bg-primary {
    background: linear-gradient(135deg, #4bed00, #3fc700) !important;
}

/* Logo Animation */
.logo-img {
    height: 60px;
    margin-right: 15px;
    transition: transform 0.5s ease;
    animation: pulseGlow 4s infinite alternate;
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Pulsierender Glow-Effekt für Logo */
@keyframes pulseGlow {
    0% { filter: drop-shadow(0 0 5px #4bed00); }
    100% { filter: drop-shadow(0 0 20px #4bed00); }
}

/* Card Hover-Effekt */
.card {
    border: 1px solid #4bed00;
    transition: all 0.4s ease;
    background: #fff;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(75, 237, 0, 0.2);
}

/* Gauge Animation beim Laden */
.gauge-container canvas {
    animation: fadeIn 1.5s ease-out;
}

/* Fade-In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Chart Canvas Fade-In */
canvas {
    animation: fadeIn 1s ease-out;
}

/* Button Pulse für wichtige Aktionen */
.btn-success, .btn-primary {
    animation: subtlePulse 2s infinite;
}

@keyframes subtlePulse {
    0% { box-shadow: 0 4px 15px rgba(75, 237, 0, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(75, 237, 0, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(75, 237, 0, 0.3); }
}

/* Navbar Brand Text Glow */
.navbar-brand span {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(75, 237, 0, 0.5);
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(75, 237, 0, 0.5); }
    to { text-shadow: 0 0 20px rgba(75, 237, 0, 0.8), 0 0 30px rgba(75, 237, 0, 0.4); }
}

/* Loading Spinner für Charts */
.chart-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    color: #4bed00;
    font-size: 1.2rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6;
	
/* Alle Line-Charts: Keine Punkte (Dots) in den Linien */
canvas {
    /* Bestehende Animationen bleiben erhalten */
}

/* Chart.js Line-Charts: Punkte entfernen */
.chartjs-line {
    pointStyle: 'rect';        /* Beliebiger Wert, wird überschrieben */
    pointRadius: 0;           /* Keine Punkte anzeigen */
    pointHoverRadius: 0;      /* Auch beim Hover keine Punkte */
    pointHitRadius: 0;
}