
/**
 * ========================================================================
 * DESIGN DES BOUTONS
 * ========================================================================
 */

/* Style du bouton Moto St-Hubert */
.btn-moto-st-hubert {
    display: inline-block;
    background-color: #1a1a1a; /* Noir asphalte */
    color: #ffffff !important;
    padding: 18px 35px;
    font-family: 'Oswald', sans-serif; /* Police typique moto si dispo */
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    border: 3px solid #ff5e00; /* Orange mécanique */
    border-radius: 0px; /* Look brut, pas de coins ronds */
    position: relative;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: 6px 6px 0px #333; /* Ombre rigide */
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%); /* Forme dynamique inclinée */
}

/* Effet au survol (Gaz !) */
.btn-moto-st-hubert:hover {
    background-color: #ff5e00;
    color: #000000 !important;
    box-shadow: 0px 0px 20px rgba(255, 94, 0, 0.6); /* Effet néon */
    transform: translate(-2px, -2px);
}

/* Animation de vibration au clic (Moteur qui tourne) */
.btn-moto-st-hubert:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0px #333;
}


/* ==========================================================================
   Bouton Special Uiverse.io (Cold Bat 89 - Sécurisé pour AMSH) 
   ========================================================================== 
   (https://uiverse.io/mobinkakei/cold-bat-89) */ 
   
.amsh-cb-btn {
  display: inline-flex; /* inline-flex permet de se comporter comme un lien normal */
  align-items: center;
  padding: 11px 33px;
  text-decoration: none;
  font-size: 25px;
  color: white;
  background: #6225e6;
  transition: 1s;
  box-shadow: 6px 6px 0 black;
  transform: skewX(-15deg);
  border: none;
  cursor: pointer;
}

.amsh-cb-btn:focus {
  outline: none;
}

.amsh-cb-btn:hover {
  transition: 0.5s;
  /* Utilise la variable secondaire, sinon jaune par défaut */
  box-shadow: 10px 10px 0 var(--amsh-secondaire, #fbc638); 
  color: var(--amsh-text, white);
}

.amsh-cb-icon {
  width: 20px;
  margin-left: 30px;
  position: relative;
  top: 12%;
  transition: 0.5s;
  margin-right: 0px;
}

.amsh-cb-btn:hover .amsh-cb-icon {
  transition: 0.5s;
  margin-right: 45px;
}

.amsh-cb-text {
  transform: skewX(15deg);
  display: inline-block;
}

.amsh-cb-path-1 {
  transition: 0.4s;
  transform: translateX(-60%);
}

.amsh-cb-path-2 {
  transition: 0.5s;
  transform: translateX(-30%);
}

.amsh-cb-btn:hover .amsh-cb-path-3 {
  animation: amsh_color_anim 1s infinite 0.2s;
}

.amsh-cb-btn:hover .amsh-cb-path-1 {
  transform: translateX(0%);
  animation: amsh_color_anim 1s infinite 0.6s;
}

.amsh-cb-btn:hover .amsh-cb-path-2 {
  transform: translateX(0%);
  animation: amsh_color_anim 1s infinite 0.4s;
}

@keyframes amsh_color_anim {
  0% { fill: var(--amsh-text, white); }
  /* Utilise la variable secondaire pour le flash de l'animation */
  50% { fill: var(--amsh-secondaire, #fbc638); } 
  100% { fill: var(--amsh-text, white); }
}
    /* ==========================================================================
   CSS  -  FORMULAIRES RANDONNÉES & ÉVÉNEMENTS  -  AM ST-HUBERT (MODERNE)
   ========================================================================== 
*/ 

/* Conteneur Global */
.am-custom-form-container {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* La Carte du Formulaire */
.am-pro-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

/* Alignement Date & Heure */
.am-form-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 24px;
}

.am-form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Labels */
.am-pro-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a202c;
    font-size: 0.95rem;
}

/* Champs de saisie */
.am-pro-form input[type="text"],
.am-pro-form input[type="date"],
.am-pro-form input[type="number"],
.am-pro-form input[type="url"],
.am-pro-form select,
.am-pro-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    background-color: #fff;
    font-size: 1rem;
    color: #2d3748;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

.am-pro-form input:focus, 
.am-pro-form textarea:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
    outline: none;
}

/* Bouton Soumettre */
.am-submit-btn {
    width: 100%;
    background-color: #d32f2f;
    color: #ffffff;
    padding: 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.am-submit-btn:hover { background-color: #b71c1c; }

/* Groupes Radio & Upload */
.am-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0;
}

.am-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    text-transform: none !important;
}

.am-file-upload {
    background-color: #f7fafc;
    border: 2px dashed #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.am-help-text {
    color: #718096;
    font-size: 0.85rem;
    margin-top: 6px;
}

/* Mobile */
@media (max-width: 600px) {
    .am-form-row { flex-direction: column; gap: 20px; }
    .am-pro-form { padding: 25px; }
}

/* Séparation visuelle pour les champs spécifiques (Catégories/Repas) */
.am-form-divider {
    margin-top: 50px; /* Espace extérieur avant le titre */
    padding-top: 30px; /* Espace intérieur pour respirer */
    border-top: 1px dashed #e2e8f0; /* Petite ligne subtile pour bien séparer les blocs */
}

.am-form-row + .am-form-section {
    margin-top: 40px;
}
