#pvb-wrap {
    font-family: sans-serif;
    max-width: 960px;
    margin: 0 auto;
}

.pvb-step {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.pvb-step h3 { margin-top: 0; font-size: 17px; color: #222; }

.pvb-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.pvb-btn {
    padding: 9px 22px;
    background: #FFD600;
    border: 2px solid #222;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    color: #111;
    margin-top: 10px;
}
.pvb-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pvb-btn-green { background: #4CAF50; color: #fff; border-color: #388E3C; }
.pvb-btn-gray  { background: #eee; border-color: #aaa; color: #444; }

#pvb-status {
    font-size: 13px;
    color: #555;
    margin: 8px 0;
    min-height: 20px;
}

/* Canvas burbujas */
.pvb-hint { font-size: 13px; color: #777; margin-bottom: 8px; }

#pvb-canvas {
    position: relative;
    display: inline-block;
    max-width: 100%;
    user-select: none;
    overflow: visible;
}

#pvb-canvas img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
    pointer-events: none;
}

.pvb-bubble {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #FFD600;
    border: 2.5px solid #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    cursor: grab;
    font-family: sans-serif;
    touch-action: none;
}
.pvb-bubble:active { cursor: grabbing; background: #FFE94D; }

/* Paso 2 */
#pvb-final-wrap img {
    max-width: 100%;
    border-radius: 8px;
    margin: 12px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

/* Paso 3 */
.pvb-vocab-layout {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 14px;
}

#pvb-vocab-img {
    max-width: 55%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.pvb-list-wrap { flex: 1; min-width: 220px; }

.pvb-vocab-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pvb-num { font-weight: 700; font-size: 15px; min-width: 24px; color: #333; }

.pvb-vocab-input {
    flex: 1;
    padding: 7px 10px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}
.pvb-vocab-input:focus { outline: none; border-color: #FFD600; }

/* Estructuras */
#pvb-structures-area { margin-top: 20px; }

#pvb-structures-text {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    line-height: 1.8;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    font-family: sans-serif;
    resize: vertical;
    margin-bottom: 10px;
    box-sizing: border-box;
}
#pvb-structures-text:focus { outline: none; border-color: #FFD600; }

#pvb-shortcode-out {
    font-size: 13px;
    color: #4CAF50;
    margin-top: 6px;
}

@media (max-width: 600px) {
    #pvb-vocab-img { max-width: 100%; }
    .pvb-vocab-layout { flex-direction: column; }
}

/* Módulo 2 — dos campos por fila */
.pvb-adj-input {
    flex: 0 0 160px;
    padding: 7px 10px;
    border: 1.5px solid #FFD600;
    border-radius: 6px;
    font-size: 14px;
    background: #fffde7;
}
.pvb-adj-input:focus { outline: none; border-color: #FFA000; }

/* Encabezado columnas módulos 2 y 3 */
.pvb-vocab-header {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
}
.pvb-col-label { flex: 1; }

/* Barra de coordenadas v4 */
#pvb-coords-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
    min-height: 24px;
}
.pvb-coord-tag {
    background: #222;
    color: #FFD600;
    font-size: 11px;
    font-family: monospace;
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
}
.pvb-coord-tag strong {
    color: #fff;
    margin-right: 4px;
}
