/* Ultra-minimalistisches Terminal-Dashboard Design */
/* Alle Styling-Regeln für das neue ng Design */

/* Font Definition */
@font-face {
    font-family: 'Glass_TTY_VT220';
    src: url('../fonts/Glass_TTY_VT220.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FMPointifax-A';
    src: url('../fonts/FMPointifax-A.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Globale Grundeinstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    line-height: 1.4;
    overflow-x: hidden;
}

/* Grundlegende Container-Struktur */
.ng-game-container {
    display: flex;
    min-height: 100vh;
}

/* Header und Login-Bereich */
.ng-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.ng-header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

/* Gästebereich: Text untereinander */
.ng-header-left.ng-header-guest {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* Avatar-Sektion ganz links */
.ng-avatar-section {
    flex-shrink: 0;
}

.ng-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #8A837D;
    cursor: pointer;
    transition: border-color 0.3s ease;
    object-fit: cover;
}

.ng-user-avatar:hover {
    border-color: #c8af76;
}

/* Text-Bereich für Titel und Untertitel */
.ng-header-text {
    display: flex;
    flex-direction: column;
}

.ng-site-title {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    font-weight: bold;
    color: #8A837D;
    margin: 0;
    line-height: 1.2;
}

.ng-site-subtitle {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    color: #8A837D;
    margin: 0;
    line-height: 1.2;
}

.ng-header-right {
    display: flex;
    align-items: center;
}

.ng-login-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.ng-login-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ng-login-input {
    background-color: #000000;
    border: 1px solid #8A837D;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    padding: 5px 8px;
    width: 120px;
    outline: none;
}

.ng-login-input:focus {
    border-color: #8A837D;
    color: #8A837D;
}

.ng-login-button {
    background-color: #000000;
    border: 1px solid #8A837D;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    padding: 5px 12px;
    cursor: pointer;
    
}


.ng-register-link {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
}

.ng-register-link a {
    color: #8A837D;
    text-decoration: none;
}


/* Dreispaltiges Layout */
.ng-left-panel {
    width: 250px;
    padding: 10px;
    background-color: #000000;
    flex-shrink: 0;
}

.ng-center-panel {
    flex: 1;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.ng-middle-panel {
    flex: 1;
    padding: 10px;
    position: relative;
    overflow-y: auto; /* Erlaube vertikales Scrollen */
    overflow-x: hidden; /* Verhindere horizontales Scrollen */
    max-height: calc(100vh - 120px); /* Begrenzt die Höhe, um Platz für Header/Navigation zu lassen */
}

.ng-right-panel {
    width: 250px;
    padding: 10px;
    flex-shrink: 0;
}

/* Alle Widgets haben einheitliche Borders */
.ng-widget {
    border: none;
    margin-bottom: 10px;
    padding: 8px;
}

.ng-widget-title {
    color: #8A837D;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Glass_TTY_VT220', monospace;
}

/* Terminal-spezifische Stile */
.ng-terminal-tabs {
    border-bottom: 1px solid #4C4742;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.ng-tab {
    margin-right: 15px;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
}

/* Spezifische Stile für Dashboard-Widgets */

/* System-Info Widgets (Linke Spalte) */
.ng-clock-display {
    font-size: 16px;
    font-weight: bold;
    color: #8A837D;
    margin-bottom: 2px;
}

.ng-date-display {
    font-size: 16px;
    color: #8A837D;
}

.ng-uptime-display {
    font-size: 16px;
    color: #8A837D;
}

.ng-cpu-core {
    margin-bottom: 2px;
    font-size: 16px;
}

.ng-memory-display {
    font-size: 16px;
    color: #8A837D;
}

/* Terminal-Hauptfläche */
.ng-process-table {
    width: 100%;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    border-collapse: collapse;
}

.ng-process-table th {
    background-color: #000000;
    color: #8A837D;
    border: 1px solid #8A837D;
    padding: 4px 6px;
    text-align: left;
}

.ng-process-table td {
    border: 1px solid #8A837D;
    padding: 3px 6px;
    color: #8A837D;
}

/* Monitoring-Widgets (Rechte Spalte) */
.ng-radar-display {
    text-align: center;
    line-height: 1.1;
    font-size: 16px;
    color: #8A837D;
}

.ng-progress-bar {
    font-family: 'Glass_TTY_VT220', monospace;
    color: #8A837D;
    margin-bottom: 3px;
}

.ng-network-info {
    font-size: 16px;
    line-height: 1.3;
}

.ng-network-info div {
    margin-bottom: 2px;
}

.ng-error-log {
    font-size: 16px;
    color: #8A837D;
    min-height: 20px;
}

/* Grafische Balken für Progress-Anzeigen */
.ng-bar-fill {
    color: #8A837D;
}

.ng-bar-empty {
    color: #4C4742;
}
/* Links und Buttons im Terminal-Stil */
a, button {
    color: #8A837D;
    text-decoration: none;
    background: none;
    border: none;
    font-family: 'Glass_TTY_VT220', monospace;
    cursor: pointer;
}

/* Tabellen im Terminal-Stil */
table {
    border-collapse: collapse;
    width: 100%;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
}

th, td {
    border: 1px solid #8A837D;
    padding: 4px 8px;
    text-align: left;
}

th {
    background-color: #000000;
    color: #8A837D;
    font-weight: bold;
}

/* Eingabefelder */
input, textarea, select {
    background-color: #000000;
    color: #8A837D;
    border: 1px solid #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    padding: 4px;
}

/* Responsive Layout für kleinere Bildschirme */
@media (max-width: 768px) {
    .ng-game-container {
        flex-direction: column;
    }
    
    .ng-left-panel, .ng-right-panel {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #4C4742;
    }
}

/* Erweiterte Graphen und visuelle Elemente */

/* ASCII-Graphen für CPU-Auslastung */
.ng-cpu-graph {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    line-height: 1.0;
    color: #8A837D;
    margin-top: 3px;
}

.ng-cpu-bar {
    display: inline-block;
    width: 1px;
    background-color: #8A837D;
    margin-right: 1px;
}

/* Memory-Graph */
.ng-memory-graph {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    color: #8A837D;
    margin-top: 3px;
}

/* Verbesserte Progress-Balken */
.ng-progress-container {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.ng-progress-label {
    width: 35px;
    font-size: 16px;
    color: #8A837D;
}

.ng-progress-bar-visual {
    width: 100px;
    height: 8px;
    border: 1px solid #8A837D;
    margin: 0 5px;
    position: relative;
    background-color: #000000;
}

.ng-progress-fill {
    height: 6px;
    background-color: #8A837D;
    margin: 1px;
    
}

.ng-progress-percent {
    font-size: 16px;
    color: #8A837D;
    min-width: 30px;
}

/* Animiertes ASCII-Radar */
.ng-radar-sweep {
    position: relative;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    color: #8A837D;
    text-align: center;
}

.ng-radar-dot {
    color: #8A837D;
    font-weight: bold;
}

.ng-radar-line {
    color: #8A837D;
}

/* Netzwerk-Graph */
.ng-network-graph {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    color: #8A837D;
    line-height: 1.0;
}

/* Temperatur-Warnstufen */
.ng-temp-normal {
    color: #8A837D;
}

.ng-temp-warning {
    color: #656A64;
}

.ng-temp-critical {
    color: #656A64;
}

/* Fake-Sparklines für Diagramme */
.ng-sparkline {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    color: #8A837D;
    letter-spacing: 0px;
}

/* Blinkende Cursor für Terminal-Effekt */
.ng-cursor {
    animation: none;
    background-color: #8A837D;
    color: #000000;
}

/* Status-Indikatoren */
.ng-status-up {
    color: #8A837D;
    font-weight: bold;
}

.ng-status-down {
    color: #656A64;
    font-weight: bold;
}

.ng-status-warning {
    color: #656A64;
    font-weight: bold;
}

/* Spezifische Stile für alle Dashboard-Bereiche ohne Inline-Styles */

/* CPU-Widget erweitert */
.ng-cpu-widget {
    font-size: 16px;
}

.ng-cpu-widget .ng-cpu-core {
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}

.ng-cpu-sparkline {
    margin-top: 5px;
    padding-top: 3px;
    border-top: 1px solid #8A837D;
}

/* Memory-Widget */
.ng-memory-widget {
    font-size: 16px;
}

.ng-memory-details {
    margin-top: 5px;
    padding-top: 3px;
    border-top: 1px solid #8A837D;
    font-size: 16px;
}

.ng-memory-details div {
    margin-bottom: 2px;
}

/* Disk-Widget */
.ng-disk-widget {
    font-size: 16px;
}

.ng-disk-item {
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

.ng-disk-label {
    width: 40px;
    margin-right: 5px;
}

.ng-disk-details {
    margin-top: 5px;
    padding-top: 3px;
    border-top: 1px solid #8A837D;
    font-size: 16px;
}

/* Terminal-Hauptbereich */
.ng-terminal-summary {
    margin-bottom: 10px;
    font-family: 'Glass_TTY_VT220', monospace;
    color: #8A837D;
}

.ng-terminal-summary-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.ng-terminal-summary-bottom {
    border-bottom: 1px solid #8A837D;
    padding-bottom: 3px;
}

.ng-terminal-summary-bottom span {
    margin-right: 10px;
}

/* Radar-Widget */
.ng-radar-widget {
    text-align: center;
}

.ng-radar-display {
    line-height: 1.1;
    font-size: 16px;
    color: #8A837D;
}

.ng-radar-info {
    margin-top: 5px;
    font-size: 16px;
}

.ng-radar-info div {
    margin-bottom: 1px;
}

/* Network-Widgets */
.ng-network-packets {
    margin-bottom: 5px;
}

.ng-network-stats {
    margin-top: 5px;
    padding-top: 3px;
    border-top: 1px solid #8A837D;
    font-size: 16px;
}

.ng-network-stats div {
    margin-bottom: 2px;
}

.ng-network-errors {
    margin-bottom: 5px;
}

.ng-network-error-stats {
    margin-top: 5px;
    padding-top: 3px;
    border-top: 1px solid #8A837D;
    font-size: 16px;
}

.ng-network-error-stats div {
    margin-bottom: 2px;
}

/* Network-Status-Widget */
.ng-network-status {
    font-size: 16px;
    line-height: 1.3;
}

.ng-network-status div {
    margin-bottom: 2px;
}

.ng-network-traffic {
    margin-top: 5px;
    padding-top: 3px;
    border-top: 1px solid #8A837D;
}

.ng-network-traffic div {
    margin-bottom: 2px;
}

/* System-Log-Widget */
.ng-system-log {
    font-size: 16px;
    color: #8A837D;
    min-height: 20px;
}

.ng-system-log-entries {
    font-size: 16px;
    margin-bottom: 2px;
}

.ng-system-log-entries div {
    margin-bottom: 2px;
}

/* Temperatur-Widget */
.ng-temp-widget {
    font-size: 16px;
}

.ng-temp-widget div {
    margin-bottom: 2px;
}

.ng-temp-fan {
    margin-top: 5px;
    padding-top: 3px;
    border-top: 1px solid #8A837D;
}

.ng-temp-fan div {
    margin-bottom: 2px;
}

/* Time-Widget */
.ng-time-widget {
    font-size: 16px;
}

.ng-time-details {
    margin-top: 5px;
    padding-top: 3px;
    border-top: 1px solid #8A837D;
    font-size: 16px;
}

.ng-time-details div {
    margin-bottom: 2px;
}

/* Uptime-Widget */
.ng-uptime-widget {
    font-size: 16px;
}

.ng-uptime-details {
    margin-top: 5px;
    padding-top: 3px;
    border-top: 1px solid #8A837D;
    font-size: 16px;
}

.ng-uptime-details div {
    margin-bottom: 2px;
}

/* CSS-Klassen für alle Seiten ohne Inline-Styles */

/* Help-Seite */
.ng-help-page {
    font-family: 'Glass_TTY_VT220', monospace;
    color: #8A837D;
}

.ng-help-title {
    border-bottom: 1px solid #8A837D;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.ng-help-section {
    margin-bottom: 10px;
}

.ng-help-section strong {
    color: #8A837D;
    font-weight: bold;
}

.ng-help-content {
    margin-top: 5px;
    line-height: 1.4;
}

/* Setup-Seite */
.ng-setup-page {
    font-family: 'Glass_TTY_VT220', monospace;
    color: #8A837D;
}

.ng-setup-title {
    border-bottom: 1px solid #8A837D;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.ng-setup-section {
    margin-bottom: 10px;
}

.ng-setup-section strong {
    color: #8A837D;
    font-weight: bold;
}

.ng-setup-content {
    margin-left: 10px;
    margin-top: 5px;
    line-height: 1.4;
}

/* Sort-Seite */
.ng-sort-page {
    font-family: 'Glass_TTY_VT220', monospace;
    color: #8A837D;
}

.ng-sort-title {
    border-bottom: 1px solid #8A837D;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.ng-sort-section {
    margin-bottom: 10px;
}

.ng-sort-section strong {
    color: #8A837D;
    font-weight: bold;
}

.ng-sort-content {
    margin-left: 10px;
    margin-top: 5px;
    line-height: 1.4;
}

/* Fields-Seite */
.ng-fields-page {
    font-family: 'Glass_TTY_VT220', monospace;
    color: #8A837D;
}

.ng-fields-title {
    border-bottom: 1px solid #8A837D;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.ng-fields-section {
    margin-bottom: 10px;
}

.ng-fields-section strong {
    color: #8A837D;
    font-weight: bold;
}

.ng-fields-content {
    margin-left: 10px;
    margin-top: 5px;
    line-height: 1.4;
}

/* Windows-Seite */
.ng-windows-page {
    font-family: 'Glass_TTY_VT220', monospace;
    color: #8A837D;
}

.ng-windows-title {
    border-bottom: 1px solid #8A837D;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.ng-windows-section {
    margin-bottom: 10px;
}

.ng-windows-section strong {
    color: #8A837D;
    font-weight: bold;
}

.ng-windows-content {
    margin-left: 10px;
    margin-top: 5px;
    line-height: 1.4;
}

/* Virtuelle Tastatur */
.ng-keyboard-area {
    margin-top: 20px;
    padding: 10px;
    border-top: 1px solid #8A837D;
    background-color: #000000;
}

.ng-keyboard-container {
    max-width: 800px;
    margin: 0 auto;
}

.ng-keyboard-row {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.ng-key {
    display: inline-block;
    min-width: 35px;
    height: 25px;
    margin: 2px;
    padding: 2px 4px;
    background-color: #000000;
    border: 1px solid #8A837D;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    text-align: center;
    line-height: 21px;
    user-select: none;
    cursor: default;
}

.ng-key-wide {
    min-width: 60px;
}

.ng-key-space {
    min-width: 200px;
}

/* Registrierungsseite */
.ng-back-link a {
    color: #8A837D;
    text-decoration: none;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
}


.ng-register-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.ng-register-widget {
    width: 100%;
    max-width: 600px;
    border: 1px solid #8A837D;
    background-color: #000000;
    padding: 20px;
}

.ng-error-display, .ng-success-display {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
}

.ng-error-title, .ng-success-title {
    color: #8A837D;
    margin-bottom: 5px;
    font-weight: bold;
}

.ng-error-message {
    color: #656A64;
    margin: 2px 0;
}

.ng-success-message {
    color: #8A837D;
    margin: 2px 0;
}

.ng-register-form {
    font-family: 'Glass_TTY_VT220', monospace;
}

.ng-form-section {
    margin-bottom: 25px;
    border: 1px solid #8A837D;
    padding: 15px;
}

.ng-form-title {
    color: #8A837D;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #8A837D;
    padding-bottom: 5px;
}

.ng-form-group {
    margin-bottom: 15px;
}

.ng-form-label {
    display: block;
    color: #8A837D;
    font-size: 16px;
    margin-bottom: 5px;
}

.ng-form-input {
    width: 100%;
    background-color: #000000;
    border: 1px solid #8A837D;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    padding: 8px;
    outline: none;
    box-sizing: border-box;
}

.ng-form-input:focus {
    border-color: #8A837D;
    color: #8A837D;
}

.ng-form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.ng-form-button {
    background-color: #000000;
    border: 1px solid #8A837D;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    
}


.ng-form-button-secondary {
    background-color: #000000;
    border: 1px solid #656A64;
    color: #656A64;
}


/* Terminal Messages */
.ng-terminal-message {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    color: #8A837D;
    margin: 10px 0;
    padding: 10px;
    background-color: #000000;
    border: 1px solid #4C4742;
}

.ng-terminal-message div {
    margin: 2px 0;
}

/* Checkbox Styles */
.ng-form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.ng-form-checkbox input[type="checkbox"] {
    appearance: none;
    width: 12px;
    height: 12px;
    border: 1px solid #8A837D;
    background-color: #000000;
    cursor: pointer;
    position: relative;
}

.ng-form-checkbox input[type="checkbox"]:checked::before {
    content: "✓";
    position: absolute;
    top: -2px;
    left: 1px;
    font-size: 16px;
    color: #8A837D;
}

.ng-form-checkbox input[type="checkbox"]:focus {
    border-color: #8A837D;
}

.ng-checkbox-text {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    color: #8A837D;
    user-select: none;
}

/* Responsive Design für kleinere Bildschirme */
@media (max-width: 768px) {
    .ng-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .ng-header-left {
        width: 100%;
        gap: 10px;
    }
    
    .ng-header-left.ng-header-guest {
        gap: 0;
    }
    
    .ng-user-avatar {
        width: 40px;
        height: 40px;
    }
    
    .ng-header-right {
        width: 100%;
        justify-content: flex-end;
    }
    
    .ng-login-form {
        flex-direction: column;
        gap: 5px;
    }
    
    .ng-login-input {
        width: 150px;
    }
    
    .ng-form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .ng-form-button {
        width: 100%;
    }
}

/* Game-Interface Styles */
.ng-user-info {
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
}

.ng-user-name, .ng-city-name {
    color: #8A837D;
}

.ng-logout-link {
    color: #8A837D;
    text-decoration: none;
    border: 1px solid #8A837D;
    padding: 3px 8px;
}


/* Navigation Bar */
/* Alte Navigation Styles entfernt - werden durch neue ng-nav-bar Styles ersetzt */

/* Game Container */
.ng-game-container {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 10px;
    padding: 10px;
    height: calc(100vh - 120px);
    overflow: hidden;
}

/* Panel Styles */
.ng-left-panel, .ng-right-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}

.ng-center-panel {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.ng-middle-panel {
    flex: 1;
    padding: 10px;
    position: relative;
    overflow-y: auto; /* Erlaube vertikales Scrollen */
    overflow-x: hidden; /* Verhindere horizontales Scrollen */
    max-height: calc(100vh - 120px); /* Begrenzt die Höhe, um Platz für Header/Navigation zu lassen */
}

/* Resources Display */
.ng-resources-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ng-resource-item {
    display: flex;
    gap: 8px;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
}

.ng-resource-label {
    color: #8A837D;
}

.ng-resource-value {
    color: #8A837D;
    font-weight: bold;
}

/* User Status */
.ng-user-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ng-status-item {
    display: flex;
    justify-content: space-between;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
}

.ng-status-label {
    color: #8A837D;
}

.ng-status-value {
    color: #8A837D;
    font-weight: bold;
}

/* Storage Widget - Kompakte Lager-Anzeige */
.ng-storage-widget {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ng-storage-compact {
    background: #000000;
    padding: 8px;
    
}

.ng-storage-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 14px;
}

.ng-storage-name-compact {
    color: #8A837D;
    font-weight: bold;
}

.ng-storage-percent {
    font-weight: bold;
    font-size: 16px;
}

.ng-storage-bar {
    width: 100%;
    height: 8px;
    background: #4C4742;
    
    overflow: hidden;
    margin-bottom: 4px;
}

.ng-storage-bar.ng-storage-critical {
    animation: red-blink 1.5s ease-in-out infinite alternate;
}

@keyframes red-blink {
    0% {
        background: #4C4742;
        box-shadow: 0 0 3px rgba(255, 68, 68, 0.2);
    }
    100% {
        background: #FF4444;
        box-shadow: 0 0 8px rgba(255, 68, 68, 0.6);
    }
}

.ng-storage-fill {
    height: 100%;
    
    
}

.ng-storage-details-compact {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 12px;
    color: #8A837D;
    text-align: center;
}

.ng-storage-error {
    color: #656A64;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 14px;
    text-align: center;
    padding: 10px;
}

/* Dashboard Overview */
.ng-dashboard-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Compact Dashboard für rechte Spalte */
.ng-dashboard-compact {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.ng-overview-section {
    padding: 15px;
}


/* Command Center Widget - kein Border */
.ng-command-center-widget {
    border: none !important;
    padding: 4px !important;
    margin-bottom: 8px !important;
}

.ng-command-center-widget .ng-overview-section {
    padding: 8px;
}

.ng-section-title {
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #8A837D;
    padding-bottom: 5px;
}

/* Report List */
.ng-report-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ng-report-item {
    display: grid;
    grid-template-columns: 40px 80px 1fr;
    gap: 6px;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    color: #8A837D;
    padding: 3px 0;
    border-bottom: 1px solid #4C4742;
    min-width: 0;
    overflow: hidden;
}

.ng-command-center-widget .ng-report-item {
    grid-template-columns: 35px 60px 1fr;
    gap: 4px;
    font-size: 16px;
}

.ng-report-time {
    color: #8A837D;
}

.ng-report-from {
    color: #8A837D;
}

.ng-report-subject {
    color: #8A837D;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.ng-building-list {
	display: flex;
	flex-direction: column;
	gap: 0px;
	padding: 5%;
}

.ng-building-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	
	
	min-height: 170px;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 20px;
}


.ng-building-image {
    width: 150px;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #4C4742;
    
    flex-shrink: 0;
}

.ng-building-image:hover {
    border-color: #656A64;
    
}

/* Disabled Building Item Styling */
.ng-building-item.ng-building-disabled {
    background: #4C4742 !important;
    border: 1px solid #656A64 !important;
}

.ng-building-item.ng-building-disabled:hover {
    border-color: #656A64 !important;
    
}

.ng-building-header {
    margin-bottom: 5px;
}

/* Gebäude-Info Container */
.ng-building-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ng-building-type {
    font-size: 16px;
    font-weight: bold;
    color: #656A64;
    margin-bottom: 2px;
}

.ng-building-level {
    font-size: 16px;
    color: #8A837D;
}

.ng-building-resources {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 5px;
}

.ng-resource-item {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}

.ng-resource-label {
    color: #8A837D;
    min-width: 60px;
}

.ng-resource-value {
    color: #656A64;
    font-weight: bold;
}

.ng-building-time {
    text-align: right;
}

.ng-info-text {
    font-size: 16px;
    color: #8A837D;
}

.ng-building-error {
    margin-bottom: 5px;
}

.ng-error-message {
    font-size: 16px;
    color: #656A64;
    background: #4C4742;
    padding: 3px 6px;
    
    border-left: 2px solid #656A64;
}

.ng-building-bottom {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
}

.ng-building-button {
    align-self: flex-end;
}

.ng-building-button .ng-button {
    width: auto;
    min-width: 120px;
    padding: 8px 16px;
    font-size: 16px;
}

.ng-building-status {
    color: #8A837D;
    font-size: 16px;
}

/* Link-Styles für anklickbare Gebäude */
.ng-building-link {
    text-decoration: none;
    color: inherit;
    display: block;
    
}

.ng-building-link:hover .ng-building-image {
    border-color: #656A64;
    
}

.ng-building-link:hover .ng-building-type {
    color: #656A64;
}

/* Responsive Anpassungen für schmale Bildschirme */
@media (max-width: 768px) {
    .ng-building-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: auto;
    }
    
    .ng-building-resources {
        align-items: center;
    }
    
    .ng-resource-item {
        justify-content: center;
        gap: 10px;
    }
    
    .ng-building-image {
        width: 48px;
        height: 48px;
    }
}

/* Technologie-Kategorien */
.ng-tech-category {
    margin-bottom: 20px;
}

.ng-tech-category .ng-section-title {
    color: #8A837D;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #4C4742;
    text-transform: uppercase;
}

/* Ressourcen-Status */
.ng-cost-insufficient {
    color: #656A64 !important;
}

.ng-resource-value.ng-cost-insufficient {
    color: #656A64 !important;
}

/* Quick Actions */
.ng-quick-actions {
    border: 1px solid #8A837D;
    padding: 15px;
}

.ng-action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.ng-action-button {
    background-color: #000000;
    border: 1px solid #8A837D;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    padding: 8px 12px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    
}


/* Activity Log */
.ng-activity-log {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ng-activity-item {
    display: flex;
    gap: 10px;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    color: #8A837D;
    padding: 3px 0;
    border-bottom: 1px solid #4C4742;
}

.ng-activity-time {
    color: #8A837D;
    min-width: 50px;
}

.ng-activity-text {
    color: #8A837D;
}

/* Statistics */
.ng-stats-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ng-stat-item {
    display: flex;
    justify-content: space-between;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
}

.ng-stat-label {
    color: #8A837D;
}

.ng-stat-value {
    color: #8A837D;
    font-weight: bold;
}

/* Alerts */
.ng-alerts-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ng-alert-item {
    padding: 8px;
    border: 1px solid #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
}

.ng-alert-time {
    color: #8A837D;
    font-weight: bold;
}

.ng-alert-text {
    color: #8A837D;
    margin-top: 3px;
}

.ng-alert-info {
    border-color: #8A837D;
}

.ng-alert-warning {
    border-color: #8A837D;
}

.ng-alert-warning .ng-alert-text {
    color: #8A837D;
}

/* No Data */
.ng-no-data {
    color: #656A64;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ng-game-container {
        grid-template-columns: 200px 1fr 250px;
    }
    
    .ng-dashboard-overview {
        grid-template-columns: 1fr;
    }
    
    .ng-action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ng-game-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
    }
    
    
    .ng-user-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .ng-action-buttons {
        grid-template-columns: 1fr;
    }
}

/* SpaceAssist Integration Styles */
.ng-assistant-display {
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-y: auto;
    background-color: #000000;
    padding: 10px;
}

.ng-assistant-item {
    display: flex;
    flex-direction: column;
    padding: 8px;
    margin-bottom: 5px;
    border-left: 3px solid #8A837D;
    background-color: #000000;
    font-size: 16px;
    line-height: 1.3;
}

.ng-assistant-item.ng-assistant-critical {
    border-left-color: #656A64;
}

.ng-assistant-item.ng-assistant-warning {
    border-left-color: #8A837D;
}

.ng-assistant-item.ng-assistant-info {
    border-left-color: #656A64;
}

.ng-assistant-item.ng-assistant-success {
    border-left-color: #8A837D;
}

.ng-assistant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}

.ng-assistant-time {
    font-size: 16px;
    color: #656A64;
    font-family: 'Glass_TTY_VT220', monospace;
}

.ng-assistant-message {
    color: #8A837D;
    font-size: 16px;
    line-height: 1.2;
    word-wrap: break-word;
}

.ng-assistant-item.ng-assistant-critical .ng-assistant-message {
    color: #8A837D;
}

.ng-assistant-item.ng-assistant-warning .ng-assistant-message {
    color: #8A837D;
}

.ng-assistant-item.ng-assistant-info .ng-assistant-message {
    color: #8A837D;
}

.ng-assistant-item.ng-assistant-success .ng-assistant-message {
    color: #8A837D;
}

/* Assistant Action Buttons */
.ng-assistant-actions {
    margin-top: 8px;
    padding-top: 6px;
}

.ng-assistant-action-btn {
    display: inline-block;
    background-color: #000000;
    border: 1px solid #8A837D;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    padding: 4px 8px;
    text-decoration: none;
    margin-right: 6px;
    margin-top: 4px;
    cursor: pointer;
    
}

.ng-assistant-action-btn:hover {
    background-color: #000000;
    color: #8A837D;
    border-color: #8A837D;
}

.ng-assistant-item.ng-assistant-critical .ng-assistant-action-btn {
    border-color: #656A64;
    color: #656A64;
}

.ng-assistant-item.ng-assistant-critical .ng-assistant-action-btn:hover {
    background-color: #4C4742;
    color: #656A64;
    border-color: #656A64;
}

.ng-assistant-item.ng-assistant-warning .ng-assistant-action-btn {
    border-color: #8A837D;
    color: #8A837D;
}

.ng-assistant-item.ng-assistant-warning .ng-assistant-action-btn:hover {
    background-color: #4C4742;
    color: #8A837D;
    border-color: #8A837D;
}

/* Airport Specific Styles */
.ng-fleet-form {
    width: 100%;
}

.ng-fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.ng-fleet-item {
    background: #000000;
    border: 1px solid #4C4742;
    padding: 15px;
}

.ng-fleet-name {
    color: #8A837D;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
}

.ng-fleet-available {
    color: #8A837D;
    font-size: 16px;
    margin-bottom: 10px;
}

.ng-fleet-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ng-fleet-input-field {
    flex: 1;
    max-width: 80px;
}

.ng-coord-input {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.ng-coord-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ng-coord-group label {
    color: #8A837D;
    font-size: 16px;
    font-weight: bold;
}

.ng-coord-field {
    width: 80px;
}

.ng-city-select {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ng-city-select label {
    color: #8A837D;
    font-size: 16px;
    font-weight: bold;
}

.ng-select {
    background: #000000;
    border: 1px solid #4C4742;
    color: #8A837D;
    padding: 8px;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    min-width: 200px;
}

.ng-mission-select {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.ng-mission-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ng-mission-option input[type="radio"] {
    margin: 0;
}

.ng-mission-option label {
    color: #8A837D;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.ng-sub-options {
    background: #000000;
    border: 1px solid #4C4742;
    padding: 15px;
    margin-top: 15px;
}

.ng-attack-option,
.ng-transport-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.ng-attack-option input[type="checkbox"],
.ng-transport-option input[type="checkbox"] {
    margin: 0;
}

.ng-attack-option label,
.ng-transport-option label {
    color: #8A837D;
    font-size: 16px;
    cursor: pointer;
}

.ng-transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.ng-transport-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ng-transport-item label {
    color: #8A837D;
    font-size: 16px;
    font-weight: bold;
    min-width: 80px;
}

.ng-transport-input {
    flex: 1;
    max-width: 100px;
}

.ng-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.ng-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ng-stat-item label {
    color: #8A837D;
    font-size: 16px;
    font-weight: bold;
    min-width: 100px;
}

.ng-stat-input {
    flex: 1;
    background: #000000;
    border: 1px solid #4C4742;
    color: #8A837D;
    font-weight: bold;
}

.ng-warning-area {
    background: #000000;
    border: 1px solid #4C4742;
    padding: 15px;
    margin: 20px 0;
    color: #656A64;
    font-size: 16px;
    font-family: 'Glass_TTY_VT220', monospace;
    display: none;
}

.ng-warning-area.active {
    display: block;
}

.ng-button {
    background: #000000;
    border: 1px solid #4C4742;
    color: #8A837D;
    padding: 8px 16px;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    
}

.ng-button:hover {
    background: #000000;
    color: #8A837D;
}

.ng-button-primary {
    border-color: #8A837D;
    color: #8A837D;
}

.ng-button-primary:hover {
    background: #000000;
}

.ng-button-secondary {
    border-color: #656A64;
    color: #656A64;
}

.ng-button-large {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
}

.ng-button-small {
    padding: 4px 8px;
    font-size: 16px;
    min-width: 40px;
}

.ng-help-text {
    color: #8A837D;
    font-size: 16px;
    line-height: 1.4;
}

.ng-help-item {
    margin-bottom: 8px;
    padding-left: 10px;
}

.ng-error-message {
    color: #656A64;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.ng-info-text {
	color: #8A837D;
	font-size: 16px;
	text-align: right;
	line-height: 2;
}

.ng-section {
    margin-bottom: 30px;
    border: 1px solid #4C4742;
    padding: 20px;
    background: #000000;
}

.ng-section-title {
    color: #8A837D;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 1px solid #4C4742;
    padding-bottom: 8px;
}

.ng-terminal {
    background: #000000;
    border: 1px solid #4C4742;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ng-terminal-header {
    background: #000000;
    border-bottom: 1px solid #4C4742;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ng-terminal-title {
    color: #8A837D;
    font-weight: bold;
    font-size: 16px;
}

.ng-terminal-status {
    color: #8A837D;
    font-size: 16px;
}

.ng-terminal-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Navigation styles moved to end of file for proper override */

.ng-input {
    background: #000000;
    border: 1px solid #4C4742;
    color: #8A837D;
    padding: 8px;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    outline: none;
}

.ng-input:focus {
    border-color: #8A837D;
    color: #8A837D;
}

.ng-resource-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 16px;
}

.ng-resource-name {
    color: #8A837D;
}

.ng-resource-value {
    color: #8A837D;
    font-weight: bold;
}

.ng-quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ng-quick-link {
    display: block;
    padding: 8px 12px;
    background: #000000;
    border: 1px solid #4C4742;
    color: #8A837D;
    text-decoration: none;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 16px;
    
}

.ng-quick-link:hover {
    background: #000000;
    color: #8A837D;
}

/* Responsive Design für Airport */
@media (max-width: 768px) {
    .ng-fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .ng-coord-input {
        flex-direction: column;
        gap: 10px;
    }
    
    .ng-mission-select {
        flex-direction: column;
        gap: 10px;
    }
    
    .ng-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .ng-transport-grid {
        grid-template-columns: 1fr;
    }
}

/* CSS für Registrierungs-Formular Erweiterungen */
.ng-date-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ng-form-select {
    background: #000000;
    border: 1px solid #8A837D;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 12px;
    padding: 8px 12px;
    
    min-width: 80px;
    flex: 1;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

.ng-form-select:focus {
    outline: none;
    border-color: #656A64;
    background: #000000;
    
}

.ng-form-select option {
    background: #000000;
    color: #8A837D;
    font-family: 'Glass_TTY_VT220', monospace;
    padding: 5px;
}

.ng-form-select option:checked {
    background: #656A64;
    color: #656A64;
}

/* Responsive Datums-Dropdown */
@media (max-width: 768px) {
    .ng-date-selector {
        flex-direction: column;
        gap: 5px;
    }
    
    .ng-form-select {
        min-width: 100%;
    }
}

/* Passwort-Container mit Toggle-Button */
.ng-password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.ng-password-container .ng-form-input {
    padding-right: 40px; /* Platz für den Button */
}

.ng-password-toggle {
    position: absolute;
    right: 5px;
    background: none;
    border: none;
    color: #8A837D;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.ng-password-toggle:hover {
    background-color: #4C4742;
}
