/* --- Debug Page Styles --- */

/* Console/Terminal Window */
.console-window {
    background: #0d1117; /* GitHub Dark Dimmed bg style */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.console-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.console-title {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.console-actions {
    display: flex;
    gap: 0.5rem;
}

.console-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
    cursor: pointer;
}

.console-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.console-btn.copy:hover { color: #3b82f6; }
.console-btn.trash:hover { color: #ef4444; }

/* Console Content */
.console-body {
    padding: 1rem;
    overflow-y: auto;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.8rem;
    color: #c9d1d9;
    max-height: 300px;
    scrollbar-width: thin;
    scrollbar-color: #30363d transparent;
}

.console-body::-webkit-scrollbar {
    width: 6px;
}
.console-body::-webkit-scrollbar-thumb {
    background-color: #30363d;
    border-radius: 3px;
}

/* Log Entries */
.log-entry {
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 0.5rem;
}

.log-entry:last-child { border-bottom: none; }

.log-time { color: #64748b; flex-shrink: 0; }
.log-text { word-break: break-all; white-space: pre-wrap; }
.log-error { color: #f87171; }
.log-info { color: #60a5fa; }
.log-key { color: #d2a8ff; }   /* Purple for keys */
.log-string { color: #a5d6ff; } /* Blue for strings */
.log-number { color: #79c0ff; } /* Light blue for numbers */
.log-bool { color: #ff7b72; }   /* Red for booleans */

/* System Info Grid */
.sys-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sys-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sys-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.sys-value {
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 500;
}

/* Danger Zone */
.danger-zone {
    border: 1px dashed rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.danger-btn {
    width: 100%;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
    font-weight: 600;
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.danger-btn:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: #ef4444;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}