/* ── Global body fixes ─────────────────────────────────────────── */

body {
	overflow-x: hidden !important;
}

body a:where(:not([class*= btn--])) {
	color: unset;
}

/* QA fix (2026-08-23, row 258): this rule used to make :focus-visible fully
   transparent with no replacement style, leaving keyboard users with no visible
   focus indicator anywhere on the front end (WCAG 2.4.7, AA). Give it a real,
   on-brand outline instead of removing focus visibility outright. */
body.bricks-is-frontend.bricks-is-frontend :focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}

/* ── Cards / boxes ─────────────────────────────────────────────── */

.override-boxes {
	background: var(--white) 0% 0% no-repeat padding-box;
	background: #FFFFFF 0% 0% no-repeat padding-box;
	box-shadow: 0px 3px 26px #00000017;
	border-radius: 6px;
	opacity: 1;
	backdrop-filter: blur(35px);
	-webkit-backdrop-filter: blur(35px);
	gap: 15px;
}

/* ── Login button ──────────────────────────────────────────────── */

.login-btn {
	background: transparent linear-gradient(266deg, #CC002F 0%, #8A0E78 78%, #890E78 100%) 0% 0% no-repeat padding-box;
	opacity: 1;
	padding: 8px 40px !important;
	border-radius: 99px !important;
	transition: 0.5s !important;
}

.login-btn:hover {
	background: white !important;
	color: black !important;
}

/* ── Bricks filter widgets ─────────────────────────────────────── */

.brx-option-text {
	font-size: 13px;
	line-height: 1.2em !important;
}

.brxe-filter-checkbox li {
	margin-bottom: 10px !important;
}

.brxe-filter-submit {
	background: var(--primary) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	border-radius: 99px !important;
	margin-top: 20px !important;
	color: white !important;
	padding: 0.5em 2em !important;
}

.brxe-filter-select {
	background: white !important;
	line-height: 2em !important;
	font-size: 14px !important;
}

/* ── Bricks form ───────────────────────────────────────────────── */

.brxe-form label {
	line-height: 1em;
}

.brxe-form button {
	line-height: 1em;
}

.brxe-form input {
	min-height: 40px;
}

.brxe-form .bricks-button {
	padding: 1em 2em;
	font-size: 16px;
	letter-spacing: unset;
	transition: 0.3s;
}

.brxe-form .bricks-button:hover {
	background: var(--primary-hover) !important;
}

/* ── Bricks slider / tabs ──────────────────────────────────────── */

.brxe-tabs-nested {
	align-items: center;
}

button.splide__arrow[disabled] {
	opacity: 0 !important;
}

.brxe-slider-nested {
	position: relative;
}

.brxe-slider-nested::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 200px;
	pointer-events: none;
	background: linear-gradient(to right, transparent 0%, #f0f0f0 80%);
}

/* ── Calendar ──────────────────────────────────────────────────── */

.calendar-item[current] {
	background: black;
	color: white;
}

/* ── Ticket type spacing ────────────────────────────────────────── */

[ticket-name="Investor"], [ticket-name="Student & Researcher"] {
	margin-right: 30px !important;
}

/* ── Startup navigator (portal detail view) ─────────────────────── */

.startup-nav-back {
	background: transparent !important;
	font-size: 13px !important;
	padding: 10px 20px;
	border-radius: 99px;
	font-weight: 500;
	margin-left: 20px;
	margin-right: 10px;
	border: 1px solid black;
}

.startup-nav-back:hover {
	background: black !important;
	color: white !important;
}

.startup-nav-item-prev a {
	background: white !important;
	font-size: 13px !important;
	padding: 10px 20px;
	border-radius: 99px;
	font-weight: 500;
	margin-left: 20px;
	margin-right: 10px;
	border: 1px solid white !important;
}

.startup-nav-item-next a {
	background: white !important;
	font-size: 13px !important;
	padding: 10px 20px;
	border-radius: 99px;
	font-weight: 500;
	border: 1px solid white !important;
}

.startup-nav-item-prev a:hover,
.startup-nav-item-next a:hover {
	background: #CC002F !important;
	color: white;
	border-color: #CC002F !important;
}

/* ── Quantity buttons ──────────────────────────────────────────── */

.action.minus,
.action.plus {
	background: black !important;
	opacity: 1 !important;
	border-radius: 4px;
	color: white !important;
	transition: 0.3s;
}

.action.minus:hover,
.action.plus:hover {
	background: var(--primary) !important;
	color: white !important;
	fill: white !important;
}
