/**
 * css/views/console_view.css
 */

.console-view {
    background-color: #1e1e1e;
    color: #d4d4d4;
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.console-header {
    background-color: #2d2d2d;
    padding: 0 15px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

/* Onglets */
.console-tabs {
    display: flex;
    height: 100%;
}

.tab-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 0 20px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.tab-btn.active {
    color: #569cd6;
    border-bottom-color: #569cd6;
    background: rgba(86, 156, 214, 0.1);
}

/* Bouton Copier */
.copy-btn {
    background: #333;
    border: 1px solid #444;
    color: #ccc;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: #444;
    color: #fff;
}

.copy-btn.success {
    background: #059669;
    color: white;
    border-color: #059669;
}

.console-body {
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
    background: #1e1e1e;
}

.console-body pre {
    margin: 0;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #9cdcfe; /* Couleur JSON type VS Code */
}