/* --- SYSTEM PANEL BASE --- */
.system-panel {
    align-items: flex-start !important; /* Weg vom zentrierten Standard-Card-Look */
    justify-content: flex-start !important;
    padding: 20px !important;
    border: 1px solid rgba(255,255,255,0.05);
}

.gh-border { border-top: 4px solid #3498db !important; }
.nb-border { border-top: 4px solid #9b59b6 !important; }

/* Header & Status */
.panel-header { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.status-badge { font-size: 0.65rem; background: rgba(46, 204, 113, 0.2); color: #2ecc71; padding: 4px 10px; border-radius: 20px; font-weight: bold; letter-spacing: 1px; }

/* Grid Layouts inside cards */
.tech-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; width: 100%; margin-bottom: 15px; }
.tech-item small { display: block; color: #666; font-size: 0.7rem; text-transform: uppercase; margin-bottom: 2px; }

/* Health Bars */
.health-section { width: 100%; margin-bottom: 20px; }
.health-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: #888; margin-bottom: 8px; }
.health-bar-bg { width: 60%; height: 6px; background: #111; border-radius: 3px; overflow: hidden; }
.health-bar-fill { height: 100%; width: 0%; transition: width 1s ease; }
.health-bar-fill.blue { background: #3498db; }
.health-bar-fill.purple { background: #9b59b6; }

/* Divider */
.panel-divider { width: 100%; font-size: 0.65rem; color: #444; font-weight: bold; letter-spacing: 1.5px; border-bottom: 1px solid #333; padding-bottom: 5px; margin-bottom: 15px; }

/* Environment Grid */
.box-env-grid { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: 10px; margin-bottom: 20px; }
.env-item { background: rgba(255,255,255,0.02); padding: 10px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 0.9rem; font-weight: bold; }
.env-item i { font-size: 0.8rem; color: #666; }

/* Footer */
.panel-footer { width: 100%; margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-btn { background: #2c2c2e; border: 1px solid #444; color: #fff; width: 35px; height: 35px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.footer-btn:hover { background: #3a3a3c; border-color: #666; }
.reboot:hover { color: #e74c3c; border-color: #e74c3c; }

/* Maintenance Special */
.maintenance-content { display: flex; gap: 20px; align-items: center; width: 100%; margin: 15px 0; }
.reset-btn { width: 100%; height: 45px; background: rgba(46, 204, 113, 0.1); color: #2ecc71; border-color: rgba(46, 204, 113, 0.3); font-weight: bold; }

/* css/settings.css */

.btn-reboot {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: 0.2s;
}

.btn-reboot:hover { background: #e74c3c; color: #fff; }

.btn-reset {
    background: #27ae60;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.mono-font {
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-online {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.status-offline {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0.3; }
}

/* Speziell für Badges in Headern */
h3 .status-badge {
    font-size: 0.6rem; /* Etwas kleiner als Standard */
    padding: 2px 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}