/* _content/RatelRugby.UI/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-yjdeo5l9bs] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-yjdeo5l9bs] {
    flex: 1;
}

.sidebar[b-yjdeo5l9bs] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-yjdeo5l9bs] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-yjdeo5l9bs]  a, .top-row[b-yjdeo5l9bs]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-yjdeo5l9bs]  a:hover, .top-row[b-yjdeo5l9bs]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-yjdeo5l9bs]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-yjdeo5l9bs] {
        justify-content: space-between;
    }

    .top-row[b-yjdeo5l9bs]  a, .top-row[b-yjdeo5l9bs]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-yjdeo5l9bs] {
        flex-direction: row;
    }

    .sidebar[b-yjdeo5l9bs] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-yjdeo5l9bs] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-yjdeo5l9bs]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-yjdeo5l9bs], article[b-yjdeo5l9bs] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-yjdeo5l9bs] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-yjdeo5l9bs] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/RatelRugby.UI/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-pd1l7xo2up] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-pd1l7xo2up] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-pd1l7xo2up] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-pd1l7xo2up] {
    font-size: 1.1rem;
}

.bi[b-pd1l7xo2up] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-pd1l7xo2up] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-pd1l7xo2up] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-pd1l7xo2up] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-pd1l7xo2up] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-pd1l7xo2up] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-pd1l7xo2up] {
        padding-bottom: 1rem;
    }

    .nav-item[b-pd1l7xo2up]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-pd1l7xo2up]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-pd1l7xo2up]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-pd1l7xo2up] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-pd1l7xo2up] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-pd1l7xo2up] {
        display: none;
    }

    .nav-scrollable[b-pd1l7xo2up] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/RatelRugby.UI/Components/Loading/Loader.razor.rz.scp.css */
/* Wrapper layout */
.rr-overlay[b-axmxqnyodp] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
}

.rr-inline[b-axmxqnyodp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Scrim blocks clicks & dims page */
.rr-scrim[b-axmxqnyodp] {
    position: absolute;
    inset: 0;
    background: var(--rr-scrim, rgba(255,255,255,.72));
    backdrop-filter: blur(var(--rr-blur, 0));
}

/* Card that holds spinner + copy */
.rr-loader-shell[b-axmxqnyodp] {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none; /* let overlay consume interactions */
}

.rr-loader-shell--overlay[b-axmxqnyodp] {
    background: #111827;
    color: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: var(--rr-elevation, 0 10px 30px rgba(0,0,0,.25));
}

.rr-loader-shell--inline[b-axmxqnyodp] {
    background: transparent;
    color: inherit;
}

/* Text */
.rr-loader-text[b-axmxqnyodp] {
    text-align: center;
    line-height: 1.25;
}

.rr-loader-title[b-axmxqnyodp] {
    font-weight: 700;
    letter-spacing: .2px;
}

.rr-loader-sub[b-axmxqnyodp] {
    font-size: .9rem;
    opacity: .8;
}

/* Screen-reader only helper */
.sr-only[b-axmxqnyodp] {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ---- Your cube animation, cleaned up and themable ---- */
.rr-loader[b-axmxqnyodp] {
    width: var(--uib-size, 48px);
    height: var(--uib-size, 48px);
    display: inline-grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--uib-size,48px) * .06);
}

.cube[b-axmxqnyodp] {
    width: 100%;
    aspect-ratio: 1 / 1;
    perspective: 600px;
}

.cube__inner[b-axmxqnyodp] {
    width: 100%;
    height: 100%;
    background: var(--uib-color, #111827);
    border-radius: 4px;
    transform-style: preserve-3d;
    animation: rr-cube-b-axmxqnyodp var(--uib-speed, 1.25s) ease-in-out infinite;
}

.cube:nth-child(2) .cube__inner[b-axmxqnyodp] {
    animation-delay: calc(var(--uib-speed,1.25s) * .1);
}

.cube:nth-child(3) .cube__inner[b-axmxqnyodp] {
    animation-delay: calc(var(--uib-speed,1.25s) * .2);
}

@keyframes rr-cube-b-axmxqnyodp {
    0%, 100% {
        transform: rotateX(0) rotateY(0) translateZ(0);
        opacity: .95;
    }

    25% {
        transform: rotateX(180deg);
    }

    50% {
        transform: rotateY(180deg);
        opacity: .85;
    }

    75% {
        transform: rotateX(180deg) rotateY(180deg);
    }
}

/* Reduced motion: swap animation for pulsing opacity */
@media (prefers-reduced-motion: reduce) {
    .cube__inner[b-axmxqnyodp] {
        animation: rr-pulse-b-axmxqnyodp 1.2s ease-in-out infinite;
    }

    @keyframes rr-pulse-b-axmxqnyodp {
        0%,100% {
            opacity: .6
        }

        50% {
            opacity: 1
        }
    }
}
/* _content/RatelRugby.UI/Components/Modals/QuestionnaireModal.razor.rz.scp.css */
/* === Questionnaire Modal (scoped) === */
/* Uses theme tokens from app.css: var(--red), var(--white), var(--black) */

.qn-overlay[b-0wiotmw8wm] {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(0,0,0,.55);
	z-index: 1200;
	padding: 16px;
	animation: qn-fade-b-0wiotmw8wm .18s ease-out;
}

/* Card shell */
.qn-modal[b-0wiotmw8wm] {
	width: min(920px, 96vw);
	max-height: min(92vh, 1000px);
	background: var(--white);
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 18px;
	box-shadow: 0 18px 42px rgba(0,0,0,.22);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	overflow-y: auto;
}

/* Header pinned on top */
.qn-head[b-0wiotmw8wm] {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: space-between;
	padding: 14px 16px;
	background: linear-gradient(180deg,#fff 0%, #fff 65%, rgba(255,255,255,.92) 100%);
	border-bottom: 1px solid rgba(0,0,0,.08);
	z-index: 2;
}

	.qn-head h3[b-0wiotmw8wm] {
		font-size: 20px;
		font-weight: 800;
		color: var(--black);
	}

	.qn-head .ad-btn[b-0wiotmw8wm] { /* reuse your admin pill button look */
		height: 32px;
		padding: 0 .9rem;
		border-radius: 999px;
		border: 1px solid #eee;
		background: #f7f7f8;
		font-weight: 700;
		cursor: pointer;
	}

/* Scrollable body */
.qn-body[b-0wiotmw8wm] {
	flex: 1 1 auto;
	overflow: auto;
	padding: 16px;
	scroll-behavior: smooth;
}

	/* Nice scrollbar */
	.qn-body[b-0wiotmw8wm]::-webkit-scrollbar {
		width: 10px;
	}

	.qn-body[b-0wiotmw8wm]::-webkit-scrollbar-thumb {
		background: rgba(0,0,0,.15);
		border-radius: 999px;
	}

/* Question block */
.qn-q[b-0wiotmw8wm] {
	background: #ffffff;
	border: 1px solid rgba(0,0,0,.06);
	border-radius: 14px;
	padding: 12px;
	box-shadow: 0 10px 24px rgba(0,0,0,.04);
	margin-bottom: 12px;
}

/* Question title row */
.qn-q-title[b-0wiotmw8wm] {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.qn-q-index[b-0wiotmw8wm] {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	min-width: 34px;
	height: 28px;
	padding: 0 10px;
	font-weight: 800;
	font-size: 13px;
	color: var(--white);
	background: var(--red);
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(211,47,47,.25);
}

.qn-q-text[b-0wiotmw8wm] {
	font-weight: 700;
	color: #222;
}

.req[b-0wiotmw8wm] {
	color: var(--red);
	margin-left: 6px;
	font-weight: 800;
}

/* Inputs (inherit global .input from app.css) */
.input[b-0wiotmw8wm] {
	width: 100%;
}

	.input.input--sm[b-0wiotmw8wm] {
		height: 36px;
		padding: 0 10px;
		font-size: 13px;
	}

/* Choice groups */
/* --- Choice grid (layout) --- */
.choices[b-0wiotmw8wm] {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 10px;
}

/* --- Choice pill --- */
.choice[b-0wiotmw8wm] {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #ededed;
	border-radius: 12px;
	background: #f8f9fb;
	cursor: pointer;
	user-select: none;
	transition: transform .08s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

	.choice:hover[b-0wiotmw8wm] {
		transform: translateY(-1px);
	}

	.choice:active[b-0wiotmw8wm] {
		transform: translateY(0);
	}

	/* highlight the selected pill (works for radio & checkbox) */
	.choice:has(input:checked)[b-0wiotmw8wm] {
		background: #fff7f7;
		border-color: rgba(211,47,47,.35); /* red-ish */
		box-shadow: 0 8px 18px rgba(211,47,47,.12);
	}

	/* --- Accessible focus ring on the pill when the input is focused --- */
	.choice:has(input:focus-visible)[b-0wiotmw8wm] {
		outline: 2px solid rgba(211,47,47,.65);
		outline-offset: 2px;
	}

	/* --- Input visuals (bigger + themed) --- */
	/* Keep native inputs for keyboard/screen readers, but style them cleanly */
	.choice input[b-0wiotmw8wm] {
		flex: 0 0 auto;
		width: 18px;
		height: 18px;
		accent-color: var(--red); /* modern browsers */
		border-radius: 4px;
	}

		/* make radios circular without fully custom paint */
		.choice input[type="radio"][b-0wiotmw8wm] {
			border-radius: 50%;
		}

/* --- Label text --- */
.choice__text[b-0wiotmw8wm] {
	line-height: 1.2;
	color: #1f1f1f;
	font-weight: 600;
	word-break: break-word;
}

/* compact mode for dense lists (optional) */
.choice.choice--sm[b-0wiotmw8wm] {
	padding: 10px 12px;
}


/* Scale helper row */
.scale-row[b-0wiotmw8wm] {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
	font-size: 13px;
	color: #555;
}

/* Matrix table */
.qn-matrix[b-0wiotmw8wm] {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border: 1px solid #eee;
	border-radius: 12px;
	background: #fff;
}

	.qn-matrix thead th[b-0wiotmw8wm] {
		position: sticky;
		top: 0;
		background: linear-gradient(180deg, #2b2b2b 0%, #1c1c1c 100%);
		color: #fff;
		font-weight: 800;
		font-size: 13px;
		padding: 10px 12px;
		z-index: 1;
	}

	.qn-matrix tbody th[b-0wiotmw8wm] {
		position: sticky;
		left: 0;
		background: #fafafa;
		font-weight: 700;
		padding: 10px 12px;
		border-right: 1px solid #eee;
		z-index: 1;
	}

	.qn-matrix td[b-0wiotmw8wm] {
		padding: 10px 12px;
		border-top: 1px solid #f0f0f0;
		border-right: 1px solid #f5f5f5;
	}

	.qn-matrix tr:last-child td[b-0wiotmw8wm] {
		border-bottom: 0;
	}

/* Validation message per question */
.qn-error[b-0wiotmw8wm] {
	margin-top: 8px;
	color: var(--red);
	font-size: 12px;
	font-weight: 700;
}

/* Footer pinned on bottom */
.qn-foot[b-0wiotmw8wm] {
	position: sticky;
	bottom: 0;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	padding: 12px 16px;
	background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, #fff 35%, #fff 100%);
	border-top: 1px solid rgba(0,0,0,.08);
	z-index: 2;
}
	/* Buttons use global .btn/.btn--primary/.btn--ghost from app.css */
	.qn-foot .btn[b-0wiotmw8wm] {
		width: auto;
		height: auto;
		padding: .70rem 1.1rem;
	}

/* Responsive tweaks */
@media (max-width: 560px) {
	.qn-modal[b-0wiotmw8wm] {
		width: 98vw;
	}

	.choices[b-0wiotmw8wm] {
		grid-template-columns: 1fr;
	}
}

/* Small entrance */
@keyframes qn-fade-b-0wiotmw8wm {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
