/**
 * Project: Main-Website
 * Module: public/CSS/embed-consent.css
 * Author: J. Apps (JohnV2002 / Sodakiller1)
 * Version: 1.0.0
 * Description: Placeholder box for click-to-load embeds (scripts/embed-consent.js).
 * New in v1.0.0: Neutral colours that work on light and dark pages.
 * Copyright: MIT (c) 2026 J. Apps
 */

.embed-consent {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    box-sizing: border-box;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.45;
    color: inherit;
    background: rgba(127, 127, 127, 0.1);
    border: 1px dashed rgba(127, 127, 127, 0.45);
    border-radius: 12px;
}

.embed-consent p {
    margin: 0;
    max-width: 36rem;
    opacity: 0.9;
}

.embed-consent a {
    color: inherit;
    text-decoration: underline;
}

.embed-consent__button {
    font: inherit;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border: none;
    border-radius: 8px;
    background: #5865f2;
    color: #fff;
    cursor: pointer;
}

.embed-consent__button:hover,
.embed-consent__button:focus-visible {
    filter: brightness(1.1);
}

.embed-consent__button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.embed-consent__remember {
    font-size: 0.8rem;
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

/* Inside a card the box takes its natural height (100% would overflow the card). */
.j-card .embed-consent {
    height: auto;
}
