/* Trainer Portal Access -- front-end styles for the nav, sign-in modal,
   and request-access form. Deliberately plain and easy to re-skin: every
   selector is scoped under tpa- so it won't fight your theme's own CSS. */

.tpa-nav-top {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
}
.tpa-nav-item {
	position: relative;
}
.tpa-nav-toggle {
	background: none;
	border: none;
	font: inherit;
	font-weight: 600;
	padding: 10px 14px;
	cursor: pointer;
}
.tpa-nav-dropdown {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 240px;
	list-style: none;
	margin: 0;
	padding: 8px 0;
	background: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	z-index: 50;
}
.tpa-nav-item.tpa-open .tpa-nav-dropdown {
	display: block;
}
.tpa-nav-dropdown li a {
	display: block;
	padding: 8px 16px;
	text-decoration: none;
	white-space: nowrap;
}
.tpa-nav-dropdown li a:hover {
	background: #f2f2f2;
}
.tpa-track-master {
	border-left: 3px solid #a8691a;
	padding-left: 13px !important;
}
.tpa-track-customer {
	border-left: 3px solid #3f7a4d;
	padding-left: 13px !important;
}

/* Sign-in box + modal */
.tpa-signin-box {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.tpa-signin-trigger {
	font: inherit;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 6px;
	border: 1px solid #333;
	background: #fff;
	cursor: pointer;
}
.tpa-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}
.tpa-modal-overlay[hidden] {
	display: none !important;
}
.tpa-modal {
	position: relative;
	background: #fff;
	border-radius: 10px;
	padding: 28px 26px;
	width: 100%;
	max-width: 360px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.tpa-modal h2 {
	margin-top: 0;
}
.tpa-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.tpa-modal p.login-remember,
.tpa-modal p.login-submit {
	margin: 10px 0;
}
.tpa-modal input[type="text"],
.tpa-modal input[type="password"] {
	width: 100%;
	padding: 8px 10px;
	box-sizing: border-box;
}
.tpa-lost-password {
	margin-top: 12px;
	font-size: 13px;
}

/* Request-access form + notices */
.tpa-request-form input[type="text"],
.tpa-request-form input[type="email"],
.tpa-request-form textarea {
	padding: 8px 10px;
	box-sizing: border-box;
}
.tpa-notice {
	padding: 14px 16px;
	border-radius: 6px;
}
.tpa-notice-success {
	background: #e5f0e6;
	border: 1px solid #3f7a4d;
}
