/* Status page "Report a copy" / "Request a license" (status-actions.js). WCAG 2.2 AAA: 7:1 text, 44px targets, 3px focus. */
.dmca-act-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 2px solid #1F1F1F; border-radius: 6px;
    background: #fff; color: #1F1F1F; font: inherit; font-weight: 700; line-height: 1.2; cursor: pointer; text-transform: none; }
.dmca-act-btn svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.dmca-act-btn[hidden] { display: none !important; }
.dmca-act-btn:hover { background: #1F1F1F; color: #fff; }
.dmca-act-btn:focus { outline: none; }
.dmca-act-btn:focus-visible { outline: 3px solid #1F1F1F; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.btns-set-1 .dmca-act-btn { margin: 0 0 10px 8px; }
@media (max-width: 767.9px) { .btns-set-1 .dmca-act-btn { margin: 0 4px 10px; } }

html.dmca-sa-open { overflow: hidden; }
.dmca-sa-overlay { position: fixed; inset: 0; z-index: 100001; background: rgba(15, 20, 25, .6); display: flex; align-items: center; justify-content: center; padding: 12px; }
.dmca-sa { position: relative; box-sizing: border-box; width: 480px; max-width: 100%; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain;
    background: #fff; color: #1F1F1F; border-radius: 18px; padding: 16px 20px 20px; box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
    font: 400 16px/1.5 "Google Sans", "Open Sans", Arial, sans-serif; text-align: start; letter-spacing: normal; text-transform: none; }
.dmca-sa *, .dmca-sa *::before, .dmca-sa *::after { box-sizing: border-box; }
.dmca-sa-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.dmca-sa-head h2 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; color: #1F1F1F; text-transform: none; }
.dmca-sa-x { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #F1F3F1; color: #1F1F1F; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dmca-sa-x svg { width: 20px; height: 20px; fill: currentColor; }
.dmca-sa-intro { margin: 0 0 14px; color: #3D3D3D; overflow-wrap: anywhere; }
.dmca-sa-intro bdi { font-weight: 700; color: #1F1F1F; }
.dmca-sa-form label { display: block; margin: 12px 0 4px; font-weight: 700; }
.dmca-sa-form input:not([type=radio]), .dmca-sa-form select, .dmca-sa-form textarea { display: block; width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid #1F1F1F; border-radius: 10px;
    background: #fff; color: #1F1F1F; font: inherit; }
.dmca-sa-form textarea { resize: vertical; }
.dmca-sa-form [aria-invalid="true"] { border-color: #7A1A10; }
.dmca-sa-hint { margin: 0 0 6px; font-size: 15px; color: #3D3D3D; }
.dmca-sa-err { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: #7A1A10; }
.dmca-sa-err[hidden], .dmca-sa-note[hidden], .dmca-sa-primary[hidden] { display: none; }
.dmca-sa-form fieldset { margin: 16px 0 0; padding: 0; border: 0; }
.dmca-sa-form legend { padding: 0; font-weight: 700; margin: 0 0 4px; }
.dmca-sa-form .dmca-sa-radio { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font-weight: 400; cursor: pointer; }
.dmca-sa-radio input { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: #1F5209; }
.dmca-sa-note { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #FFF2CC; color: #523700; font-size: 15px; }
.dmca-sa-primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin: 16px 0 0; padding: 12px 16px; border: 0; border-radius: 12px;
    background: #6BC530; color: #1F1F1F; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.dmca-sa-primary:hover { background: #1F5209; color: #fff; }
.dmca-sa-primary:disabled, .dmca-sa-primary[aria-disabled="true"] { background: #E4E7E3; color: #3D3D3D; cursor: not-allowed; }
.dmca-sa button:focus, .dmca-sa input:focus, .dmca-sa select:focus, .dmca-sa textarea:focus { outline: none; }
.dmca-sa button:focus-visible, .dmca-sa input:focus-visible, .dmca-sa select:focus-visible, .dmca-sa textarea:focus-visible { outline: 3px solid #1F1F1F; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
@media (max-width: 600px) {
    .dmca-sa-overlay { align-items: flex-end; padding: 0; }
    .dmca-sa { width: 100%; border-radius: 18px 18px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); max-height: 92vh; max-height: 92dvh; }
}

/* honeypot (bots fill it, people never see it), success message, captcha holder */
.dmca-sa-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.dmca-sa-done { margin: 8px 0 16px; padding: 14px 16px; border-radius: 10px; background: #EAF3E4; color: #102B04; font-size: 17px; line-height: 1.5; font-weight: 600; border: 1px solid #1F5209; }
.dmca-sa-done:focus { outline: 3px solid #1F5209; outline-offset: 2px; }
.dmca-sa-captcha { position: fixed; z-index: 2147483000; }
.dmca-sa-form textarea { width: 100%; box-sizing: border-box; }

/* ---------- Status action row: one size for every button (Share, Report a copy, Request a license, owner
   buttons, Report Certificate, Create my Own Certificate). 44px+, same padding/type/case/radius. ---------- */
#section-buttons .btns-set-1 > .btn, #section-buttons .btns-set-1 > .dmca-act-btn, #section-buttons .btns-set-1 > .dmca-share-btn,
#section-buttons .btns-set-2 > div:first-child > a.btn {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
    box-sizing: border-box; height: auto !important; min-height: 48px !important; max-height: none !important; margin: 0 !important; padding: 10px 18px !important;
    font-family: inherit; font-size: 15px !important; font-weight: 700 !important; line-height: 1.2 !important;
    letter-spacing: .02em; text-transform: uppercase !important; text-align: center; border-radius: 8px !important;
    vertical-align: middle; white-space: normal;
}
#section-buttons .btns-set-1 > [hidden] { display: none !important; }
#section-buttons .btns-set-1 > .btn svg, #section-buttons .btns-set-1 > .dmca-act-btn svg, #section-buttons .btns-set-1 > .dmca-share-btn svg {
    width: 18px; height: 18px; flex: 0 0 18px; margin: 0; display: block;
}
#section-buttons .btns-set-1 > .dmca-act-btn span, #section-buttons .btns-set-1 > .dmca-share-btn span { display: block; }
#section-buttons .btns-set-1, #section-buttons .btns-set-2 > div:first-child { display: flex !important; flex-wrap: wrap; flex-direction: row !important; gap: 10px; align-items: stretch; }
#section-buttons .btns-set-2 > div:first-child { margin-top: 10px; }
/* status.css hid Reprocess/Delete under 992px; keep them so the disabled state and tooltips are visible */
#section-buttons .btns-set-1 > .owner-act { display: inline-flex !important; }
@media (max-width: 767.9px) {
    #section-buttons .btns-set-1, #section-buttons .btns-set-2 > div:first-child { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    #section-buttons .btns-set-1 > .btn, #section-buttons .btns-set-1 > .dmca-act-btn, #section-buttons .btns-set-1 > .dmca-share-btn,
    #section-buttons .btns-set-2 > div:first-child > a.btn { width: 100%; min-width: 0; padding: 10px 12px !important; font-size: 14px !important; }
}

/* owner-only buttons: focusable, tooltip on hover and keyboard focus */
#section-buttons .owner-act { cursor: pointer; }
#section-buttons .owner-act:focus { outline: none; }
#section-buttons .owner-act:focus-visible { outline: 3px solid #1F1F1F; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
#section-buttons .owner-act:focus .tooltiptext, #section-buttons .owner-act:focus-within .tooltiptext { visibility: visible; opacity: 1; }
#section-buttons .owner-act[aria-disabled="true"] { background: #EDEDED !important; color: #4D4D4D !important; border: 2px solid #8A8A8A !important; cursor: not-allowed; box-shadow: none; }
#section-buttons .owner-act[aria-disabled="true"] .tooltiptext { cursor: default; }

/* ---------- Status desktop header: Free tier chip, Login, Register FREE, Create my Own Certificate = one height ---------- */
header.nav-header nav.main-menu > ul { display: flex; align-items: center; gap: 10px; }
header.nav-header nav.main-menu > ul > li { display: flex; align-items: center; margin: 0; }
header.nav-header nav.main-menu > ul > li > a.btn {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
    height: 44px !important; min-height: 44px !important; max-height: 44px !important; margin: 0 !important; padding: 0 18px !important;
    font-size: 15px !important; font-weight: 700 !important; line-height: 1 !important; border-radius: 8px !important; vertical-align: middle; }
header.nav-header nav.main-menu > ul > li > a.btn.btn-green,
header.nav-header nav.main-menu > ul > li > a.btn.status-tier-chip { background: #6BC530 !important; color: #1F1F1F !important; border: 1px solid #4E9A23 !important; }
header.nav-header nav.main-menu > ul > li > a.btn.btn-green:hover,
header.nav-header nav.main-menu > ul > li > a.btn.status-tier-chip:hover { background: #1F5209 !important; color: #fff !important; }
header.nav-header nav.main-menu a.btn.status-tier-chip * { color: inherit !important; line-height: 1 !important; }
header.nav-header nav.main-menu a.btn.status-tier-chip svg { width: 16px; height: 16px; flex: 0 0 16px; }
header.nav-header nav.main-menu a.btn.status-tier-chip svg path { stroke: currentColor !important; }
header.nav-header nav.main-menu a.btn.status-tier-chip .status-tier-dual { display: inline-flex; align-items: center; gap: 6px; }
header.nav-header nav.main-menu > ul > li > a.btn:focus-visible { outline: 3px solid #1F1F1F; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }

/* green buttons in the row and header: dark text like Share (AAA on #6BC530) */
#section-buttons a.btn-green, #section-buttons .btn.btn-green { color: #1F1F1F !important; }
header.nav-header .welcome-btn.btn-green, header.nav-header .welcome-btn.btn-green .welcome-txt { color: #1F1F1F !important; }
header.nav-header .welcome-btn.btn-green svg, header.nav-header .welcome-btn.btn-green svg path { fill: currentColor; }
#section-buttons .btns-set-2 > div:first-child > a.btn.btn { display: inline-flex !important; height: 48px !important; min-height: 48px !important; max-height: 48px !important; border-width: 2px !important; }
@media (max-width: 767.9px) {
    #section-buttons .btns-set-1, #section-buttons .btns-set-2 > div:first-child { grid-auto-rows: 1fr; }
    #section-buttons .btns-set-1 > *, #section-buttons .btns-set-2 > div:first-child > a.btn.btn { height: 100% !important; min-height: 48px !important; max-height: none !important; }
}
/* "Why am I seeing this" badge link: white text needs a darker orange for 7:1 */
#section-buttons .why-see a.blogger { background-color: #9A3412 !important; color: #fff !important; }
header.nav-header nav.main-menu button.dropbtn.welcome-btn { display: inline-flex !important; align-items: center; gap: 8px; height: 44px !important; min-height: 44px !important; max-height: 44px !important;
    padding: 0 18px !important; font-size: 15px !important; font-weight: 700 !important; border-radius: 8px !important; border: 1px solid #4E9A23 !important; background: #6BC530 !important; }

/* PROTECTED BY DMCA badge under the certificate buttons: breathing room, centred */
@media (max-width: 767.9px) {
    #section-buttons .btns-set-2 > div:nth-child(2) { display: flex !important; justify-content: center; margin: 24px 0 !important; }
    #section-buttons .btns-set-2 > div:nth-child(2) img { display: block; }
}
header.nav-header nav.main-menu button.dropbtn.welcome-btn svg { position: static !important; flex: 0 0 16px; width: 16px !important; height: 16px !important; margin: 0 !important; }
header.nav-header nav.main-menu button.dropbtn.welcome-btn .welcome-txt { position: static !important; margin: 0 !important; padding: 0 !important; line-height: 1.2 !important; text-transform: uppercase; }
/* Report a copy / Request a license: same look as SHARE (green, dark 7:1 text, border, focus ring) + icon spacing */
#section-buttons .dmca-act-btn, .btns-set-1 .dmca-act-btn { background: #6BC530 !important; color: #1F1F1F !important; border: 0 !important; box-shadow: none; gap: 8px !important; padding-left: 18px !important; padding-right: 18px !important; }
#section-buttons .dmca-act-btn:hover, .btns-set-1 .dmca-act-btn:hover { background: #1F5209 !important; color: #fff !important; }
#section-buttons .dmca-act-btn:focus-visible { outline: 3px solid #1F1F1F; outline-offset: 3px; box-shadow: none; }
#section-buttons .dmca-act-btn svg, #section-buttons .dmca-share-btn svg { width: 18px !important; height: 18px !important; flex: 0 0 18px !important; margin: 0 !important; display: block; fill: currentColor; }
#section-buttons .dmca-act-btn > span, #section-buttons .dmca-share-btn > span { margin: 0 !important; padding: 0 !important; }

/* Secondary "Report abuse" link under the Report a copy form */
.dmca-sa-abuse { margin: 16px 0 0; font-size: 15px; line-height: 1.4; text-align: start; }
.dmca-sa-abuse a { color: #1F4FA8 !important; text-decoration: underline; text-underline-offset: 2px; }
.dmca-sa-abuse a:hover { color: #0B2E6E !important; }
.dmca-sa-abuse a:focus { outline: none; }
.dmca-sa-abuse a:focus-visible { outline: 3px solid #1F1F1F; outline-offset: 2px; border-radius: 2px; }

/* Report Certificate removed (now the abuse link in Report a copy): Create my Own Certificate sits alone */
#section-buttons .btns-set-2 > div:first-child > a.btn:only-child { grid-column: 1 / -1; }
@media (max-width: 767.9px) {
    #section-buttons .btns-set-2 > div:first-child { justify-content: center; }
    #section-buttons .btns-set-2 > div:first-child > a.btn:only-child { flex: 1 1 100%; width: 100% !important; }
}
