/* =============================== */
/*         PREVIEW (CENTER)        */
/* =============================== */

.preview-title {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
}

.preview-wrapper {
    text-align: center;
}

/* Canvas individuel */
.preview-canvas {
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    cursor: grab;
    touch-action: none;
    margin-bottom: 10px;
    width: 100%;
    height: auto;
}

/* =============================== */
/*      DESIGN 1 / DESIGN 2        */
/* =============================== */

/* Conteneur des deux designs */
.preview-double {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Conteneur d’un design */
.preview-face {
    flex: 1;
    min-width: 320px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0002;
    text-align: center;
}

.preview-face h3 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

/* =============================== */
/*   SWITCH ACTIVER DESIGN 2       */
/* =============================== */

.verso-switch-row {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verso-switch-row label {
    font-size: 15px;
    cursor: pointer;
}
/* Taille confortable des canvases */
.canvas-wrapper canvas {
   width: 100%;
    height: auto;
    display: block;
    background: white;
    border-radius: 4px;
}

/* Bordure bleue pour la zone active */
.canvas-wrapper {
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 5px;
    margin-bottom: 15px;
    transition: border-color 0.2s ease;
}

.canvas-wrapper.active {
    border-color: #007bff; /* bleu */
}

/* Phrase d’instructions */
.canvas-instructions {
    text-align: center;
    margin: 10px 0 15px 0;
    font-size: 14px;
    opacity: 0.7;
}

