/* FP Copyright Protection - styles publics */

/* ---- Overlay ---- */
#fpcr-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 20, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fpcr-fade-in 0.2s ease;
}

#fpcr-overlay[hidden] {
    display: none !important;
}

@keyframes fpcr-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---- Modal ---- */
#fpcr-modal {
    background: #ffffff;
    border-radius: 8px;
    max-width: 520px;
    width: 100%;
    padding: 40px 36px 32px;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    animation: fpcr-slide-up 0.25s ease;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@keyframes fpcr-slide-up {
    from { transform: translateY(16px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

#fpcr-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

#fpcr-close:hover {
    color: #222;
    background: #f0f0f0;
}

.fpcr-icon {
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1;
}

#fpcr-modal h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
}

.fpcr-intro {
    font-size: 14px;
    color: #333;
    margin: 0 0 16px;
    line-height: 1.6;
}

.fpcr-law {
    background: #f6f7f8;
    border-left: 3px solid #1a1a2e;
    border-radius: 0 6px 6px 0;
    padding: 12px 16px;
    margin: 0 0 20px;
    text-align: left;
}

.fpcr-law p {
    font-size: 12.5px;
    color: #444;
    margin: 0;
    line-height: 1.65;
}

.fpcr-cta-label {
    font-size: 13px;
    color: #555;
    margin: 0 0 16px;
    line-height: 1.5;
}

.fpcr-btn {
    display: inline-block;
    background: #1a1a2e;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.2px;
}

.fpcr-btn:hover {
    background: #2d2d50;
    transform: translateY(-1px);
}

.fpcr-copy {
    font-size: 11px;
    color: #aaa;
    margin: 20px 0 0;
}

/* ---- Bandeau bas d'article ---- */
.fpcr-notice-bar {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 860px;
    margin: 24px auto 0;
    padding: 14px 18px;
    background: #f6f7f8;
    border: 1px solid #e4e4e7;
    border-radius: 6px;
    font-size: 12.5px;
    color: #555;
    line-height: 1.6;
    box-sizing: border-box;
}

.fpcr-notice-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #1a1a2e;
}

.fpcr-notice-text a {
    color: #1a1a2e;
    text-decoration: underline;
    font-weight: 600;
}

.fpcr-notice-text a:hover {
    color: #444;
}

/* ---- Accessibilite : lecteurs d'ecran ---- */
#fpcr-overlay:focus {
    outline: none;
}
