/* Frontend Thought Industries styles. */

.wcti-session-selection {
	margin: 0 0 1.25rem;
	padding: 1rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.wcti-session-label {
	margin: 0 0 0.75rem;
	font-weight: 600;
	font-size: 1rem;
}

.wcti-session-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.wcti-session-option {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0;
	padding: 0.75rem 0.9rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	cursor: pointer;
	line-height: 1.4;
}

.wcti-session-option:hover,
.wcti-session-option:has(input:checked) {
	border-color: rgba(0, 0, 0, 0.35);
	background: rgba(0, 0, 0, 0.03);
}

.wcti-session-option input {
	margin-top: 0.2rem;
}

.wcti-session-option__text {
	flex: 1;
}

.wcti-session-selection--empty .wcti-session-empty {
	margin: 0;
	color: #6d6d6d;
}

/* Manual course schedule dropdown (Is course?) */
.wcti-course-schedule {
	margin: 0 0 1.25rem;
	padding: 1rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.wcti-course-schedule__heading {
	margin: 0 0 0.75rem;
	font-weight: 600;
	font-size: 1rem;
	color: #1e73be;
}

.wcti-course-schedule__select {
	width: 100%;
	max-width: 100%;
	padding: 0.55rem 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 2px;
	background: #fff;
	font-size: 0.95rem;
	line-height: 1.4;
}

.wcti-course-schedule__empty {
	margin: 0;
	color: #6d6d6d;
}

.wcti-course-schedule__summary {
	margin-top: 1rem;
}

.wcti-course-schedule__summary-intro {
	margin: 0 0 0.5rem;
	color: #555;
	font-size: 0.95rem;
}

.wcti-course-schedule__list {
	margin: 0;
	padding-left: 1.25rem;
	color: #333;
	line-height: 1.55;
	list-style: disc;
}

.wcti-course-schedule__item {
	margin: 0 0 0.2rem;
}

.wcti-course-schedule__item-label {
	color: #333;
}

/* Buy Now — same shape/type as ATC, different color */
.woocommerce-js div.product form.cart .button.wcti-buy-now-button,
.woocommerce div.product form.cart .button.wcti-buy-now-button {
	background-color: transparent;
	border: 0 !important;
	font-family: "Montserrat", Sans-serif;
	font-size: 16px;
	font-weight: 600;
	/* Distinct from ATC (#35b2ff → #024df7) */
	background-image: linear-gradient(180deg, #12b5a0 0%, #087a6a 100%) !important;
	border-radius: 50px 50px 50px 50px;
	padding: 15px 20px 15px 20px;
	transition: all 0.3s ease-out;
	color: #fff;
	vertical-align: middle;
	float: left;
	width: auto;
	margin: 0 0 1em 0.75rem;
	line-height: 1.2;
	cursor: pointer;
}

.woocommerce-js div.product form.cart .button.wcti-buy-now-button:hover,
.woocommerce div.product form.cart .button.wcti-buy-now-button:hover,
.woocommerce-js div.product form.cart .button.wcti-buy-now-button:focus,
.woocommerce div.product form.cart .button.wcti-buy-now-button:focus {
	background-image: linear-gradient(180deg, #0ea090 0%, #066557 100%);
	color: #fff;
	opacity: 1;
}

.woocommerce-js div.product form.cart .button.wcti-buy-now-button.disabled,
.woocommerce div.product form.cart .button.wcti-buy-now-button.disabled,
.woocommerce-js div.product form.cart .button.wcti-buy-now-button:disabled,
.woocommerce div.product form.cart .button.wcti-buy-now-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background-image: linear-gradient(180deg, #12b5a0 0%, #087a6a 100%);
}

.woocommerce-js div.product form.cart .button.wcti-buy-now-button.disabled:hover,
.woocommerce div.product form.cart .button.wcti-buy-now-button.disabled:hover,
.woocommerce-js div.product form.cart .button.wcti-buy-now-button:disabled:hover,
.woocommerce div.product form.cart .button.wcti-buy-now-button:disabled:hover {
	opacity: 0.5;
	background-image: linear-gradient(180deg, #12b5a0 0%, #087a6a 100%);
}

/* Inline learner fields (1-seat / single) — replaces modal popup */
.wcti-learner-inline {
	margin: 0 0 1rem;
	padding: 0.85rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	clear: both;
}

.wcti-learner-inline[hidden] {
	display: none !important;
}

.wcti-learner-inline__message {
	display: none;
	margin: 0 0 0.75rem;
	padding: 0.65rem 0.85rem;
	border-left: 3px solid #b32d2e;
	background: #fcf0f1;
	color: #3c434a;
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1.4;
	border-radius: 2px;
}

.wcti-learner-inline__message.is-visible,
.wcti-learner-inline__message:not([hidden]) {
	display: block;
}

.wcti-learner-inline__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.4;
}

.wcti-learner-inline__checkbox input {
	margin-top: 0.2rem;
}

.wcti-learner-inline__fields {
	margin-top: 0.85rem;
}

.wcti-learner-inline__fields[hidden] {
	display: none !important;
}

.wcti-learner-inline__fields .form-row {
	margin: 0 0 0.75rem;
}

.wcti-learner-inline__fields label {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 600;
}

.wcti-learner-inline__fields input[type="text"],
.wcti-learner-inline__fields input[type="email"] {
	width: 100%;
	max-width: 100%;
}

/* My Account — Course Seats */
.wcti-course-seats__order {
	margin: 0 0 2rem;
}

.wcti-course-seats__order-link {
	font-size: 0.875rem;
	font-weight: 400;
	margin-left: 0.75rem;
}

.wcti-course-seats__pagination {
	margin: 1.5rem 0 0;
}

.wcti-course-seats__pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.wcti-course-seats__pagination .page-numbers {
	display: inline-block;
	min-width: 2rem;
	padding: 0.35rem 0.55rem;
	text-align: center;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 2px;
	text-decoration: none;
}

.wcti-course-seats__pagination .page-numbers.current {
	background: #1e73be;
	border-color: #1e73be;
	color: #fff;
	font-weight: 600;
}

.wcti-assign-seat-form {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.wcti-assign-seat-form p {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 0.75rem !important;
	float: none !important;
	box-sizing: border-box;
}

.wcti-assign-seat-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.wcti-assign-seat-form input[type="text"],
.wcti-assign-seat-form input[type="email"] {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

.wcti-assign-seat-form .button,
.wcti-assign-seat-form button[type="submit"] {
	display: inline-block;
	margin-top: 0.15rem;
	float: none !important;
}

.wcti-assign-seat-form__message,
.wcti-assign-seat-form p.wcti-assign-seat-form__message {
	display: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 0 0.5rem !important;
	padding: 0.5rem 0.65rem;
	border-left: 3px solid #b32d2e;
	background: #fcf0f1;
	color: #3c434a;
	font-size: 0.9em;
	font-weight: 600;
	line-height: 1.4;
	box-sizing: border-box;
}

.wcti-assign-seat-form__message[hidden] {
	display: none !important;
}

.wcti-assign-seat-form__message.is-visible,
.wcti-assign-seat-form p.wcti-assign-seat-form__message.is-visible {
	display: block !important;
	width: 100% !important;
}

/* Seat assignment confirmation modal */
body.wcti-assign-confirm-open {
	overflow: hidden;
}

.wcti-assign-confirm {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.wcti-assign-confirm[hidden] {
	display: none !important;
}

.wcti-assign-confirm__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.wcti-assign-confirm__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 420px);
	background: #fff;
	border-radius: 6px;
	padding: 1.25rem 1.35rem 1.35rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.wcti-assign-confirm__title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
}

.wcti-assign-confirm__body {
	margin: 0 0 0.85rem;
	color: #444;
}

.wcti-assign-confirm__details {
	margin: 0 0 1.15rem;
	padding: 0.75rem 0.85rem;
	background: #f6f7f7;
	border-radius: 4px;
}

.wcti-assign-confirm__details > div {
	display: grid;
	grid-template-columns: 7.5rem 1fr;
	gap: 0.35rem 0.75rem;
	margin: 0 0 0.4rem;
}

.wcti-assign-confirm__details > div:last-child {
	margin-bottom: 0;
}

.wcti-assign-confirm__details dt {
	margin: 0;
	font-weight: 600;
	color: #555;
}

.wcti-assign-confirm__details dd {
	margin: 0;
	word-break: break-word;
}

.wcti-assign-confirm__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-end;
}

.single-product .product_meta {
    display: none !important;
}

.woocommerce-thankyou-order-received .wcti-order-received-text {
	display: block;
	line-height: 1.55;
}

.woocommerce-thankyou-order-received .wcti-order-received-text a {
	text-decoration: underline;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button {
    font-weight: 700 !important;
}



/* Remove WooCommerce Dismiss link */
.woocommerce-store-notice.demo_store .woocommerce-store-notice__dismiss-link {
    display: none !important;
}

.woocommerce-store-notice, p.demo_store {
	padding: 0 !important;
}

.wcti-apple-google-pay-note {
	display: block;
	margin: 1.25rem 0;
	padding: 1rem 1.15rem;
	border: 2px solid #0b6e4f;
	border-radius: 6px;
	background: #e8f6f1;
	color: #063d2c;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
}
