/* /Components/Controls/AssessmentComponent.razor.rz.scp.css */
/* Two-column grid: 
      – col 1 flexes 
      – col 2 is exactly 140px wide (adjust to fit your widest input+range)
      – rows top-aligned
*/

/* Container for all assessment groups */
.assessment-list[b-4tjtmie33z] {
	display: block;
	margin: 2rem auto 0;
	max-width: 600px;
	width: 100%;
}







/* /Components/Controls/AssessmentItemComponent.razor.rz.scp.css */
/* container for input+range+error */
.assessment-item-input-container[b-xaks5ih0rq] {
	display: grid;
	grid-template-columns: 140px 140px; /* Fixed widths instead of auto to prevent shifting */
	grid-template-rows: auto auto; /* first row = input+range, second = validation */
	width: max-content; /* lock to widest of those two rows */
	gap: 0.25rem 2rem; /* row gap, column gap */
}

	/* regular input in first column, first row */
	.assessment-item-input-container > :is(BooleanAnswerInputComponent, DecimalAnswerInputComponent):not(.reassessment-input *)[b-xaks5ih0rq] {
		grid-column: 1;
		grid-row: 1;
		justify-self: end; /* Align to the right side of the column */
	}

/* reassessment input in second column, first row */
.reassessment-input[b-xaks5ih0rq] {
	grid-column: 2;
	grid-row: 1;
	padding: 0.75rem;
	background-color: #f8f9fa;
	border-left: 3px solid #007bff;
	border-radius: 0 4px 4px 0;
	justify-self: start; /* Align to the left side of the column */
}

/* validation messages in second row, spanning both columns */
.assessment-item-input-container .validation-message[b-xaks5ih0rq],
.assessment-item-input-container .field-validation-error[b-xaks5ih0rq] {
	grid-row: 2;
	grid-column: 1 / -1; /* Span across all columns */
	justify-self: start; /* Align to start instead of end */
	margin-top: 0.25em;
	font-size: 0.875em;
	color: #d9534f;
	white-space: nowrap; /* Prevent text wrapping that might affect layout */
}
/* /Components/Controls/AssessmentItemQuestionComponent.razor.rz.scp.css */
.assessment-item-question[b-3bo71dolsb] {
	font-size: 1rem;
	white-space: pre-line;
	display: flex;
	align-items: baseline; /* Align text and tooptip by their text baseline */
	gap: 0.4em;
}
/* /Components/Controls/AssessmentSelectionComponent.razor.rz.scp.css */
.assessment-selection[b-a95hst8yv7] {
	margin-top: 12px;
}
/* /Components/Controls/AssessmentTypeComponent.razor.rz.scp.css */
/* Two-column grid: 
      – col 1 flexes 
      – col 2 is exactly 140px wide (adjust to fit your widest input+range)
      – rows top-aligned
*/

/* Wrapper around each group to add spacing */
.assessment-group[b-mcv6ay0r5m] {
	margin-bottom: 1rem;
	min-width: 800px; /* Ensure minimum width to prevent squeezing */
}

/* Create a unified header row that contains both the assessment type and value headers */
.assessment-header-row[b-mcv6ay0r5m] {
	display: grid;
	grid-template-columns: 1fr 140px 140px; /* Always three columns to prevent shifting */
	column-gap: 1.2rem; /* Match the assessment-items gap */
	align-items: end; /* Align to bottom for level underlines */
	margin-bottom: 0.75rem;
}

/* Assessment type heading - now in the header row */
.assessment-type[b-mcv6ay0r5m] {
	grid-column: 1;
	margin: 0; /* Remove default margins */
	font-weight: bold;
	font-size: 1.1rem;
	align-self: end; /* Align to bottom with header underlines */
}

/* Value header in second column */
.initial-header[b-mcv6ay0r5m] {
	grid-column: 2;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.5rem 0.25rem;
	border-bottom: 2px solid #dee2e6;
	text-align: center;
	color: #495057;
	margin: 0;
}

/* Reassessment header in third column (when active) */
.reassessment-header[b-mcv6ay0r5m] {
	grid-column: 3;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.5rem 0.25rem;
	border-bottom: 2px solid #dee2e6;
	text-align: center;
	color: #007bff;
	margin: 0;
}

.assessment-items[b-mcv6ay0r5m] {
	list-style: none;
	margin: 0;
	padding: 0;
}

	.assessment-items li[b-mcv6ay0r5m] {
		display: grid;
		grid-template-columns: 1fr 140px 140px; /* Always three columns to prevent shifting */
		row-gap: 0.05rem; /* Space between rows */
		column-gap: 1.2rem; /* Space between columns */
		align-items: start; /* Align items to the top */
	}

		/*
		 * Question cell always left col 1
		 */
		.assessment-items li .assessment-item-question[b-mcv6ay0r5m] {
			grid-column: 1;
			justify-self: start;
			align-self: start;
		}

		/*
		 * Answer cell always right of col 2
		 */
		.assessment-items li .assessment-item-input-container[b-mcv6ay0r5m] {
			grid-column: 2;
			justify-self: end;
			align-self: start;
		}

/* When reassessment is active, the input container spans columns 2 and 3 */
.assessment-group.has-reassessment .assessment-items li .assessment-item-input-container[b-mcv6ay0r5m] {
	grid-column: 2 / 4; /* Span from column 2 to column 4 (columns 2 and 3) */
	justify-self: stretch; /* Fill the entire spanned area */
}
/* /Components/Controls/BooleanAnswerInputComponent.razor.rz.scp.css */
/* input+range on row 1 */
.input-and-range[b-t6w12ypru5] {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}
/* /Components/Controls/DecimalAnswerInputComponent.razor.rz.scp.css */
/* input+range on row 1 */
.input-and-range[b-qtwqedjk2z] {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

	/* force your <InputNumber> to 80px here (overrides Bootstrap) */
	.input-and-range[b-qtwqedjk2z]  input[type="number"] {
		width: 80px !important;
		box-sizing: border-box;
	}

/* keep the range from wrapping */
.answer-range[b-qtwqedjk2z] {
	white-space: nowrap;
	font-size: 0.95em;
}
/* /Components/Controls/DiagnosisRatingsComponent.razor.rz.scp.css */

/* /Components/Controls/InfoTooltip.razor.rz.scp.css */
.info-tooltip[b-i5d048uoml] {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	color: #0078d4;
	font-size: 0.85em;
	top: -1em; /* Adjust to align with text baseline */
	margin-left: 0.15em;
	vertical-align: middle;
	line-height: 1;
	height: 1em;
	width: 1em;
	justify-content: center;
}

	.info-tooltip .tooltip-text[b-i5d048uoml] {
		visibility: hidden;
		width: 260px;
		background-color: #333;
		color: #fff;
		text-align: left;
		border-radius: 4px;
		padding: 0.5em;
		position: absolute;
		z-index: 1;
		bottom: 125%;
		left: 50%;
		transform: translateX(-50%);
		opacity: 0;
		transition: opacity 0.2s;
		font-size: 0.95em;
		box-shadow: 0 2px 8px rgba(0,0,0,0.15);
		pointer-events: none;
	}

	.info-tooltip:hover .tooltip-text[b-i5d048uoml],
	.info-tooltip:focus .tooltip-text[b-i5d048uoml] {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
	}
/* /Components/Controls/ReassessmentItemComponent.razor.rz.scp.css */
/* Compact table rows for reassessment items */
.reassessment-table[b-mh2bx2y3ri] {
    margin-bottom: 0;
}

    .reassessment-table td[b-mh2bx2y3ri],
    .reassessment-table th[b-mh2bx2y3ri] {
        padding: 0.375rem 0.75rem; /* Reduced from Bootstrap's default 0.75rem */
        vertical-align: middle;
    }

    .reassessment-table .assessment-item-question[b-mh2bx2y3ri] {
        margin-bottom: 0;
        line-height: 1.25; /* Updated line-height */
    }

    /* More specific selector to override Bootstrap styles */
    .reassessment-table .form-control[b-mh2bx2y3ri],
    .reassessment-table .form-select[b-mh2bx2y3ri] {
        padding: 0.25rem 0.5rem !important; /* Smaller input padding */
        font-size: 0.875rem !important; /* Slightly smaller font */
        width: 90px !important; /* Updated width */
        max-width: 100% !important; /* Updated max-width */
        min-width: 60px !important; /* Minimum width for usability */
        display: inline-block !important; /* Allow width to work properly */
        box-sizing: border-box; /* Added box-sizing */
    }

    .reassessment-table .form-text[b-mh2bx2y3ri] {
        margin-left: 0.5rem; /* Space between input and range text */
        margin-top: 0;
        margin-bottom: 0;
        display: inline-block; /* Display next to input instead of below */
        font-size: 0.75rem; /* Make range text smaller */
        color: var(--bs-secondary-color, #6c757d); /* Updated color */
        white-space: nowrap; /* Prevent wrapping */
    }

/* Container for input and range text - horizontal layout */
.reassessment-input-container[b-mh2bx2y3ri] {
    display: inline-flex; /* Updated display */
    flex-direction: row; /* Changed from column to row for horizontal layout */
    align-items: center; /* Center align items vertically */
    width: auto; /* Updated width */
    gap: 0.5rem; /* Space between input and range text */
}

/* Ensure the table cell doesn't force inputs to expand */
.reassessment-table td:last-child[b-mh2bx2y3ri] {
    width: 30%;
    max-width: 220px; /* Updated max-width */
    white-space: nowrap; /* Added white-space */
}

@media (max-width: 576px) {
    .reassessment-table .form-control[b-mh2bx2y3ri] {
        width: 72px; /* Added media query width */
    }

    .reassessment-table td:last-child[b-mh2bx2y3ri] {
        white-space: normal; /* Added media query white-space */
    }
}
/* /Components/Controls/TreatmentReassessmentComponent.razor.rz.scp.css */
/* Compact table and tidy alignment for reassessment items */
.reassessment-table[b-8v5ineqhu5] {
  margin-bottom: 0;
}

.reassessment-table th[b-8v5ineqhu5],
.reassessment-table td[b-8v5ineqhu5] {
  padding: 0.375rem 0.75rem; /* Compact but readable */
  vertical-align: middle;
  white-space: nowrap; /* Prevent awkward wraps in tight cells */
}

.reassessment-table .assessment-item-question[b-8v5ineqhu5] {
  margin-bottom: 0;
  line-height: 1.25;
  white-space: normal; /* Allow question text to wrap if long */
}

/* Input sizing tuned for small numeric values */
.reassessment-table .form-control[b-8v5ineqhu5],
.reassessment-table .form-select[b-8v5ineqhu5] {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  width: 90px;       /* Narrow for 3–4 digits */
  max-width: 100%;   /* Prevent overflow on very small screens */
  display: inline-block;
  box-sizing: border-box;
}

/* Inline helper text beside input */
.reassessment-table .form-text[b-8v5ineqhu5] {
  margin: 0 0 0 0.5rem;
  display: inline-block;
  font-size: 0.75rem;
  color: var(--bs-secondary-color, #6c757d);
  white-space: nowrap;
}

/* Horizontal layout for input + helper text */
.reassessment-input-container[b-8v5ineqhu5] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
}

/* Column widths (fallbacks) */
.reassessment-table th:nth-child(1)[b-8v5ineqhu5],
.reassessment-table td:nth-child(1)[b-8v5ineqhu5] {
  width: 50%;
}

.reassessment-table th:nth-child(2)[b-8v5ineqhu5],
.reassessment-table td:nth-child(2)[b-8v5ineqhu5] {
  width: 20%;
}

.reassessment-table th:nth-child(3)[b-8v5ineqhu5],
.reassessment-table td:nth-child(3)[b-8v5ineqhu5] {
  width: 30%;
}

/* Prevent the last cell from forcing overflow; allow wrap within */
.reassessment-table td:last-child[b-8v5ineqhu5] {
  max-width: 220px;
  white-space: nowrap;
}

/* Responsiveness: relax nowrap on small screens */
@media (max-width: 576px) {
  .reassessment-table th[b-8v5ineqhu5],
  .reassessment-table td[b-8v5ineqhu5] {
    white-space: normal;
  }

  .reassessment-input-container[b-8v5ineqhu5] {
    gap: 0.375rem;
  }

  .reassessment-table .form-control[b-8v5ineqhu5] {
    width: 72px;
  }
}
/* /Components/Controls/TreatmentTechniqueRatingsComponent.razor.rz.scp.css */
.highlight-technique[b-obfnu5ve0u] {
	background-color: #fff3cd;
	transition: background-color 0.2s ease;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-2noye0uila] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-2noye0uila] {
    flex: 1;
}

.sidebar[b-2noye0uila] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-2noye0uila] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-2noye0uila]  a, .top-row[b-2noye0uila]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-2noye0uila]  a:hover, .top-row[b-2noye0uila]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-2noye0uila]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-2noye0uila] {
        justify-content: space-between;
    }

    .top-row[b-2noye0uila]  a, .top-row[b-2noye0uila]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-2noye0uila] {
        flex-direction: row;
    }

    .sidebar[b-2noye0uila] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-2noye0uila] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-2noye0uila]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-2noye0uila], article[b-2noye0uila] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-2noye0uila] {
    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-2noye0uila] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-2k0bcc3tj8] {
    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-2k0bcc3tj8] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-2k0bcc3tj8] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-2k0bcc3tj8] {
    font-size: 1.1rem;
}

.bi[b-2k0bcc3tj8] {
    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-2k0bcc3tj8] {
    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-2k0bcc3tj8] {
    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-2k0bcc3tj8] {
    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-2k0bcc3tj8] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-2k0bcc3tj8] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-2k0bcc3tj8] {
        padding-bottom: 1rem;
    }

    .nav-item[b-2k0bcc3tj8]  .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-2k0bcc3tj8]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-2k0bcc3tj8]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-2k0bcc3tj8] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-2k0bcc3tj8] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-2k0bcc3tj8] {
        display: none;
    }

    .nav-scrollable[b-2k0bcc3tj8] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Assessment.razor.rz.scp.css */
