/* PC4GAMER (17/11/2026): dictation and photos in the request forms (outils-demande.js). */

.dictee { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.dictee-bouton { display: inline-flex; gap: 8px; min-height: 42px; padding: 8px 16px; color: #fff; cursor: pointer; }
body .dictee-bouton { min-height: 42px; padding: 8px 16px; }
.dictee-bouton.is-active { border-color: var(--red); background: var(--red-selected, #2b0d0b); }
.dictee-bouton.is-active svg { color: var(--red); animation: dictee-pouls 1.2s ease-in-out infinite; }
.dictee-etat, .dictee-astuce { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
@keyframes dictee-pouls { 50% { opacity: .35; } }

.dictee-accord { width: min(480px, calc(100vw - 32px)); padding: 24px; border: 1px solid #4e555f; border-radius: 10px; background: #0d0f13; color: var(--text); }
.dictee-accord::backdrop { background: rgba(0, 0, 0, .72); }
.dictee-accord h2 { max-width: none; margin: 0 0 12px; font-size: 24px; line-height: 1.2; }
.dictee-accord p { margin: 0 0 12px; color: var(--muted); line-height: 1.55; }
.dictee-accord-actions { display: grid; gap: 10px; margin-top: 18px; }

.photos-bloc { padding: 16px; border: 1px dashed #69717a; border-radius: var(--radius, 8px); background: #0f1115; }
.photos-titre { margin: 0 0 4px; font-weight: 600; color: var(--text); }
.photos-aide, .photos-note, .photos-etat { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.photos-aide { margin-bottom: 12px; }
.photos-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.request-fields label.photos-ajout, .photos-ajout { display: inline-flex; margin: 0; color: #fff; font-weight: 750; cursor: pointer; }
.photos-input:focus-visible + .photos-ajout { outline: 2px solid #33d6e6; outline-offset: 4px; }
.photos-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.photos-liste:empty { display: none; }
.photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #141416; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-vide { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 12px; }
.photo-statut { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 6px; background: rgba(9, 10, 12, .82); color: #dce0e7; font-size: 11px; font-weight: 700; line-height: 1.3; }
.photo.is-ok .photo-statut { color: var(--green); }
.photo.is-erreur { border-color: var(--red); }
.photo.is-erreur .photo-statut { color: #ffb4ad; }
.photo-retirer { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #4e555f; border-radius: 50%; background: rgba(9, 10, 12, .88); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.photo-reessayer { position: absolute; left: 6px; right: 6px; top: 40%; min-height: 30px; border: 1px solid var(--red); border-radius: 4px; background: #2b0d0b; color: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }
.photos-etat:not(:empty) { margin-top: 10px; color: var(--soft); }
.photos-note { margin-top: 10px; font-size: 13px; }
