/* Dans style.css ou un nouveau fichier css */

@font-face {
  font-family: 'Quickbrush'; /* Nom que vous utiliserez dans le HTML */
  src: url('fonts/Quickbrush.ttf') format('truetype'); /* Chemin relatif depuis le CSS */
  font-weight: normal;
  font-style: normal;
  /* Ajoutez d'autres formats si vous en avez (woff, woff2) pour une meilleure compatibilité */
}

/* Fichier : style.css */

.sgb-hide-for-canvas .sgb-hide-on-image {
  display: none !important;
}
/* Container principal isolé */
.sgb-container {
font-family: 'Montserrat', sans-serif;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
background: #f7f7f7; /* Fond léger */
color: #333;
box-sizing: border-box;
}

.sgb-container * {
box-sizing: border-box;
}

/* Grille 2 colonnes (Formulaire | Aperçu) */
.sgb-grid {
display: flex;
flex-wrap: wrap;
gap: 40px;
justify-content: center;
}

.sgb-column-form {
flex: 1;
min-width: 300px;
background: #fff;
padding: 30px;
border-radius: 20px; /* Coins arrondis du formulaire */
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.sgb-column-preview {
flex: 1.5;
min-width: 300px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

/* Formulaire */
.sgb-form-group {
margin-bottom: 15px;
}

.sgb-container label {
display: block;
margin-bottom: 5px;
font-weight: 600;
font-size: 14px;
color: #1B1F45; /* Couleur label */
}

.sgb-container input[type="text"],
.sgb-container input[type="url"],
.sgb-container select,
.sgb-container textarea {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 8px; /* Coins arrondis */
font-size: 14px;
background: #fff;
color: #333;
}

.sgb-input-group {
display: flex;
gap: 10px;
}

#sgb-phonePrefix {
width: 80px;
flex-shrink: 0;
}

/* Boutons */
.sgb-btn-generate, .sgb-btn-secondary {
display: inline-block;
padding: 12px 24px;
border-radius: 25px; /* Arrondi fort */
border: none;
cursor: pointer;
font-weight: bold;
font-size: 14px;
text-align: center;
transition: background 0.3s;
}

.sgb-btn-generate {
background-color: #d65d5d; /* Rouge Corail du bouton Générer */
color: #fff;
width: 100%;
margin-top: 15px;
}
.sgb-btn-generate:hover { background-color: #b54545; }

.sgb-actions-row {
margin-top: 30px;
display: flex;
gap: 25px;
justify-content: center;
}

.sgb-btn-secondary {
background-color: #d65d5d; /* Rouge Corail */
color: #fff;
}
.sgb-btn-secondary:hover { background-color: #b54545; }

/* Aperçu de la signature */
#signature-preview-wrapper {
/* Le style de l'aperçu doit refléter la zone blanche */
background: #fff;
padding: 20px;
border-radius: 5px;
/* L'ombre légère de votre extrait JSX est ajoutée ici: */
box-shadow: 0px 2px 2px 2px rgba(204, 204, 204, 0.1); 
width: auto; /* Laisse le tableau décider de la largeur */
overflow-x: auto;
}

/* Masquer le bouton de la signature lors de la génération d'image */
.sgb-hide-on-image {
display: block; /* Affiché par défaut */
}
.sgb-hide-for-canvas .sgb-hide-on-image {
display: none !important;
}