/* VectorCoordsPanel — édition numérique des coordonnées (F0 socle CAD) */

.vcp-panel {
    position: absolute;
    right: 12px;
    bottom: 64px;
    z-index: 1200;
    width: 198px;
    background: rgba(28, 30, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #e8e8e8;
    font-size: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.2s ease;
}

.vcp-panel.vcp-ok { box-shadow: 0 0 0 2px #2e7d32; }
.vcp-panel.vcp-err { box-shadow: 0 0 0 2px #c62828; }

.vcp-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vcp-title { font-weight: 600; flex: 1; }

.vcp-crs {
    background: #1c1e22;
    color: #e8e8e8;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    font-size: 11px;
    padding: 1px 2px;
    max-width: 92px;
}

.vcp-close {
    cursor: pointer;
    opacity: 0.7;
    padding: 2px;
}
.vcp-close:hover { opacity: 1; }

.vcp-body { padding: 6px 8px 8px; }

.vcp-count {
    font-size: 11px;
    opacity: 0.75;
    margin-bottom: 6px;
}

.vcp-section { margin-bottom: 6px; }
.vcp-section:last-child { margin-bottom: 0; }

.vcp-off {
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    padding-top: 6px;
}

.vcp-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.vcp-axis {
    width: 28px;
    margin: 0;
    font-weight: 500;
    opacity: 0.85;
    text-align: right;
}

.vcp-input {
    flex: 1;
    min-width: 0;
    background: #15171a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 12px;
    font-family: var(--font-family-monospace, monospace);
}
.vcp-input:focus {
    outline: none;
    border-color: #4a90d9;
}

.vcp-btn {
    width: 100%;
    margin-top: 2px;
    background: #2b6cb0;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 4px 0;
    font-size: 12px;
    cursor: pointer;
}
.vcp-btn:hover { background: #3580cc; }
