/* ============================================================
 PAGE DROPS ID:26 — POPUP TWITCH + CARROUSEL ARCHIVES
   ============================================================ */

/**
 * Background de la page Drops (page ID 26).
 * Illustration pleine hauteur centrée sur fond sombre.
 */
body.page-id-26  {
    background-color: #000C26 !important;
    background-image: url('../images/illustration_page_twitch_v2_1920.webp') !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    background-size: 1920px 4096px !important;
    min-height: 4096px !important;
}

.page-id-26 .site-main,
.page-id-26 .entry-content-wrap {
    max-width: 1920px;
    margin: 0 auto;
}

/**
 * Bordure magenta sur les images mises en avant des Drops.
 */
.page-id-26 .wp-block-post-featured-image img {
    border: 4px solid #FF00D9;
}
/**
 * Réduction de l'espacement entre paragraphes dans les Drops.
 */
.post-type-archive-drops .entry-content p {
    margin-bottom: 0.5em;
    line-height: 1.4;
}

/* ── Carrousel archives ────────────────────────────────── */

/**
 * Largeur du carrousel alignée sur le menu de filtres Drops.
 */
#drops-archive-carousel {
    max-width: 1160px;
    margin: 0 auto;
}

/* ── Popup inscription Twitch ──────────────────────────── */

/**
 * Overlay — caché par défaut, affiché en flex avec la classe "active".
 */
.twitch-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;
    
}

.twitch-popup-overlay.active {
    display: flex;
}

.twitch-popup-inner {
    position: relative;
    background: #000C26;
    border: 4px solid #FF00D9;
    border-radius: 8px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 50px rgb(255, 0, 217);
}

.twitch-popup-inner h3 {
    color: #ffffff !important;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    text-align: center;
}

.twitch-popup-desc {
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.twitch-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #FF00D9;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
}

.twitch-popup-close:hover {
    color: #ffffff;
}

/**
 * Champs du formulaire (pseudo Twitch + email).
 */
.twitch-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.twitch-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.twitch-form-field label {
    color: #ffffff;
    font-size: 1.2rem;
}

.twitch-form-field input {
    background: rgba(34, 56, 124, 0.5);
    border: 2px solid #FF00D9;
    border-radius: 4px;
    color: #ffffff !important;
    padding: 0.6rem 1rem;
    font-size: 1.5rem;
    outline: none;
}

.twitch-form-field input::placeholder {
    color: rgb(255, 255, 255);
}

.twitch-form-field input:focus {
    border-color: #ffffff;
}

.twitch-form-submit {
    background: #22387C;
    border: 4px solid #FF00D9;
    border-radius: 4px;
    color: #ffffff;
    padding: 0.8rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

.twitch-form-submit:hover {
    background: #471591;
}

/**
 * Messages de retour — succès en vert, erreur en rouge.
 */
.twitch-form-success {
    color: #00ff88;
    text-align: center;
    margin-bottom: 1.5rem;
}

.twitch-form-error {
    color: #ff4444;
    text-align: center;
    margin-bottom: 1.5rem;
}

/** couleur RGPD*/

.twitch-rgpd-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.72rem;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 1rem;
    cursor: pointer;
}

.twitch-rgpd-label strong {
    font-weight: 500;
    color: #ffffff;
}

.twitch-rgpd-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.twitch-rgpd-label a {
    color: #4a90d9;
    text-decoration: underline;
    opacity: 0.8;
}

.twitch-rgpd-label a:hover {
    opacity: 1;
}

/* ============================================================
   FORMULAIRE DE FILTRES DROPS
   ─── Même style que le filtre blog — classe .blog-filters ───
   ============================================================ */

.drops-filters {
    max-width: 1160px;
    margin: 2rem auto 3rem auto;
    padding: 1.5rem 2rem;
    background: rgba(34, 56, 124, 0.7);
    border: 4px solid #FF00D9;
    border-radius: 8px;
    box-shadow: 0 0 50px #FF00D9;
}

.drops-filters form {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
}

.drops-filters form > * {
    display: flex;
    align-items: center;
}

.drops-filters input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 0.6rem 1rem;
    background: rgba(34, 56, 124, 0.15);
    border: 4px solid #FF00D9;
    border-radius: 4px;
    color: #ffffff !important;
    font-family: 'Futura LT', sans-serif !important;
    font-size: 1rem;
}

.drops-filters input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.drops-filters select,
.drops-filters select:focus,
.drops-filters select:active,
.drops-filters select:hover,
.drops-filters select:visited,
.drops-filters select:focus-visible {
    padding: 0.6rem 2rem;
    background-color: rgba(34, 56, 124, 0.5) !important;
    border: 4px solid #FF00D9 !important;
    border-radius: 4px;
    color: #ffffff !important;
    font-family: 'Futura LT', sans-serif !important;
    font-size: 1rem;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

.drops-filters select option {
    background: #000C26;
    color: #ffffff;
}

.drops-filters button[type="submit"] {
    padding: 0.6rem 2rem;
    background: #22387C;
    border: 4px solid #FF00D9;
    border-radius: 4px;
    color: #ffffff !important;
    font-family: 'Futura LT', sans-serif !important;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.drops-filters button[type="submit"]:hover {
    background: #2d4a9e;
    border-color: #cc00ae;
}

.drops-filters input[type="text"],
.drops-filters select,
.drops-filters button[type="submit"] {
    height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    margin: 0;
}

