/**
 * wcb/job-alert-card - sidebar CTA card.
 *
 * Mirrors the main-column .wcb-cp-section card shell. The accent
 * colour lives on the button only - keeping the card surface uniform
 * across the sidebar makes the whole column read as one card stack.
 */

/* radius-xl, matching every other sidebar/aside card - was its own
 * hardcoded radius-2xl copy instead of actually matching .wcb-cp-side-
 * card (Basecamp 10348288572, owner: uniform). */
.wcb-job-alert-card {
	background: var(--wcb-base);
	border: 1px solid var(--wcb-border);
	border-radius: var(--wcb-radius-xl);
	padding: var(--wcb-space-2xl) var(--wcb-space-2xl);
}

.wcb-job-alert-card .wcb-cp-side-card__title {
	display: flex;
	align-items: center;
	gap: var(--wcb-space-sm);
	font-size: var(--wcb-text-lg);
	font-weight: var(--wcb-font-bold);
	color: var(--wcb-contrast);
	margin: 0 0 var(--wcb-space-md);
	padding-bottom: var(--wcb-space-md);
	border-bottom: 1px solid var(--wcb-surface, var(--wp--preset--color--wcb-surface));
}

.wcb-job-alert-card__body {
	font-size: var(--wcb-text-base);
	color: var(--wcb-text-secondary);
	margin: 0 0 var(--wcb-space-md);
	line-height: 1.55;
}

.wcb-job-alert-card__btn {
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
	min-height: 40px;
	padding: var(--wcb-space-sm) var(--wcb-space-lg);
	background: var(--wcb-primary-strong);
	color: var(--wcb-on-primary);
	font-weight: 600;
	font-size: var(--wcb-text-base);
	text-align: center;
	text-decoration: none;
	border: 0;
	border-radius: var(--wcb-radius-md, 8px);
	cursor: pointer;
	transition: background 0.15s ease;
}

.wcb-job-alert-card__btn:hover,
.wcb-job-alert-card__btn:focus {
	background: var(--wcb-primary-dark);
	color: var(--wcb-on-primary);
	border: 0;
	text-decoration: none;
}

/* Same ring and press feedback every other filled WCB control uses. */
.wcb-job-alert-card__btn:focus-visible {
	outline: 2px solid transparent !important;
	box-shadow: var(--wcb-shadow-focus);
	color: var(--wcb-on-primary);
	border: 0;
}

.wcb-job-alert-card__btn:active {
	background: var(--wcb-primary-dark);
	color: var(--wcb-on-primary);
	border: 0;
	transform: scale(0.97);
}

@media (max-width: 640px) {
	.wcb-job-alert-card {
		padding: var(--wcb-space-xl) var(--wcb-space-xl);
	}
}
