/* ExpoBeton RDC - Edition 13 : styles des formulaires (subset extrait de
   css/expobeton-custom.css du site ed12 live le 16/11/2026).
   Popup ambassadeur + success container. Les styles #msform vivent dans
   form_mstep.css (copie conforme live). */


/* ============================================
   16. AMBASSADOR POPUP FORM
   ============================================ */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}



.popup-content {
    background: #fff;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px 30px;
}



.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    z-index: 10;
}



.close-popup:hover {
    color: #c22439;
}



.amb-form header {
    font-family: 'Archivo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #112bb5;
    margin-bottom: 25px;
    text-align: center;
}



.amb-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}



.amb-form input[type="text"],
.amb-form input[type="email"],
.amb-form input[type="tel"],
.amb-form select,
.amb-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}



.amb-form input:focus,
.amb-form select:focus,
.amb-form textarea:focus {
    border-color: #112bb5;
}



.amb-form label {
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}



.amb-form textarea {
    min-height: 100px;
    resize: vertical;
}



.amb-form .gender-radio-group,
.amb-form .experience-radio-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}



.amb-form .gender-radio-item,
.amb-form .experience-radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
}



.amb-form .gender-radio-label,
.amb-form .experience-radio-label {
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}



.amb-form input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #fdbd1b;
    color: #000;
    border: none;
    font-family: 'Archivo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}



.amb-form input[type="submit"]:hover {
    background: #c22439;
    color: #fff;
}



/* ============================================
   17. AMBASSADOR SECTION CONTENT
   ============================================ */
.ambassador-content p {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

/* ===== ed13 : grille Think Tanks (page ambassadeurs) ===== */
.think-tank-grid .row { margin: 0 -8px; }
.think-tank-grid [class*="col-"] { padding: 0 8px; }
.think-tank-item {
  background: #fff;
  border: 1px solid #e6e9f2;
  border-radius: 0;
  padding: 26px 14px 20px;
  height: 100%;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.think-tank-item img { max-width: 64px; height: auto; margin-bottom: 14px; }
.think-tank-item h6 {
  font-family: "Archivo", sans-serif;
  font-size: 14px; font-weight: 700; line-height: 1.35;
  color: var(--expo-blue, #112bb5); margin: 0;
}
.think-tank-item:hover {
  border-color: var(--expo-red, #c22439);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(17, 43, 181, .10);
}
/* ===== ed13 : harmonisation du message de succès ambassadeur (styles inline JS) ===== */
.ambassador-success-container {
  background: linear-gradient(135deg, #112bb5, #0d2090) !important;
  border-radius: 0 !important;
}
.ambassador-success-container > div:first-child { color: #fdbd1b !important; }
.ambassador-success-container h3 { color: #fdbd1b !important; }
.ambassador-success-container > div:nth-of-type(2) { border-left-color: #fdbd1b !important; border-radius: 0 !important; }
.ambassador-success-container .close-success-btn {
  background: #fdbd1b !important; color: #112bb5 !important;
  border-radius: 0 !important; font-family: "Archivo", sans-serif !important;
}
.ambassador-success-container .close-success-btn:hover { background: #c22439 !important; color: #fff !important; }
/* ===== ed13 : bannière de retour après soumission (inscription) ===== */
.eb-inscription-alert {
  padding: 16px 20px; margin: 0 0 22px; border-left: 4px solid;
  font-family: "Archivo", sans-serif; font-size: 15px; line-height: 1.55;
}
.eb-inscription-alert.is-success { background: #eef7ee; border-color: #28a745; color: #1e4620; }
.eb-inscription-alert.is-error { background: #fdeeee; border-color: #c22439; color: #7a1f2b; }
