/* LawSikho Blog Paywall */
:root { --lsp-red: #c8102e; --lsp-ink: #1d1d1f; --lsp-mute: #6b7280; --lsp-line: #e5e7eb; }

/* Paywall box */
.lsp-paywalled { position: relative; }
.lsp-box { position: relative; margin: 0 0 2rem; }
.lsp-fade { height: 90px; margin-top: -90px; position: relative; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.lsp-box-inner { border: 1px solid var(--lsp-line); border-top: 4px solid var(--lsp-red); border-radius: 10px; padding: 28px 24px; text-align: center; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.lsp-box-inner h3 { margin: 6px 0 8px; font-size: 1.35rem; color: var(--lsp-ink); }
.lsp-box-inner p { color: var(--lsp-mute); margin: 0 0 16px; }
.lsp-lock { font-size: 28px; }
.lsp-small { font-size: .9rem; margin-top: 14px !important; }

/* Buttons & cards */
.lsp-btn { display: inline-block; background: var(--lsp-red); color: #fff !important; border: 0; border-radius: 6px; padding: 12px 22px; font-weight: 600; font-size: 1rem; cursor: pointer; text-decoration: none !important; }
.lsp-btn:hover, .lsp-btn:focus { background: #a50d26; }
.lsp-btn:focus-visible { outline: 3px solid #f4b400; outline-offset: 2px; }
.lsp-btn[disabled] { opacity: .5; cursor: not-allowed; }
.lsp-btn-ghost { background: #fff; color: var(--lsp-red) !important; border: 1px solid var(--lsp-red); }
.lsp-btn-ghost:hover { background: #fff5f6; }
.lsp-linkbtn { background: none; border: 0; color: var(--lsp-red); text-decoration: underline; cursor: pointer; padding: 0; }
.lsp-card { max-width: 560px; margin: 2rem auto; padding: 28px; border: 1px solid var(--lsp-line); border-radius: 10px; background: #fff; }
.lsp-account { max-width: 720px; }
.lsp-card h2 { margin-top: 0; }
.lsp-card label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: .95rem; }
.lsp-card input[type=text], .lsp-card input[type=email], .lsp-card input[type=password] { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 1rem; box-sizing: border-box; }
.lsp-card .lsp-check { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.lsp-card form .lsp-btn { margin-top: 18px; }
.lsp-links { margin-top: 16px; font-size: .92rem; }
.lsp-hp { position: absolute !important; left: -9999px !important; }
.lsp-alert { padding: 10px 14px; border-radius: 6px; margin: 10px 0; font-size: .95rem; }
.lsp-alert-error { background: #fdecee; color: #8a0b1f; }
.lsp-alert-ok { background: #e8f6ee; color: #136c3a; }
.lsp-alert-warn { background: #fff7e0; color: #7a5200; }
.lsp-muted { color: var(--lsp-mute); }
.lsp-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.lsp-table th, .lsp-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--lsp-line); font-size: .95rem; }
.lsp-badge { padding: 3px 10px; border-radius: 99px; font-size: .85rem; font-weight: 600; }
.lsp-badge.lsp-active { background: #e8f6ee; color: #136c3a; }
.lsp-badge.lsp-expired { background: #fdecee; color: #8a0b1f; }
.lsp-badge.lsp-free { background: #eef2f7; color: #334155; }
.lsp-price { font-size: 2.2rem; font-weight: 700; color: var(--lsp-ink); margin: 6px 0; }
.lsp-price span { font-size: 1rem; color: var(--lsp-mute); font-weight: 400; }
.lsp-perks { padding-left: 18px; color: var(--lsp-ink); }
.lsp-testmode { background: #fff7e0; color: #7a5200; padding: 6px 10px; border-radius: 6px; font-size: .85rem; display: inline-block; }

/* Header account menu */
.lsp-account-menu { position: relative; }
.lsp-account-menu > a.lsp-account-toggle { display: inline-flex !important; align-items: center; justify-content: center; }
.lsp-account-menu .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.lsp-account-menu > .lsp-dd { min-width: 210px; right: 0; left: auto; }
.lsp-dd-head { padding: 10px 16px; border-bottom: 1px solid var(--lsp-line); list-style: none; }
.lsp-dd-head strong { display: block; font-size: .95rem; }
.lsp-dd-head span { display: block; font-size: .8rem; color: var(--lsp-mute); }
/* Own dropdown styling (independent of the theme) */
.lsp-account-menu > ul.lsp-dd {
	position: absolute !important; top: 100% !important; right: 0 !important; left: auto !important;
	min-width: 220px; margin: 0; padding: 6px 0; list-style: none; background: #fff;
	border: 1px solid var(--lsp-line); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.12);
	z-index: 99999; display: block !important; opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.lsp-account-menu:hover > ul.lsp-dd,
.lsp-account-menu:focus-within > ul.lsp-dd,
.lsp-account-menu.lsp-open > ul.lsp-dd { opacity: 1; visibility: visible; transform: none; }
.lsp-account-menu > ul.lsp-dd > li { display: block; margin: 0; padding: 0; width: 100%; }
.lsp-account-menu > ul.lsp-dd, .lsp-account-menu > ul.lsp-dd > li { font: inherit !important; font-size: inherit !important; }
.lsp-account-menu > ul.lsp-dd > li > a, .lsp-account-menu > ul.lsp-dd > li > a span { font-family: inherit !important; font-size: inherit !important; font-weight: inherit !important; line-height: 1.4 !important; }
.lsp-account-menu > ul.lsp-dd > li > a { display: block !important; padding: 10px 18px !important; color: var(--lsp-ink) !important; white-space: nowrap; text-decoration: none; }
.lsp-dd-head strong { font-size: inherit !important; }
/* Same left alignment for the name/status header and every link */
.lsp-account-menu > ul.lsp-dd > li,
.lsp-account-menu > ul.lsp-dd > li > a { text-align: left !important; margin: 0 !important; box-sizing: border-box; }
.lsp-account-menu > ul.lsp-dd > li.lsp-dd-head { padding: 10px 18px 12px !important; }
.lsp-account-menu > ul.lsp-dd > li > a { padding: 10px 18px !important; justify-content: flex-start !important; }
.lsp-account-menu > ul.lsp-dd > li > a > span { display: inline !important; margin: 0 !important; padding: 0 !important; }
.lsp-dd-head strong, .lsp-dd-head span { display: block; margin: 0 !important; padding: 0 !important; text-align: left !important; }

/* Hide page title / page header on the plugin pages */
body.lsp-plugin-page .bloghash-page-header,
body.lsp-plugin-page .bloghash-page-header-title,
body.lsp-plugin-page .page-header,
body.lsp-plugin-page .entry-header,
body.lsp-plugin-page h1.entry-title,
body.lsp-plugin-page h1.page-title { display: none !important; }
.lsp-account-menu > ul.lsp-dd > li > a:hover, .lsp-account-menu > ul.lsp-dd > li > a:focus { background: #fff5f6; color: var(--lsp-red) !important; }
.lsp-account-menu > ul.lsp-dd > li > a::before, .lsp-account-menu > ul.lsp-dd > li > a::after { display: none !important; }

/* Protected (subscriber) article */
.lsp-protected { position: relative; -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-touch-callout: none; }
.lsp-protected img { -webkit-user-drag: none; pointer-events: none; }
.lsp-wm { position: absolute; inset: 0; pointer-events: none; background-repeat: repeat; z-index: 5; }
.lsp-hwm-p { margin: 0 !important; height: 0; overflow: hidden; }
.lsp-hwm { font-size: 1px; color: transparent; }
.lsp-print-notice { display: none; }

@media print {
	.lsp-protected > *:not(.lsp-print-notice) { display: none !important; }
	.lsp-protected .lsp-print-notice { display: block !important; font-size: 18px; padding: 40px; text-align: center; }
	body.lsp-premium-full .entry-content, body.lsp-premium-full .lsp-protected { visibility: visible; }
}

/* ---- Same font as the site on all plugin pages (login, register, profile, subscribe, reset) ---- */
.lsp-card, .lsp-box-inner { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }
.lsp-card p, .lsp-card li, .lsp-card label, .lsp-card .lsp-check,
.lsp-card .lsp-links, .lsp-card .lsp-muted, .lsp-card .lsp-alert,
.lsp-card .lsp-table th, .lsp-card .lsp-table td,
.lsp-card input[type=text], .lsp-card input[type=email], .lsp-card input[type=password],
.lsp-card .lsp-btn, .lsp-box-inner p, .lsp-box-inner .lsp-btn, .lsp-small {
	font-family: inherit !important; font-size: 1em !important; line-height: 1.6 !important;
}
.lsp-card label { font-weight: 600; margin: 18px 0 8px; }
.lsp-card .lsp-check { font-weight: 400; align-items: center; }
.lsp-card .lsp-check input { width: 20px; height: 20px; flex: 0 0 20px; }
.lsp-card .lsp-table th, .lsp-card .lsp-table td { padding: 12px 14px; }
.lsp-card .lsp-badge { font-size: .9em !important; }
.lsp-card .lsp-testmode { font-size: .9em !important; }
.lsp-card .lsp-btn { padding: 12px 26px; }
.lsp-card input[type=text], .lsp-card input[type=email], .lsp-card input[type=password] { padding: 12px 14px; }

/* Dropdown name/status: same left edge as the links */
.lsp-account-menu > ul.lsp-dd > li.lsp-dd-head { padding: 12px 18px !important; border-bottom: 1px solid var(--lsp-line); }
.lsp-account-menu > ul.lsp-dd > li.lsp-dd-head span { font-size: .8em !important; color: var(--lsp-mute); margin-top: 2px !important; }

/* Consent / remember-me rows: checkbox on the left, text flows as one normal sentence */
.lsp-card label.lsp-check {
	display: block !important; position: relative; padding-left: 32px !important;
	font-weight: 400 !important; font-size: 1em !important; line-height: 1.6 !important;
	margin: 18px 0 6px !important; text-align: left;
}
.lsp-card label.lsp-check input[type=checkbox] {
	position: absolute; left: 0; top: .2em; width: 20px; height: 20px; margin: 0 !important;
}
.lsp-card label.lsp-check a { display: inline !important; font: inherit !important; white-space: nowrap; text-decoration: underline; }

/* Consent row v2: checkbox + one text span (immune to theme flex/grid on labels) */
.lsp-card label.lsp-check { display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; gap: 12px !important; padding-left: 0 !important; grid-template-columns: none !important; }
.lsp-card label.lsp-check input[type=checkbox] { position: static !important; flex: 0 0 20px !important; width: 20px !important; height: 20px !important; margin: 3px 0 0 !important; }
.lsp-card label.lsp-check .lsp-check-text { display: block !important; flex: 1 1 auto !important; min-width: 0; font-size: .95em !important; font-weight: 400 !important; line-height: 1.6 !important; color: var(--lsp-ink); }
.lsp-card label.lsp-check .lsp-check-text a { display: inline !important; white-space: normal !important; color: var(--lsp-red) !important; text-decoration: underline; font-weight: 500; }

/* Footer legal links */
.lsp-footer-links { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: inherit; }
.lsp-footer-links a { color: inherit; text-decoration: none; }
.lsp-footer-links a:hover, .lsp-footer-links a:focus { text-decoration: underline; }
.lsp-footer-links span { opacity: .6; }
.lsp-footer-strip { text-align: center; padding: 16px; font-size: .9rem; border-top: 1px solid var(--lsp-line); background: #fff; color: var(--lsp-mute); }
