/* =========================
RGPD PREMIUM KREA3
========================= */

#krea3-rgpd {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: calc(100% - 40px);
    max-width: 780px;

    background: var(--rgpd-bg, #fff);
    color: var(--rgpd-text, #000);

    border-radius: 0;
    padding: 22px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);

    z-index: 9999;

    //animation: rgpdSlideUp 0.35s ease;
}

/* ANIMATION */
@keyframes rgpdSlideUp {
    from {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* HEADER */
.rgpd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rgpd-close {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--rgpd-text, #000);
}

/* TEXTE */
.rgpd-text {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* ACTIONS */
.rgpd-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* BOUTONS BASE */
.rgpd-btn {
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* PRIMARY */
.rgpd-btn.primary {
    color: var(--rgpd-primary, #000);
    background: var(--rgpd-text, #fff);
    border: 1px solid #fff;
}

/* GHOST */
.rgpd-btn.ghost {
    background: transparent;
    border: 1px solid #ccc;
    color: var(--rgpd-text, #fff);
}

/* LINK */
.rgpd-btn.link {
    background: none;
    border: none;
    text-decoration: underline;
    color: var(--rgpd-text, #fff);
}

/* HOVER */
.rgpd-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* PANEL */
#rgpd-panel {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* CHECKBOX */
#rgpd-panel label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* BOUTON FIXE */
/*.krea3-rgpd-open {
    position: fixed;
    bottom: 20px;
    left: 20px;
	z-index:9999;
    background: var(--rgpd-primary, #000);
    color: #fff;

    border-radius: 50px;
    padding: 10px 14px;

    font-size: 0.85rem;

    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}*/


/* =========================
EMBED PREMIUM
========================= */

.krea3-embed {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 200px;
    background: #000;
}

/* effet flou */
.krea3-embed::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    opacity: 0.4;
}

/* overlay */
.krea3-embed-content {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 20px;
    text-align: center;
    color: #fff;

    background: rgba(0,0,0,0.5);
}

/* bouton */
.krea3-embed .rgpd-btn {
    margin-top: 10px;
}

/* MOBILE */
@media (max-width: 600px){

    #krea3-rgpd {
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0; 

        box-shadow: none; 
    }

    .rgpd-actions {
        flex-direction: column;
    }

    .rgpd-btn {
        width: 100%;
    }
}


/* =========================
FORM PREMIUM FIX
========================= */

#rgpd-panel fieldset {
    border: none;
    margin: 0 0 20px;
    padding: 0;
}

#rgpd-panel legend {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* CHECKBOX MODERNES */
#rgpd-panel input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--rgpd-primary, #000);
    cursor: pointer;
}

/* LABEL ALIGN */
#rgpd-panel label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
}

/* ESPACE BOUTON SAVE */
#rgpd-panel .rgpd-actions {
    margin-top: 15px;
}

/* HOVER LABEL */
#rgpd-panel label:hover {
    opacity: 0.8;
}


.krea3-embed .rgpd-btn {
    margin-top: 10px;
}

#menu_footer .krea3-rgpd-open {
    text-decoration: underline;
    cursor: pointer;
}