/* Creative Clipping Clipper Hub | by Creative Solutionss */
.ccch {
	--ccch-pink: var(--pink, #db2277);
	--ccch-violet: var(--violet, #bf16ff);
	--ccch-ink: var(--ink, #100c15);
	--ccch-soft: var(--soft-ink, #211828);
	--ccch-paper: var(--paper, #faf8f7);
	--ccch-muted: #a99db0;
	--ccch-line: rgba(255, 255, 255, .1);
	--ccch-grad: linear-gradient(112deg, var(--ccch-pink), var(--ccch-violet));
	--ccch-action: var(--action, linear-gradient(112deg, #ad195c, #8816c4));
	--ccch-display: var(--display, "Barlow Condensed", "Arial Narrow", Impact, sans-serif);
	--ccch-body: var(--body, "DM Sans", Arial, sans-serif);
	--ccch-radius: 16px;
	font-family: var(--ccch-body);
	color: #f2edf4;
	max-width: 1280px;
	margin: 0;
	padding: 8px 0 48px;
	font-size: 16px;
	line-height: 1.55;
}
.ccch *, .ccch *::before, .ccch *::after { box-sizing: border-box; }
.ccch a { color: #f58ac0; }
.ccch a:hover { color: #fff; }

/* Type */
.ccch-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--ccch-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.ccch-eyebrow a { -webkit-text-fill-color: #f58ac0; }
.ccch-title { font-family: var(--ccch-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 5vw, 56px); line-height: .95; letter-spacing: -.01em; margin: 0 0 18px; color: #fff; }
.ccch h3 { font-family: var(--ccch-display); font-weight: 800; text-transform: uppercase; font-size: 24px; letter-spacing: .01em; margin: 0 0 14px; color: #fff; }
.ccch-muted { color: var(--ccch-muted); font-size: 14px; }
.ccch-center { text-align: center; }
.ccch-block { display: block; }
.ccch-help { display: block; font-size: 13px; color: var(--ccch-muted); margin: 6px 0 0; }
.ccch-help--error { color: #ff8fb0; }

/* Surfaces */
.ccch-card { background: var(--ccch-ink); border: 1px solid var(--ccch-line); border-radius: var(--ccch-radius); padding: 28px; margin: 0 0 20px; box-shadow: 0 18px 50px rgba(16, 12, 21, .25); }
.ccch-card.ccch-center p { max-width: 460px; margin: 0 auto 18px; color: var(--ccch-muted); }

/* Buttons */
.ccch-btn, .ccch .button-primary, .ccch #wp-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 24px; font: 700 15px/1 var(--ccch-body); color: #fff !important; background: var(--ccch-action); cursor: pointer; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.ccch-btn:hover, .ccch #wp-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(219, 34, 119, .35); filter: brightness(1.1); }
.ccch-btn:focus-visible, .ccch-link:focus-visible, .ccch-tabs a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ccch-btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .25); }
.ccch-btn--ghost:hover { border-color: #fff; box-shadow: none; }
.ccch-btn--small { padding: 10px 18px; font-size: 14px; }
.ccch-btn--block { display: flex; width: 100%; margin: 8px 0; }
.ccch-link { background: none; border: 0; padding: 0; color: var(--ccch-muted); font: 600 14px var(--ccch-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ccch-link:hover { color: #fff; }
.ccch-link--danger:hover { color: #ff6b9a; }

/* Forms */
.ccch-form { display: grid; gap: 16px; }
.ccch-form > .ccch-btn:not(.ccch-btn--block) { justify-self: start; }
.ccch-field, .ccch .login-username, .ccch .login-password { display: grid; gap: 7px; margin: 0; }
.ccch-field > span, .ccch .login-username label, .ccch .login-password label { font-size: 13px; font-weight: 600; color: #d9cfe0; }
.ccch input[type=text], .ccch input[type=email], .ccch input[type=password], .ccch input[type=tel], .ccch input[type=url], .ccch input[type=number], .ccch select, .ccch textarea {
	width: 100%; background: var(--ccch-soft); color: #fff; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; padding: 12px 14px; font: 15px/1.4 var(--ccch-body); transition: border-color .2s ease, box-shadow .2s ease;
}
.ccch input::placeholder, .ccch textarea::placeholder { color: #7d7186; }
.ccch input:focus, .ccch select:focus, .ccch textarea:focus { outline: 0; border-color: var(--ccch-pink); box-shadow: 0 0 0 3px rgba(219, 34, 119, .25); }
.ccch input:disabled { opacity: .6; }
.ccch select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #c9b7d4 50%), linear-gradient(135deg, #c9b7d4 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.ccch-fieldset { border: 1px solid var(--ccch-line); border-radius: 12px; padding: 16px 18px 18px; margin: 0; display: grid; gap: 14px; }
.ccch-fieldset legend { padding: 0 8px; font-weight: 700; font-size: 14px; color: #fff; }
.ccch-grid-2, .ccch-grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ccch-grid-3 { grid-template-columns: 1fr 1.6fr 1fr; }
.ccch-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #d9cfe0; }
.ccch-check input { margin-top: 4px; accent-color: var(--ccch-pink); }
.ccch-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.ccch .login-remember label { font-size: 14px; color: #d9cfe0; display: flex; gap: 8px; align-items: center; }
.ccch .login-submit { margin: 4px 0 0; }
.ccch #loginform { display: grid; gap: 14px; margin: 0 0 14px; }
.ccch #loginform p { margin: 0; }
.ccch #wp-submit { width: 100%; }
.ccch-auth { max-width: 460px; margin: 0 auto; }

/* Notices */
.ccch-notice { border-radius: 12px; padding: 14px 18px; margin: 0 0 18px; font-size: 15px; border: 1px solid; }
.ccch-notice--success { background: rgba(37, 211, 102, .1); border-color: rgba(37, 211, 102, .35); color: #b9f5cf; }
.ccch-notice--error { background: rgba(255, 75, 125, .1); border-color: rgba(255, 75, 125, .4); color: #ffc2d4; }

/* Register */
.ccch-register { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.ccch-register__intro { position: sticky; top: 100px; padding: 12px 0; }
.ccch-register__intro .ccch-title { color: var(--ccch-ink); }
.ccch-steps { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.ccch-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.ccch-steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 800 18px var(--ccch-display); color: #fff; background: var(--ccch-grad); }
.ccch-steps strong { color: var(--ccch-ink); font-size: 16px; }
.ccch-steps span { color: #655a69; font-size: 14px; }

/* Dashboard */
.ccch-dash__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.ccch-dash__head .ccch-title { color: var(--ccch-ink); margin: 0; }
.ccch-dash__actions { display: flex; gap: 18px; align-items: center; }
.ccch-dash__actions .ccch-link { color: #655a69; }
.ccch-tabs { display: flex; gap: 6px; overflow-x: auto; background: var(--ccch-ink); padding: 6px; border-radius: 999px; margin-bottom: 22px; scrollbar-width: none; }
.ccch-tabs a { white-space: nowrap; padding: 11px 20px; border-radius: 999px; color: #cbbfd3 !important; text-decoration: none; font-weight: 600; font-size: 14px; transition: background .2s ease, color .2s ease; }
.ccch-tabs a:hover { color: #fff !important; background: rgba(255, 255, 255, .06); }
.ccch-tabs a.is-active { background: var(--ccch-grad); color: #fff !important; }

.ccch-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.ccch-stat { background: var(--ccch-ink); border: 1px solid var(--ccch-line); border-radius: var(--ccch-radius); padding: 22px; display: grid; gap: 6px; position: relative; overflow: hidden; }
.ccch-stat::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 140px; height: 140px; background: var(--ccch-grad); opacity: .18; filter: blur(40px); }
.ccch-stat span { font-size: 13px; color: var(--ccch-muted); }
.ccch-stat strong { font: 800 32px/1 var(--ccch-display); color: #fff; }
.ccch-stat small { color: var(--ccch-muted); font-size: 12px; }

.ccch-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ccch-checklist li { position: relative; padding-left: 32px; color: #d9cfe0; }
.ccch-checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); }
.ccch-checklist li.is-done::before { border: 0; background: var(--ccch-grad); }
.ccch-checklist li.is-done::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ccch-checklist li.is-done, .ccch .ccch-checklist li.is-done a { color: var(--ccch-muted); text-decoration: line-through; }
.ccch-checklist--plain li::before { width: 8px; height: 8px; top: 9px; left: 6px; border: 0; background: var(--ccch-grad); }
.ccch-howto { margin: 0; padding-left: 20px; color: #d9cfe0; display: grid; gap: 8px; }

/* Social accounts */
.ccch-accounts { display: grid; gap: 14px; margin-bottom: 20px; }
.ccch-account { background: var(--ccch-ink); border: 1px solid var(--ccch-line); border-left: 3px solid #6b5f73; border-radius: 14px; padding: 18px 20px; display: grid; gap: 14px; grid-template-columns: 1fr auto; align-items: center; }
.ccch-account--verified { border-left-color: #25d366; }
.ccch-account--pending { border-left-color: #f5b546; }
.ccch-account--rejected { border-left-color: #ff4b7d; }
.ccch-account__main { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ccch-account__handle { font-weight: 700; font-size: 17px; color: #fff !important; text-decoration: none; }
.ccch-account__actions { display: flex; gap: 14px; align-items: center; justify-content: flex-end; }
.ccch-account__actions form { margin: 0; }
.ccch-account .ccch-code, .ccch-account .ccch-help { grid-column: 1 / -1; }
.ccch-code { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--ccch-soft); border: 1px dashed rgba(219, 34, 119, .55); border-radius: 12px; padding: 12px 14px; }
.ccch-code span { font-size: 13px; color: var(--ccch-muted); }
.ccch-code code { font: 700 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: #fff; background: none; padding: 0; }
.ccch-copy { margin-left: auto; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; border-radius: 999px; padding: 7px 14px; font: 600 13px var(--ccch-body); cursor: pointer; }
.ccch-copy:hover, .ccch-copy.is-copied { background: #fff; color: var(--ccch-ink); }

/* Pills & status */
.ccch-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ccch-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #eee; }
.ccch-pill--tiktok { background: rgba(37, 244, 238, .12); color: #7ef8f4; }
.ccch-pill--instagram { background: rgba(225, 48, 108, .16); color: #ff8fb7; }
.ccch-pill--youtube { background: rgba(255, 0, 0, .14); color: #ff8c8c; }
.ccch-pill--x { background: rgba(255, 255, 255, .12); color: #fff; }
.ccch-pill--facebook { background: rgba(24, 119, 242, .16); color: #8ebcff; }
.ccch-status { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ccch-status--verified, .ccch-status--approved { background: rgba(37, 211, 102, .14); color: #7fe9a6; }
.ccch-status--paid { background: rgba(191, 22, 255, .18); color: #e3a6ff; }
.ccch-status--pending { background: rgba(245, 181, 70, .14); color: #ffd387; }
.ccch-status--unverified { background: rgba(255, 255, 255, .08); color: #cfc4d6; }
.ccch-status--rejected { background: rgba(255, 75, 125, .14); color: #ff9db8; }
.ccch-note { display: block; color: var(--ccch-muted); margin-top: 4px; font-size: 12px; }

/* Table */
.ccch-table-wrap { background: var(--ccch-ink); border: 1px solid var(--ccch-line); border-radius: var(--ccch-radius); overflow: hidden; }
.ccch-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.ccch-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ccch-muted); padding: 14px 18px; border-bottom: 1px solid var(--ccch-line); background: transparent; }
.ccch-table td { padding: 14px 18px; border-bottom: 1px solid var(--ccch-line); color: #e8e1ec; vertical-align: top; background: transparent; }
.ccch-table tr:last-child td { border-bottom: 0; }

/* Campaign grid */
.ccch-campaigns { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.ccch-camp { background: var(--ccch-ink); border: 1px solid var(--ccch-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.ccch-camp:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(16, 12, 21, .35); }
.ccch-camp.is-closed { opacity: .6; }
.ccch-camp__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--ccch-grad); overflow: hidden; }
.ccch-camp__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ccch-camp:hover .ccch-camp__media img { transform: scale(1.04); }
.ccch-camp__placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; font: 800 34px/1 var(--ccch-display); text-transform: uppercase; color: #fff; }
.ccch-camp__rate { position: absolute; left: 14px; bottom: 14px; background: rgba(16, 12, 21, .85); backdrop-filter: blur(6px); color: #fff; font-weight: 800; font-size: 18px; padding: 8px 14px; border-radius: 999px; }
.ccch-camp__rate small { font-weight: 500; font-size: 12px; color: var(--ccch-muted); }
.ccch-camp__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ccch-camp__body h3 { margin: 0; font-size: 26px; }
.ccch-camp__body h3 a { color: #fff; text-decoration: none; }
.ccch-camp__body p { margin: 0; color: var(--ccch-muted); font-size: 14px; }
.ccch-camp__body .ccch-btn { margin-top: auto; align-self: flex-start; }
.ccch-progress { height: 6px; background: rgba(255, 255, 255, .1); border-radius: 999px; overflow: hidden; }
.ccch-progress span { display: block; height: 100%; background: var(--ccch-grad); border-radius: inherit; }

/* Single campaign */
.ccch-single { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.ccch-single__main { color: inherit; }
.ccch-single__content { margin: 8px 0 24px; color: var(--ccch-soft); font-size: 17px; }
.ccch-single__side { position: sticky; top: 100px; }
.ccch-facts__rate { display: grid; margin-bottom: 18px; }
.ccch-facts__rate strong { font: 800 48px/1 var(--ccch-display); background: var(--ccch-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ccch-facts__rate span { color: var(--ccch-muted); font-size: 14px; }
.ccch-facts dl { margin: 0 0 16px; display: grid; gap: 4px; }
.ccch-facts dt { font-size: 12px; color: var(--ccch-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 10px; }
.ccch-facts dd { margin: 0; font-weight: 600; color: #fff; }
.ccch-cta p { color: var(--ccch-muted); }

/* Text that sits directly on the page adapts to dark page backgrounds */
.ccch--on-dark .ccch-register__intro .ccch-title,
.ccch--on-dark .ccch-dash__head .ccch-title,
.ccch--on-dark .ccch-steps strong,
.ccch--on-dark .ccch-single__content { color: #fff; }
.ccch--on-dark .ccch-steps span,
.ccch--on-dark .ccch-dash__actions .ccch-link { color: var(--ccch-muted); }

/* Theme compatibility
 * Many themes cap page content at a narrow reading width and style every h2, list,
 * link and image inside it. These rules let the plugin use the full content area
 * and keep its own spacing. */
.entry-content:has(> .ccch), .entry-content:has(> * > .ccch) { max-width: none; }
.ccch .ccch-title { margin: 0 0 18px; font-size: clamp(34px, 5vw, 56px); line-height: .95; }
.ccch :is(.ccch-card, .ccch-camp__body, .ccch-cta, .ccch-form) :is(h2, h3) { margin: 0 0 14px; font-size: 24px; line-height: 1.1; }
.ccch .ccch-camp__body h3 { margin: 0; font-size: 26px; }
.ccch .ccch-dash__head .ccch-title { margin: 0; }
.ccch :is(.ccch-steps, .ccch-checklist, .ccch-accounts) { padding: 0; margin-left: 0; }
.ccch .ccch-steps { margin: 26px 0 0; }
.ccch .ccch-checklist { margin: 0; }
.ccch .ccch-howto { margin: 0; padding-left: 20px; }
.ccch :is(.ccch-steps, .ccch-checklist, .ccch-howto) li { margin: 0; }
.ccch :is(a.ccch-btn, .ccch-tabs a, .ccch-account__handle, .ccch-camp__media, .ccch-camp__body h3 a) { text-decoration: none; }
.ccch a.ccch-btn { color: #fff; }
.ccch .ccch-camp__media img { width: 100%; max-width: none; height: 100%; }
.ccch .ccch-register__intro { padding-top: 0; }
.ccch p:last-child { margin-bottom: 0; }

/* Responsive */
@media (max-width: 900px) {
	.ccch-register, .ccch-single { grid-template-columns: 1fr; }
	.ccch-register__intro, .ccch-single__side { position: static; }
	.ccch-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.ccch-card { padding: 20px; }
	.ccch-grid-2, .ccch-grid-3 { grid-template-columns: 1fr; }
	.ccch-account { grid-template-columns: 1fr; }
	.ccch-account__actions { justify-content: flex-start; }
	.ccch-stat strong { font-size: 26px; }
	.ccch-table thead { display: none; }
	.ccch-table tr { display: block; border-bottom: 1px solid var(--ccch-line); padding: 8px 0; }
	.ccch-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 8px 18px; text-align: right; flex-wrap: wrap; align-items: center; }
	.ccch-table td::before { content: attr(data-label); color: var(--ccch-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
	.ccch *, .ccch *::before, .ccch *::after { transition: none !important; }
}
