/* ============================================================
   rgpd-patch.css
   À uploader dans : wp-content/themes/photographer-pro-dg/
   Puis ajouter dans functions.php :
   wp_enqueue_style('dg-rgpd', get_template_directory_uri().'/rgpd-patch.css');
   ============================================================ */

/* ---- BANNIÈRE COOKIES ---- */
#dg-cookie-banner {
    position:        fixed;
    bottom:          0;
    left:            0;
    right:           0;
    z-index:         99999;
    background:      #ffffff;
    border-top:      3px solid #111111;
    padding:         20px 40px;
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    gap:             30px;
    box-shadow:      0 -4px 24px rgba(0,0,0,0.10);
    font-family:     Arial, sans-serif;
    transform:       translateY(100%);
    transition:      transform 0.4s ease;
}

#dg-cookie-banner.visible {
    transform: translateY(0);
}

#dg-cookie-banner p {
    font-size:   14px;
    color:       #555555;
    line-height: 1.6;
    max-width:   680px;
    margin:      0;
}

#dg-cookie-banner p a {
    color:           #111111;
    text-decoration: underline;
}

.dg-cookie-actions {
    display:     flex;
    gap:         12px;
    flex-shrink: 0;
}

.dg-btn-accept,
.dg-btn-decline {
    font-family:     Arial, sans-serif;
    font-size:       12px;
    font-weight:     700;
    letter-spacing:  0.1em;
    text-transform:  uppercase;
    padding:         10px 24px;
    border:          2px solid #111111;
    cursor:          pointer;
    transition:      all 0.2s ease;
    white-space:     nowrap;
}

.dg-btn-accept {
    background: #111111;
    color:      #ffffff;
}
.dg-btn-accept:hover {
    background: #333333;
    border-color: #333333;
}

.dg-btn-decline {
    background: #ffffff;
    color:      #111111;
}
.dg-btn-decline:hover {
    background: #111111;
    color:      #ffffff;
}

/* ---- NOTICE COPYRIGHT CLIC DROIT ---- */
#dg-copyright-notice {
    display:         none;
    position:        fixed;
    bottom:          30px;
    left:            50%;
    transform:       translateX(-50%);
    background:      rgba(0, 0, 0, 0.90);
    color:           #ffffff;
    font-family:     Arial, sans-serif;
    font-size:       13px;
    line-height:     1.6;
    padding:         16px 28px;
    z-index:         99999;
    max-width:       480px;
    width:           90%;
    text-align:      center;
    border:          1px solid rgba(255,255,255,0.15);
    animation:       dg-fadein 0.3s ease;
}

#dg-copyright-notice.visible {
    display: block;
}

#dg-copyright-notice a {
    color:           #ffffff;
    text-decoration: underline;
}

@keyframes dg-fadein {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
    #dg-cookie-banner {
        flex-direction: column;
        padding:        16px 20px;
        gap:            16px;
        text-align:     center;
    }
    .dg-cookie-actions {
        width:          100%;
        justify-content: center;
    }
    .dg-btn-accept,
    .dg-btn-decline {
        flex: 1;
    }
}
