/* ITAM Wave Pay — enrollment form, matching the itam-modern brand palette */

.itam-wp {
	max-width: 680px;
	margin: 32px auto;
	padding: 32px;
	background: #0e1424;
	border-radius: 16px;
	box-shadow: 0 12px 36px rgba(0,0,0,.3);
	color: #eef1f8;
	font-family: inherit;
}

.itam-wp__error {
	background: rgba(255, 90, 90, .12);
	border: 1px solid rgba(255, 90, 90, .4);
	color: #ffb3b3;
	padding: 12px 16px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-size: 14px;
}

.itam-wp__row {
	margin-bottom: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.itam-wp__row label {
	font-size: 13px;
	color: #aab2c5;
}

.itam-wp__row input[type="text"],
.itam-wp__row input[type="email"] {
	background: #05070d;
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 8px;
	padding: 12px 14px;
	color: #fff;
	font-size: 15px;
}

.itam-wp__row input:focus {
	outline: none;
	border-color: #34e6c4;
}

.itam-wp__policy {
	font-size: 13.5px;
	line-height: 1.6;
	color: #c3c9db;
	background: rgba(52,230,196,.06);
	border: 1px solid rgba(52,230,196,.2);
	border-radius: 10px;
	padding: 14px 16px;
	margin: 0 0 22px;
}

.itam-wp__policy strong {
	color: #34e6c4;
}

.itam-wp__plans {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 22px 0 24px;
}

@media (max-width: 720px) {
	.itam-wp__plans { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
	.itam-wp__plans { grid-template-columns: 1fr; }
}

.itam-wp__plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}

.itam-wp__plan input[type="radio"] {
	position: absolute;
	top: 14px;
	right: 14px;
}

.itam-wp__plan:has(input:checked) {
	border-color: #34e6c4;
	background: rgba(52,230,196,.08);
}

.itam-wp__plan-title {
	font-weight: 700;
	font-size: 15px;
	color: #fff;
}

.itam-wp__plan-price {
	font-size: 19px;
	font-weight: 700;
	background: linear-gradient(90deg, #34e6c4, #6c8bff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.itam-wp__plan-desc {
	font-size: 12.5px;
	color: #8b93a7;
}

/* The theme's .itam-btn/.itam-btn--primary classes turned out to be scoped
   to the old .itam-pay box specifically (they did nothing once applied
   outside it), so the reflective/glow treatment is fully self-contained
   here instead of depending on them. Classes left in the markup are
   harmless no-ops. */
.itam-wp__submit {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: 16px 20px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(90deg, #34e6c4, #6c8bff);
	color: #05070d;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	box-shadow: 0 8px 28px rgba(52,230,196,.35), 0 8px 28px rgba(108,139,255,.25);
	transition: filter .15s, box-shadow .15s, transform .15s;
}

/* Glossy highlight across the top half, for a "reflective" glass look. */
.itam-wp__submit::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 55%);
	pointer-events: none;
}

/* Diagonal shine sweep on hover. */
.itam-wp__submit::after {
	content: "";
	position: absolute;
	top: -50%;
	left: -60%;
	width: 40%;
	height: 200%;
	background: rgba(255,255,255,.35);
	transform: rotate(20deg);
	transition: left .5s ease;
	pointer-events: none;
}

.itam-wp__submit:hover {
	filter: brightness(1.05);
	box-shadow: 0 10px 34px rgba(52,230,196,.45), 0 10px 34px rgba(108,139,255,.35);
	transform: translateY(-1px);
}

.itam-wp__submit:hover::after {
	left: 130%;
}

.itam-wp__secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: fit-content;
	margin: 14px auto 0;
	padding: 6px 14px;
	font-size: 12px;
	color: #aab2c5;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 999px;
}

/* The "how payment works" note that used to live here as .itam-wp__note,
   and the styling for the Terms of Service / Privacy Policy links below
   the form, both moved into the theme itself (template-payment.php /
   assets/css/main.css) — that fine-print line is theme markup, not part
   of this plugin, so it's styled at the theme level now instead of being
   patched from here. */


/* Career Coaching checkout ([itam_coaching_checkout]) */
.itam-coach__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 22px; }
.itam-coach__amount { font-size: 44px; font-weight: 800; line-height: 1; background: linear-gradient(90deg, #34e6c4, #6c8bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.itam-coach__note { font-size: 14px; color: #aab2c5; }
.itam-coach__fine { font-size: 12.5px; color: #8b93a7; text-align: center; margin: 12px 0 0; }
a.itam-wp__submit { display: block; box-sizing: border-box; text-align: center; text-decoration: none; color: #05070d; }

/* Audit fixes, Nov 6 2026 */
/* Input borders need 3:1 against the dark box (WCAG 1.4.11). */
.itam-wp__row input[type="text"],
.itam-wp__row input[type="email"] { border-color: rgba(255,255,255,.38); }
.itam-coach .itam-coach__fine, .itam-coach .itam-secure { color: #9aa7bd; }
.itam-coach .itam-coach__fine a { color: #c3c9db; text-decoration: underline; text-underline-offset: 2px; }
.itam-coach__notice { border-color: #34e6c4; }
.itam-coach__notice p { margin: 0 0 8px; }
.itam-coach__notice p:last-child { margin-bottom: 0; }
.itam-coach__thanks { margin: 0 0 6px; font-size: 18px; color: #34e6c4; }
#itam-coach-msg:focus { outline: 2px solid #34e6c4; outline-offset: 3px; }
.itam-wp__submit[disabled] { opacity: .7; cursor: progress; }
