/* ═══════════════ Mode kiosk (tablette) — style Equipe, charte Jumping Access ═══════════════ */

/* le layout met page-content no-nav ; on retire les marges pour le plein écran */
body.extension { margin: 0; }
body.extension .page-content,
body.extension .page-content.no-nav { padding: 0; margin: 0; }
body.extension .flash-container { display: none; }
.kiosk-wrap { max-width: 100%; margin: 0; padding: 0 0 60px; }

/* ─── Bandeau (logo centré, langue à droite) ─── */
.kiosk-topbar { background: #1a2e44; color: #fff; }
.kiosk-topbar-inner {
    position: relative; max-width: 100%; margin: 0; padding: 16px 28px;
    display: flex; align-items: center; justify-content: center;
}
.kiosk-topbar-brand { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; }
.kiosk-topbar-brand img { height: 38px; width: auto; }
.kiosk-lang { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); }
.kiosk-lang a {
    display: inline-block; padding: 5px 11px; margin-left: 4px;
    border: 1px solid rgba(255,255,255,.3); border-radius: 8px; text-decoration: none;
    color: #cfd8e3; font-size: 13px; font-weight: 600;
}
.kiosk-lang a.is-active { background: #fff; color: #1a2e44; border-color: #fff; }
.kiosk-lang a:hover { border-color: #fff; color: #fff; }

/* ─── Recherche pleine largeur (sous le bandeau) ─── */
.kiosk-searchbar { position: relative; background: #fff; border: 1px solid #e1e5ea; border-radius: 12px; margin: 24px 24px 0; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.kiosk-searchbar > .fa-magnifying-glass {
    position: absolute; left: 28px; top: 50%; transform: translateY(-50%);
    color: #9aa5b1; font-size: 20px; pointer-events: none;
}
.kiosk-search {
    width: 100%; font-size: 24px; padding: 22px 24px 22px 62px;
    border: none; outline: none; box-sizing: border-box; background: transparent; color: #1a2e44;
}
.kiosk-search::placeholder { color: #9aa5b1; }

.kiosk-list {
    display: none; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto;
    position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20;
    background: #fff; border: 1px solid #cdd6e0; border-radius: 12px; padding: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,.14);
}
.kiosk-cav {
    display: flex; justify-content: space-between; align-items: center;
    background: #f7f9fc; border: 1px solid #e1e5ea; border-radius: 10px;
    padding: 16px 20px; font-size: 18px; cursor: pointer; text-align: left;
    transition: border-color .12s, background .12s;
}
.kiosk-cav:hover, .kiosk-cav:active { border-color: #2563eb; background: #eef4ff; }
.kc-name { font-weight: 600; color: #1a2e44; }
.kc-country { color: #6b7785; font-size: 14px; font-weight: 600; }

/* ─── Bloc concours centré ─── */
.kiosk-hero { text-align: center; padding: 50px 24px; max-width: 760px; margin: 0 auto; }
.kiosk-hero-logo { height: 90px; width: auto; margin-bottom: 18px; }
.kiosk-hero-title { font-size: 30px; margin: 0 0 6px; color: #1a2e44; }
.kiosk-hero-sub { color: #6b7785; font-size: 17px; margin: 0 auto; max-width: 520px; line-height: 1.45; }
.kiosk-hero-hint { color: #2563eb; font-size: 17px; font-weight: 600; margin: 0; }

/* ─── Panneau personnes liées ─── */
.kiosk-panel { max-width: 760px; margin: 0 auto; padding: 28px 24px; }
.kiosk-cav-head { margin-bottom: 22px; }
.kiosk-cav-head h2 { font-size: 28px; margin: 0; color: #1a2e44; display: inline; margin-right: 10px; }
.kiosk-section { font-size: 18px; color: #1a2e44; border-bottom: 2px solid #e1e5ea; padding-bottom: 8px; margin: 20px 0 14px; }

.kiosk-people { display: flex; flex-direction: column; gap: 10px; }
.kiosk-person {
    display: flex; justify-content: space-between; align-items: center;
    background: #fff; border: 1px solid #e1e5ea; border-radius: 10px; padding: 14px 18px;
}
.kp-info { display: flex; flex-direction: column; gap: 2px; }
.kp-info strong { font-size: 18px; color: #1a2e44; }
.kp-role { font-size: 14px; color: #2563eb; text-transform: capitalize; }
.kp-tel { font-size: 14px; color: #6b7785; }
.kiosk-vip { background: #8e44ad; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 8px; margin-left: 6px; }
.kiosk-edit-btn {
    background: #f0f3f7; border: 1px solid #cdd6e0; border-radius: 8px;
    width: 46px; height: 46px; font-size: 18px; color: #4b5563; cursor: pointer;
}
.kiosk-edit-btn:active { background: #e1e5ea; }
.kiosk-empty { color: #b0b8c0; font-size: 16px; padding: 10px 0; }

.kiosk-add-btn {
    margin-top: 18px; width: 100%; background: #16a085; color: #fff; border: none;
    border-radius: 12px; padding: 18px; font-size: 19px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.kiosk-add-btn:active { background: #138a72; }
.kiosk-done-btn {
    margin-top: 10px; width: 100%; background: #2563eb; color: #fff; border: none;
    border-radius: 12px; padding: 16px; font-size: 18px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.kiosk-done-btn:active { background: #1e4fd0; }

/* ─── Quota ─── */
.kiosk-quota { background: #f7f9fc; border: 1px solid #e1e5ea; border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.kiosk-quota-title { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #6b7785; margin-bottom: 8px; }
.kiosk-quota-horses { font-size: 20px; color: #1a2e44; margin-bottom: 10px; }
.kiosk-quota-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 16px; color: #1a2e44; border-top: 1px solid #eef1f5; }
.kiosk-quota-row.is-full { color: #c0392b; font-weight: 600; }

/* ─── Modale (gros champs tactiles) ─── */
#kiosk-modal .form-control { font-size: 18px; padding: 12px 14px; line-height: 1.4; height: auto; min-height: 50px; box-sizing: border-box; }
#kiosk-modal select.form-control { padding-top: 10px; padding-bottom: 10px; }