/* ==========================================================
   The Connect — hover animation for the Job Seeker Membership
   Plan cards (Domestic Jobs / International Jobs / Both Plans)
   Targets the site's existing classes — no HTML changes needed.
   Loaded automatically, site-wide, once this plugin is active.
   ========================================================== */

.tcp-plan-card {
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
	will-change: transform;
}

.tcp-plan-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 34px rgba(10, 31, 68, 0.14);
	border-color: #2E86DE;
}

/* the highlighted "Both Plans" card lifts a touch more and glows blue */
.tcp-plan-card.tcp-plan-featured:hover {
	transform: translateY(-10px) scale(1.015);
	box-shadow: 0 24px 40px rgba(46, 134, 222, 0.28);
}

/* price ticks up slightly on hover so the card feels responsive */
.tcp-plan-card .tcp-plan-price {
	transition: transform .28s ease, color .28s ease;
	display: inline-block;
}
.tcp-plan-card:hover .tcp-plan-price {
	transform: scale(1.06);
}

/* buttons brighten + nudge down, like they're being pressed toward you */
.tcp-plan-card .tcp-btn {
	transition: filter .22s ease, transform .22s ease;
}
.tcp-plan-card:hover .tcp-btn {
	filter: brightness(1.08);
}
.tcp-plan-card .tcp-btn:active {
	transform: scale(0.97);
}

/* respect users who've asked for reduced motion */
@media (prefers-reduced-motion: reduce) {
	.tcp-plan-card,
	.tcp-plan-card .tcp-plan-price,
	.tcp-plan-card .tcp-btn {
		transition: none !important;
	}
	.tcp-plan-card:hover {
		transform: none;
	}
}

/* ==========================================================
   Button alignment fix — keeps "Register to Select" flush to
   the same bottom line across all three cards, no matter how
   many lines the description wraps to.
   ========================================================== */
.tcp-plans {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}
.tcp-plan-card {
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
}
.tcp-plan-card .tcp-plan-desc {
	flex: 1 0 auto;
}
.tcp-plan-card .tcp-btn {
	margin-top: auto;
	align-self: flex-start;
}

/* ==========================================================
   Site-wide: kill the theme's default yellow/gold focus-and-
   active glow on buttons and submit inputs. Found so far on the
   theconnect-portal plugin's own buttons AND on Contact Form 7's
   "Send Message" button, which is neither plugin's markup — this
   points to a theme-level default, so the fix is scoped broadly
   here (loaded site-wide already) rather than duplicated per form.
   Note: this also suppresses the browser's default keyboard-focus
   ring on these elements; if keyboard accessibility matters for
   this site, a subtle non-yellow focus style should replace it
   rather than removing it outright.
   ========================================================== */
button,
input[type="submit"],
input[type="button"],
.wpcf7-submit {
	outline: none !important;
	box-shadow: none !important;
}
button:hover, button:focus, button:active, button:focus-visible,
input[type="submit"]:hover, input[type="submit"]:focus, input[type="submit"]:active, input[type="submit"]:focus-visible,
.wpcf7-submit:hover, .wpcf7-submit:focus, .wpcf7-submit:active, .wpcf7-submit:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* ==========================================================
   Site-wide: match Contact Form 7's fields to the same input
   style used everywhere else on the site (light blue border,
   rounded corners) — CF7 is a separate plugin from both of ours,
   so its default field styling was never touched until now.
   ========================================================== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100% !important;
	box-sizing: border-box !important;
	border: 1.5px solid #A9D0F5 !important;
	border-radius: 14px !important;
	padding: 12px 14px !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 13.5px !important;
	color: #101828 !important;
	background: #fff !important;
	box-shadow: 0 1px 2px rgba(10, 31, 68, 0.04) !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.wpcf7 input[type="text"]:hover,
.wpcf7 input[type="email"]:hover,
.wpcf7 input[type="tel"]:hover,
.wpcf7 textarea:hover {
	border-color: #7DB8ED !important;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
	outline: none !important;
	box-shadow: 0 0 0 2px #2E86DE !important;
	border-color: #2E86DE !important;
}

/* Same iOS Safari auto-zoom-on-focus fix as the main plugin, applied to
   Contact Form 7's fields — under-16px font-size on a focused input
   makes iOS zoom the whole page in. */
@media (max-width: 768px) {
	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"],
	.wpcf7 input[type="tel"],
	.wpcf7 input[type="url"],
	.wpcf7 input[type="number"],
	.wpcf7 select,
	.wpcf7 textarea {
		font-size: 16px !important;
	}
}
