body {
  font-family: sans-serif;
}

.link {
    color: #0b3ed6!important;
    text-decoration: underline;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #2c3e50;
  color: white;
}
.logo {
  font-size: 1.5em;
}
.logout a {
  color: white;
  text-decoration: none;
  font-size: 1.1em;
}
.form-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 25px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.articleHeader{
	color: #1111ff !important;
    font-size: 2em;
}

.articleContent {
    margin-bottom: 1em;
	margin-top: 1em;
    padding: 0.5em;
}

.articleSpan{
	display:block;
	width: fit-content;
}
p.breadcrumb {
    font-style: italic;
    font-size: 0.9em;
    background: #f0f8ff;
	line-height: 1.2em;
}
textarea.articleComment {
    width: 100%;
}
p.font-semibold.text-sm.text-gray-800 {
    font-size: 0.9em;
    font-weight: bold;
}

.articleClass{
	padding-top: 0.5em;
	cursor: pointer;
}

.articleClass: hover {
	background-color:#e5e7eb;
}

.form-group {
  margin-bottom: 10px;
}

main.container {
   /*margin-left: var(--sidebar-full-width);*/
}

label {
  display: block;
  margin-bottom: 5px;
  padding-right: 1em;
  width: 220px;
}


input[type="text"], input[type="email"], input[type="password"] , input[type="number"] {
  width: 100%;  
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.3em !important;
  font-size: 1em;
}

input[type="text"]::placeholder, 
input[type="email"]::placeholder, 
input[type="password"]::placeholder, 
input[type="number"]::placeholder {
    color: #ae9d9d !important;
    opacity: 1; /* Firefox requires this to show the full color */
}

select {
    width: 450px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.statusOrange{
	color:#ffa500;
	font-size: 1.8em!Important;
}
.statusGreen{
	color:#4CAF50;
	font-size: 1.8em!Important;
}

button {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
}

.error {
  color: red;
  margin-bottom: 15px;
}



body {
  font-size: .875rem;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */
nav#sidebarMenu {
    display: block ! Important;
}


:root {
		--sidebar-width: 230px;
		--navbar-height: 56px; /* Typical Bootstrap navbar height */
		--sidebar-min-width: 0px;
		--sidebar-full-width: 200px;
		--preview-width: 30vw; /* 30% of viewport width for large screens */
	}
	
	
		
	
	.nav {
		--bs-nav-link-padding-x: 0.5rem;
	}

	/* ------------------- Custom Sidebar CSS ------------------- */

	 .sidebar {
		position: fixed;
		top: var(--navbar-height);
		left: 0;
		bottom: 0;
		width: var(--sidebar-full-width);
		z-index: 1000;
		padding: 1rem 0;
		overflow-x: hidden;
		overflow-y: auto;
		
		transition: all 0.3s ease;
		transform: translateX(0);
		background-color: #083d68 !important;
	}
	
	/* Sidebar Item Styling */
	.sidebar .nav-link {
		display: flex;
		align-items: center;
		text-wrap: auto;
	}
	.sidebar .nav-link .icon {
		margin-right: 1rem;
		width: 20px; /* Standard icon size */
		text-align: center;
	}
	
	
	/* <main class="main-content"> uses display:contents so its margin is ignored; spacing lives on .main-content-inner */
	 .main-content {
			display: contents;
        }

		.main-content-inner {
            /*margin-top: var(--navbar-height);*/
            margin-left: var(--sidebar-full-width);
            padding: 1rem;
            transition: margin-left 0.3s ease;
            min-height: calc(100vh - var(--navbar-height));
			min-width: 0;
			box-sizing: border-box;
			width:100%;
        }
        
        /* New CSS for Preview Pane */
        .preview-pane {
            position: fixed;
            top: var(--navbar-height);
            right: 0;
            bottom: 0;
            width: 30%; /* 30% width as requested */
            max-width: 500px; /* Cap width for very large screens */
            background-color: #f9fafb; /* Light background */
            box-shadow: -4px 0 10px rgba(0,0,0,0.2);
            transform: translateX(100%); /* Start off-screen */
            transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            z-index: 50;
        }

        .preview-pane-open .preview-pane {
            transform: translateX(0); /* Slide into view */
        }
        
        .preview-pane-content {
            height: 100%;
            overflow-y: auto;
            position: relative; /* needed for the close button */
        }

        /* Mobile-specific changes */
        @media (max-width: 767px) {
           
            .sidebar-minimized .sidebar {
                transform: translateX(0); /* On mobile, we use minimize to open it */
                /*width: var(--sidebar-full-width);*/
            }
            .main-content-inner {
                margin-left: 0;
            }
            .preview-pane {
                width: 85%; /* Take up more space on small screens */
            }
        }
        /* Loading indicator for the preview */
        .preview-loading {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100%;
            color: #4f46e5;
        }
        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-left-color: #4f46e5;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
	
	a.article-preview-link {
		color: #1111ff;
		font-size: 1.3em;
		
	}
	
	span.text-gray-500 {
		font-size: 0.8em;
	}
	.articleActions{
		font-size: 0.9em;
	}
	
	h2 {
		font-weight: 600!important;
		margin-bottom: 0.5em;
		padding-top: 0.5em;
	}
	
	.articleHeaderLink{
		font-size: 1em;
		color: #0000ff;
		/*
		text-decoration: underline 1px #aaa;
		border: 1px solid #3F51B5;
		*/
		
		padding: 0.5em;
		
	}
	
	.articleHeaderLink.selected{
		font-weight: 600;	
		border-bottom: 4px solid #0f0fe7;
	}
	.articleHeaderLink:hover {		
		border-bottom: 4px solid #8c8c90;
		
	}
	
	.articleHeaderDiv{
		padding: 1em;
	}
	
	.pdpNote{
		font-style: italics;
	}
	.stickyButtons{
		position: fixed;
		bottom: 0;
		width: 100%;
	}
	
	button.close.btn.btn-primary {
		margin-left: 2em;
	}
	
	/* ------------------- Minimized State (Desktop) ------------------- */
	/* This class is now used to trigger the MINIMIZED state */
	.sidebar {
		width: var(--sidebar-full-width);
	}
	.sidebar-minimized .sidebar {
		width: var(--sidebar-min-width);
	}
	
	/* Hide text labels when minimized */
	.sidebar-minimized .nav-link span {
		display: none;
	}
	
	/* Push content only by the minimized width */
	.sidebar-minimized .main-content-inner {
		margin-left: var(--sidebar-min-width);
	}
	
	/* Tooltip behavior for minimized state */
	.sidebar-minimized .nav-link[title]:hover::after {
		content: attr(title);
		position: absolute;
		left: var(--sidebar-min-width);
		top: 50%;
		transform: translateY(-50%);
		background: rgba(0, 0, 0, 0.8);
		color: white;
		padding: 0.3rem 0.5rem;
		border-radius: 0.25rem;
		z-index: 2000;
	}
	
	/* ------------------- Mobile State (< 768px) ------------------- */
	@media (max-width: 767.98px) {
		/* On mobile, the minimized class means the sidebar is HIDDEN */
		.sidebar-minimized .sidebar {
			/*transform: translateX(calc(-1 * var(--sidebar-full-width)));
			width: var(--sidebar-full-width); /* Full width when opened */
		}
		
		/* Main content always takes full width on mobile */
		.main-content-inner {
			margin-left: 0;
		}
		
		/* Show text labels again if the sidebar is open on mobile */
		.sidebar-minimized .nav-link span {
			display: initial;
		}
	}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #fff;
  font-size: 1rem;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}
a.nav-link {
    color: #a5a2a2;;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/*
 * Utilities
 */

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }



body {
  min-height: 75rem;
  padding-top: 3rem;
}
.form-inline{display: inline-flex;}

.navbar{
	max-height: 4em;
	display: flow;
}

p.text-xs.italics {
    font-style: italic;
    font-size: 0.9em;
}


.bg-white.shadow-lg {
    padding-left: 1em;
}

form.form-inline.mt-2.mt-md-0 {	
    vertical-align: middle;
}

.articleBoard{
	display: flow;
	padding-left: 0.5em;
    background-color: #fff;
	margin-top: 0.5em;
    
}

.bgblue{
	background-color: #e8f3fb;
	padding-left: 1em;
}

.bg-deleted-200 {
    background-color: #607D8B;
	font-size: 0.9em;
    font-weight: 100;
    font-style: italic;
	margin-right: 0.2em;
}

.bg-pending-200 {
    background-color: #FFEB3B;
	font-size: 0.9em;
    font-weight: 100;
    font-style: italic;
	margin-right: 0.2em;
}

.bg-gray-200 {
    background-color: #ccc;
	font-size: 0.9em;
    font-weight: 100;
    font-style: italic;
	margin-right: 0.2em;
}
.bg-green-100 {
	background-color: #11ff11;
    font-size: 0.9em;
    font-weight: 100;
    font-style: italic;
	margin-right: 0.2em;
}

p.km_header {
    text-align: center;
    font-size: 2em;
    color: #fff;    
    font-weight: bolder;	
}

.successTxt {
    color: #1b7e1b;
}

.fade-container{
	max-height: 200px; /* Set the maximum height */
	overflow-y: hidden; /* Enable vertical scrolling if content exceeds max-height */
	mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%); /* Create the fade effect */
	-webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%); /* For Webkit browsers */
	padding-bottom: 20px;
}

.mr-auto, .mx-auto {
    margin-right: auto !important;/**/
	padding-left: 1em;
}
.block {
    width: auto;
}

.ml-sm-auto, .mx-sm-auto {
    margin-left: auto !important;
	display: inline;	
}
.divsearch {
    float: right;
    display: inline-flex;
}
input.form-control.mr-sm-2 {
    max-height: 2em;
}
button.btn.btn-outline-primary.my-2.my-sm-0 {
    margin-left: 0.5em;
	margin-right: 0.5em;	
    max-height: 2em;
    line-height: 1em;
}
.rightstuff{
	    float: right;
    display: inline-flex;
	    vertical-align: middle;

}

.custom-select {
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url(data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E) no-repeat right .75rem center;
    background-size: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.dateDiv{
	/*max-width: 300px;*/
	padding-right: 1em;
	/*margin: auto;*/
}
input[disabled] {
  background-color: #e9ecef !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.img-thumbnail {
  border: 1px solid #ccc;
  padding: 4px;
  margin-top: 10px;
  max-height: 200px;
  object-fit: contain;
}
.table>:not(caption)>*>* {
    padding: 0.1rem 0.3rem;
}
.table>thead {
    height: 2em;
}
table {    margin-top: 0.5rem;  width: 100%;}
.searchObjDiv{     display: inline-block; width: 100%;}

.subnav{ font-size: 1.5em; }
.subnavactive{font-weight:bold;}
a.p-2.text-muted { color:#0011ee!important; border-right: 2px solid #7c8083;}
a.p-2.text-muted:last-child { border-right: none;}
.nav-tabs{margin-bottom:1em;    font-size: 1.5em;}
input, input[type="text"], input[type="email"], input[type="password"] {    
    max-width: 450px;
}
.form-select { max-width: 450px; }
textarea#description {max-width: 450px;}
.custom-select{max-width: 450px;}
.myform2elems{ display: inline-flex;
    margin-top: 1em;	
	margin-left: 11em;
}
.nav-tabs .nav-link.active{font-weight:bold;}
.actioncell{ padding-left: 1em!important;display: contents;}
.fa:hover{font-weight:bold;cursor:pointer;}

.mainpagehead{     display: block;}

#showsearchresults {
	max-height: 300px;
	overflow-y: auto;
	margin-top: 10px;
	width: fit-content;
	/*width: 300px;*/
}
button.btn.btn-sm.btn-success.enrol-btn {
    margin-left: 1em;
}

th {
    background-color: #083d68 !important;
    color: #eeeeee !important;
	text-align: center;
    vertical-align: middle;
}

td.inactive{
	color: #6c757d !important;
}


.table>tbody {
    ertical-align: inherit;
    font-size: 0.9rem;
    font-weight: 100;
}
.col-md-4{
	display: inline-flex;
}
.dashboardCard {
    /* min-width: 170px; */
    width: 200px;
    margin-right: 1em;
}



.hidden { display: none;}
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5); /* dim background */
	z-index: 2; /* behind form */
}

  .form-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* in front of overlay */
  }

  .form-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 400px;
  }
.form-group {    
    width: 100%;
	display: inline-flex;
	line-height: 1.7em;
}

}
.activityIcon{font-size: 1.4em !important;margin-right:0.2em;}
a.accordion-button.collapsed {color: #052c65;}
.editingIcons{font-size: 0.9em;float: right; display: grid;}



.editmode-switch-form {
    padding: 8px 4px;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .26), 0 14px 44px 0 rgba(0, 0, 0, .2);
    position: fixed;
    right: 20px;
    bottom: 10px;
    height: 40px;
    z-index: 10001;
    transition: all 0.2s ease-in-out;
}

.custom-control {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 30px;
    min-height: 16px;
    line-height: 21px;
    
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.editmode-switch-form .custom-control-input {
    z-index: 1;
}
.custom-switch .custom-control-input {
    width: 35px;
    height: 20px;
}
input[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
}
.custom-control-input {
    position: absolute;
    left: 0;
}
.custom-switch.custom-control--xs {
    padding-left: 37px;
}
input {
    overflow: visible;
}


/*style="position: relative;z-index: 3 !important;padding: 1em;transform: translateY(-100%);"*/

.btnExtra {
   background: #198754;
}

.divInfo{
	padding: 1em;
    background-color: #c0dcfe;
    border: solid;
    border-radius: 5px;
    border-color: #ccc;
    border-width: 1;
    margin-bottom: 1em;
	font-style: italic;
    font-weight: 100;
    font-size: 0.9em;
}

.pill-btn {
    background-color: #07a;
    border: none;
    color: #ffffff;
    padding: 2px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 16px;
    font-size: 0.9em;
}
.pill-btn.persona{
	background-color: #36af85;
}

.pill-btn:hover {
  background-color: #07075d;
}

.pill-btn.selected {
    background-color: #198754; 
}

.popupform{
	display:none;
	z-index: 3;
	background-color: #fff;
	position: fixed;         /* Sticks to the viewport */
	top: 33vh;               /* 1/3 from top of viewport */
	left: 20%;               /* center horizontally */	
	width: 85%;
	padding: 1em;
}

.popupform {
    z-index: 3;
    background-color: #fff;
    position: fixed;
    top: 10vh;
    left: auto;
    width: 80%;
    padding: 1em;
    overflow: scroll;
	max-height: 90%;
}
label {
    color: #03409b;
}


.info-container {
  position: relative;
  display: inline-block; 
  margin-left: 1em;
  margin-top:0.5em;
}
.info-icon {
	cursor: pointer; 
	font-size: 1.2em;
	color: #5692db;
}

.popup-message {
  display: none;
  position: absolute; 
  background-color: #c9e6e3;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 3; /* Ensure it appears above other elements */
  bottom: 120%; /* Position above the icon by default */
  left: 50%;
  transform: translateX(-50%); /* Center horizontally */
  /*white-space: nowrap; /* Prevent text wrapping if desired */
  width: 500px;
}

.dashboardCard {
    /*min-width: 170px;*/
    width: 200px;
    margin-right: 1em;
}

.card.mb-4.box-shadow {
    height: 260px;
    /*margin: 0.5em; */
	width: 200px;
}
.dashboard-block-wrap.mb-3 {
  width: 100%;
  max-width: 600px;
}

.card.mb-4.box-shadow:hover {
    background-color:#d2eeff;
}



img.card-img-top.dashboard {
    height: 100px;
    display: block;
    min-height: 100px;
    min-width: 190px;
	
}

img.card-img-top.courseview {
    height: 40px;   
	width:40px;
	margin-right:1em;
	display: block;
}
.dashboardMain{
	display: inline-flex;
}




  .progress-circle svg {
   
  }

  .progress-circle circle {
    fill: none;
    stroke-width: 3;
    cx: 15;
    cy: 15;
    r: 12;
  }

  .progress-circle .bg {
    stroke: #555;
  }

  .progress-circle .fg {
    stroke: #4caf50;
    stroke-linecap: round;
    stroke-dasharray: 75.4; /* 2 * π * 12 */
    stroke-dashoffset: 75.4;
    transition: stroke-dashoffset 0.6s ease;
  }

  .progress-circle text {
    font-family: sans-serif;
    dominant-baseline: middle;
  }
  
  .progress-ring {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: conic-gradient(#4caf50 0%, #eee 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    color: #333;
    position: relative;
  }

  .progress-label {
    position: absolute;
    z-index: 1;
  }


  

.courseIndicator {
    display: flex;
    float: right;
	width: 50px;
    margin-left: 15px;
}


p.card-text {
    text-transform: capitalize;
}
small.text-muted {
    display: flow;
}

p.card-text.dashboard {
    text-transform: capitalize;
    height: 5em;
    overflow: hidden;
	line-height: 1.1em;
}

.announcementsRow{	
    overflow: scroll;	
    max-height: 300px;
}

.labelContainer{
	width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
	padding-top:2em;
	padding-bottom:2em;
}

.progress-container {
    background-color: #eee;
    border-radius: 8px;
    height: 16px;
    width: 100%;
    overflow: hidden;
  }

  .progress-bar {
    height: 100%;
    background-color: #3b82f6; /* modern blue */
    width: 0;
    transition: width 0.5s ease-in-out;
  }

.bodyInContent{
	overflow-y: clip;
}



.logo-img{
	height:50px;
}

.logo-link {
	position: fixed;
	left: 50px;
}

.header-tenant-brand {
	position: fixed;
	left: 50px;
	display: inline-block;
	max-width: min(42vw, 240px);
	padding: 0.15rem 0;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.header-tenant-brand:hover,
.header-tenant-brand:focus {
	color: #fff;
	opacity: 0.92;
	text-decoration: none;
}

.my-3 {
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
}

.navbar {
	font-family: Helvetica;
    background-color: #fff;
	border-bottom: 2px solid #555; /* Adjust '2px' for thickness and 'black' for color */
	padding-bottom: 10px;
}

ol.breadcrumb {
    font-size: 0.9em;
}

.text-sm.mb-4.breadcrumb {
    margin-top: 1.2em !important;
    margin: 0px;
    padding: 0px;
    margin-bottom: 0rem !important;
}

a.text-blue-600.hover\:underline {
    margin-left: 5px;
    margin-right: 5px;
}

.nav-tabs .nav-link {
    font-size: 1rem;
}

.profileHeader{
	margin-right:1em;
	display: contents;
}
.profileHeaderName{display: contents;}

a#headDpdown {
	color:#222;
}

li.nav-item.dropdown {
    /* max-height: 50px; */
    display: contents;
}


.dropdownManuHeader{
    padding: 1em;
}

.form-container.loginpage {
    max-width: 800px;
    width: 100%;
}

/* Auth pages (signup, etc.) */
body.auth-page .main-content {
    margin-left: 0 !important;
    max-width: 100%;
}

body.auth-page .main-content-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 56px);
    padding: 2rem 1rem;
}

.auth-shell {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-layout-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: #f4f7fb;
}

body.auth-page {
    background: #f4f7fb;
}

/* Tenant owner dashboard welcome */
.tenant-owner-welcome {
    margin-bottom: 0.75rem;
}

.tenant-owner-welcome__inner {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.tenant-owner-welcome__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.tenant-owner-welcome__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.tenant-owner-welcome__lead {
    margin: 0;
    max-width: 42rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475569;
}

.tenant-owner-welcome__capabilities {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

@media (min-width: 768px) {
    .tenant-owner-welcome__capabilities {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tenant-owner-capability {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.15rem 0.65rem;
    align-items: start;
    padding: 0.85rem 0.9rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 0.75rem;
}

.tenant-owner-capability__icon {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: rgba(13, 110, 253, 0.08);
    color: var(--bs-primary, #0d6efd);
    font-size: 0.875rem;
}

.tenant-owner-capability strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
}

.tenant-owner-capability span {
    display: block;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #64748b;
}

.tenant-owner-capability__link {
    grid-column: 2;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-primary, #0d6efd);
    text-decoration: none;
}

.tenant-owner-capability__link:hover {
    text-decoration: underline;
}

.tenant-portal-share {
    margin-top: 1.15rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.tenant-portal-share__label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.tenant-portal-share__row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.5rem;
}

.tenant-portal-share__url {
    flex: 1 1 12rem;
    min-width: 0;
    margin: 0;
    padding: 0.55rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tenant-portal-share__copy {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.tenant-portal-share__copy:hover {
    background: #f8fafc;
    border-color: rgba(13, 110, 253, 0.35);
}

.tenant-portal-share__copy--done {
    color: #15803d;
    border-color: rgba(21, 128, 61, 0.35);
    background: #f0fdf4;
}

.tenant-portal-share__hint {
    margin: 0.45rem 0 0;
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Admin page intro cards */
.admin-page-intro {
    margin-bottom: 1rem;
}

.admin-page-intro__inner {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.75rem;
    padding: 1rem 1.15rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.admin-page-intro__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.admin-page-intro__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #475569;
}

.admin-page-intro__text strong {
    font-weight: 600;
    color: #0f172a;
}

.admin-page-intro__note {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0.65rem 0 0;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
}

.admin-page-intro__note .fa {
    margin-top: 0.15rem;
    color: var(--bs-primary, #0d6efd);
    flex-shrink: 0;
}

.auth-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 12px 40px rgba(8, 61, 104, 0.12);
    border: 1px solid rgba(8, 61, 104, 0.08);
    padding: 2rem 2rem 1.75rem;
}

.auth-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bs-primary, #0d6efd);
}

.auth-title {
    font-weight: 700;
    color: #083d68;
}

.auth-subtitle {
    font-size: 0.95rem;
}

.auth-footer a {
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.tenant-admin-dashboard .application-card {
    border-left: 4px solid var(--bs-primary, #0d6efd);
}

.tenant-admin-dashboard .upgrade-success-banner {
    border: 1px solid rgba(25, 135, 84, 0.35);
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #ecfdf3 0%, #d1fae5 45%, #f0fdf4 100%);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
    overflow: hidden;
    position: relative;
}

.tenant-admin-dashboard .upgrade-success-banner::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #10b981, #059669);
}

.tenant-admin-dashboard .upgrade-success-banner__inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.25rem 1.15rem 1.35rem;
}

.tenant-admin-dashboard .upgrade-success-banner__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #047857;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15);
}

.tenant-admin-dashboard .upgrade-success-banner__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #059669;
}

.tenant-admin-dashboard .upgrade-success-banner__title {
    color: #064e3b;
    font-weight: 700;
}

.tenant-admin-dashboard .upgrade-success-banner__text {
    color: #065f46;
    font-size: 0.95rem;
}

.tenant-admin-dashboard .upgrade-success-banner__close {
    margin-left: auto;
    flex-shrink: 0;
}

.tenant-admin-dashboard .subscription-billing {
    margin-top: 0.25rem;
}

.tenant-admin-dashboard .pricing-tier-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.tenant-admin-dashboard .pricing-tier-card--free {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.tenant-admin-dashboard .pricing-tier-card--starter {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
}

.tenant-admin-dashboard .pricing-tier-card--professional {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
}

.tenant-admin-dashboard .pricing-tier-card--business {
    background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
}

.tenant-admin-dashboard .pricing-tier-card--enterprise {
    background: linear-gradient(180deg, #fdf4ff 0%, #fae8ff 100%);
}

.tenant-admin-dashboard .pricing-tier-card:hover {
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(15, 23, 42, 0.12);
}

.tenant-admin-dashboard .pricing-tier-card--current {
    border-color: rgba(13, 110, 253, 0.4);
    box-shadow: 0 0.25rem 1rem rgba(13, 110, 253, 0.14) !important;
}

.tenant-admin-dashboard .pricing-tier-card__limits li + li {
    margin-top: 0.35rem;
}

.tenant-admin-dashboard .pricing-tier-card__price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.tenant-admin-dashboard .pricing-tier-card__price-row:last-of-type {
    border-bottom: none;
}

.tenant-admin-dashboard .pricing-tier-card__config .form-select {
    border-color: rgba(0, 0, 0, 0.12);
}

@media (min-width: 1200px) {
    .tenant-admin-dashboard .pricing-matrix {
        flex-wrap: nowrap;
    }
}

/* Billing management — slate-800 panel design */
.billing-management {
    --billing-slate-900: #0f172a;
    --billing-slate-800: #1e293b;
    --billing-slate-700: #334155;
    --billing-slate-400: #94a3b8;
    --billing-accent: #38bdf8;
}

.billing-management__eyebrow {
    color: var(--billing-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.billing-management__title {
    color: var(--billing-slate-900);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.billing-management__subtitle {
    color: var(--billing-slate-700);
    font-size: 0.95rem;
}

.billing-metric-card,
.billing-panel {
    background: var(--billing-slate-800);
    border-radius: 0.75rem;
    padding: 1.25rem 1.35rem;
    color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.billing-panel--warning {
    background: linear-gradient(135deg, #422006 0%, #1e293b 55%);
    border-color: rgba(251, 191, 36, 0.35);
}

.billing-metric-card__label,
.billing-panel__label {
    color: var(--billing-slate-400);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.billing-metric-card__value,
.billing-panel__value {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

.billing-metric-card__hint,
.billing-panel__hint {
    color: var(--billing-slate-400);
    font-size: 0.8rem;
    margin-bottom: 0;
}

.billing-panel__heading {
    color: #f8fafc;
    font-weight: 600;
}

.billing-panel__badge {
    background: rgba(56, 189, 248, 0.2);
    color: #7dd3fc;
    font-weight: 600;
}

.billing-panel__input {
    background: var(--billing-slate-900);
    border-color: var(--billing-slate-700);
    color: #f8fafc;
}

.billing-panel__input:focus {
    background: var(--billing-slate-900);
    border-color: var(--billing-accent);
    color: #f8fafc;
    box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.25);
}

.billing-management__link-btn {
    border-color: var(--billing-slate-700);
    color: var(--billing-slate-800);
    background: #f8fafc;
}

.billing-ledger-wrap {
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--billing-slate-700);
}

.billing-ledger-table {
    color: #e2e8f0;
    margin-bottom: 0;
    --bs-table-bg: transparent;
    --bs-table-color: #e2e8f0;
    --bs-table-border-color: var(--billing-slate-700);
}

.billing-ledger-table thead th {
    background: var(--billing-slate-900);
    color: var(--billing-slate-400);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom-width: 1px;
    padding: 0.75rem 1rem;
}

.billing-ledger-table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-color: var(--billing-slate-700);
}

.billing-ledger-table tbody tr:hover {
    background: rgba(51, 65, 85, 0.45);
}

.billing-ledger-table__pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.billing-ledger-table__pill--upgrade,
.billing-ledger-table__pill--payment {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.billing-ledger-table__pill--downgrade_scheduled {
    background: rgba(251, 191, 36, 0.2);
    color: #fde047;
}

.billing-ledger-table__pill--downgrade_applied {
    background: rgba(148, 163, 184, 0.25);
    color: #cbd5e1;
}

.billing-ledger-table__pill--downgrade_cancelled {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

.loginPageBox{
	display: flex; gap: 20px; align-items: stretch;
}
.loginPageInner{
	flex: 1; border: 1px solid #ccc; padding: 20px;
}
td {
    border-color: #e1d6d6;
    border-style: solid;
    border-width: 1px;
    padding: 0.5em;
}

.articleTumbnail{
	width: 80px;
    display: inline-block;
    padding: 5px;
}

.articleClass{
	cursor: pointer;
}

.articleClass:hover{
	cursor: pointer;
	background-color: #f3eeeeb8;
}

thead {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    background-color: #083d68;
    color: #fff;
}







#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    backdrop-filter: blur(5px);           /* Modern blur effect */
    z-index: 9999;                        /* Stay on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
    font-family: sans-serif;
}

/* A simple CSS Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db; /* Your brand color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


a#headDpdown {
    display: flex;
    line-height: 4em;    
}

.mt-2.flex.items-center.space-x-2.text-sm {
    display: inline-flex;
	margin-right: 1em;
}

.articleTumbnail {
    display: none;
}

.divArticleList{
	display: flex;
}

span.pill-btn {
    margin: 2px 2px;
    background-color: #fff;
    color: #1111ee;
    padding: 0px;
    padding-left: 0.2em;
	border-left: 1px solid #ccc;
	border-radius:0px;
}

.list-tags{
	margin: 2px 2px;
    background-color: #fff;
    color: #1111ee;
    padding: 0px;
    padding-left: 0.2em;
	border-left: 1px solid #ccc;
	border-radius:0px;
}

.list-tags:hover{
	font-weight:bold;
}

.searchLink{
	color: #1111ff;
    font-size: 0.9em;
    font-style: italic;
    display: flex;
}




/* Modern Dashboard Styling */
.dashboard-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-img-top {
    height: 160px;
    object-fit: cover;
}

.border-left-primary {
    border-left: 4px solid #5d778f !important;
}

.rich-content img {
    max-width: 100%; /* Prevents large images in notices from breaking layout */
    height: auto;
}

.progress {
    background-color: #e9ecef;
    border-radius: 10px;
}





.notice-body iframe {
    width: 100%;
    height: 315px; /* Default height */
    border-radius: 8px;
    margin: 10px 0;
}


/* Container for the video notice */
.video-thumbnail-container {
    width: 300px; /* Initial Thumbnail Width */
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: #000;
}

/* When the video has a class of 'expanded' 
.video-thumbnail-container.expanded {
    width: 100%; 
    max-width: 800px;
}

.video-thumbnail-container video {
    width: 100%;
    display: block;
}
/**/



.video-thumbnail-container {
    position: relative;
}

.video-thumbnail-container::after {
    content: '\f04b'; /* FontAwesome Play Icon */
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0.7;
    pointer-events: none; /* Allows clicks to pass through to the video */
    transition: opacity 0.3s;
}

/* Hide play icon when expanded or playing */
.video-thumbnail-container.expanded::after {
    opacity: 0;
}










@media (max-width: 600px) {
    .notice-body iframe {
        height: 200px;
    }
}




@media (max-width: 1170px) {
    aside.col-md-3.blog-sidebar {
		display: contents;
	}
}


@media (max-width: 500px) {
    .myform2elems {
		display: inline-block;
		margin-left: 0em;		
	}
	
	.divsearch {		
		display: none;
	}
	.navbar {
		max-height: 5em;		
	}
	.form-group {    
		display: inline-block !important;
	}
	.myform2elems{ 
		width: 100%;
	}
	.dateDiv{
		margin: auto;
		margin-bottom: 1em;		    
	}
	.popup-message {   
		transform: translateX(-5%);
		width: 300px; 
		white-space: normal;
	}
	.dashboardMain{
		display: contents;
	}
	.dashboardCard {
        width: 96%;
        margin: 0.5em;
		display: block;
		margin-left: 0.5em;
    }
	img.card-img-top.dashboard {
		display: block;
		min-height: auto;
		min-width: 190px;
		width: 100%;		
	}
	.profileHeaderName{display:none;}
	
	.loginPageBox {
		display: block;
		margin-bottom: 1em;
			
	}
	.loginPageInner {
		margin-bottom: 1em;
	}

}

/* Dashboard layout: calendar block — course-coloured event dots */
.dashboard-cal-event-dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
	vertical-align: middle;
}
.dashboard-cal-event-dot:hover {
	filter: brightness(1.12);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(13, 110, 253, 0.35);
}
.dashboard-cal-event-dot:focus-visible {
	outline: 2px solid var(--bs-primary, #0d6efd);
	outline-offset: 2px;
}
.dashboard-cal-event-row {
	min-height: 1.1rem;
}

/* Dashboard sidebar blocks — collapsible accordion header */
.dashboard-block-accordion,
.dashboard-calendar-accordion {
	--dashboard-block-header-bg: #3d6670;
	border-radius: 0.375rem;
	overflow: hidden;
}
.dashboard-block-accordion .accordion-item,
.dashboard-calendar-accordion .accordion-item {
	background: #fff;
}
.dashboard-block-accordion__toggle,
.dashboard-calendar-accordion__toggle {
	background-color: var(--dashboard-block-header-bg) !important;
	color: #fff !important;
	font-weight: 600;
	font-size: 1rem;
	padding: 0.75rem 1rem;
	border: none;
	border-radius: 0.375rem 0.375rem 0 0;
	box-shadow: none !important;
}
.dashboard-block-accordion__toggle:not(.collapsed),
.dashboard-calendar-accordion__toggle:not(.collapsed) {
	border-radius: 0.375rem 0.375rem 0 0;
}
.dashboard-block-accordion__toggle.collapsed,
.dashboard-calendar-accordion__toggle.collapsed {
	border-radius: 0.375rem;
}
.dashboard-block-accordion__toggle::after,
.dashboard-calendar-accordion__toggle::after {
	filter: brightness(0) invert(1);
	opacity: 0.95;
}
.dashboard-block-accordion__toggle:focus,
.dashboard-calendar-accordion__toggle:focus {
	box-shadow: 0 0 0 0.2rem rgba(61, 102, 112, 0.35) !important;
	border-color: transparent;
}
.dashboard-block-accordion__title,
.dashboard-calendar-accordion__title {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.dashboard-block-accordion__title .fa,
.dashboard-calendar-accordion__title .fa {
	font-size: 1.05rem;
	opacity: 0.95;
}
.dashboard-block-accordion__body--calendar,
.dashboard-calendar-accordion__body {
	padding: 1rem 1rem 1.25rem;
}
.dashboard-block-accordion .accordion-collapse,
.dashboard-calendar-accordion .accordion-collapse {
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-top: none;
	border-radius: 0 0 0.375rem 0.375rem;
}
.blog-sidebar .dashboard-block-wrap:last-child .dashboard-block-accordion {
	margin-bottom: 0;
}

/* Dashboard — current / historic courses & programs tabs */
.dashboard-enrolment-tabs-wrap {
	width: 100%;
	margin-bottom: 1rem;
}
.dashboard-enrolment-tabs {
	display: flex;
	align-items: flex-end;
	gap: 2rem;
	border-bottom: 1px solid #dee2e6;
	margin-bottom: 1.25rem;
	padding: 0;
}
.dashboard-enrolment-tabs__tab {
	appearance: none;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	margin: 0 0 -1px;
	padding: 0.5rem 0 0.65rem;
	font-size: 1rem;
	font-weight: 500;
	color: #6c757d;
	cursor: pointer;
	line-height: 1.3;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.dashboard-enrolment-tabs__tab:hover {
	color: #212529;
}
.dashboard-enrolment-tabs__tab.is-active {
	color: #212529;
	font-weight: 700;
	border-bottom-color: #5b9bd5;
}
.dashboard-enrolment-tabs__tab:focus-visible {
	outline: 2px solid #5b9bd5;
	outline-offset: 2px;
}
.dashboard-enrolment-tabs__count {
	font-weight: inherit;
	color: inherit;
}
.dashboard-enrolment-panel {
	width: 100%;
}
.dashboard-enrolment-cards.row {
	display: flex;
	flex-wrap: wrap;
	margin-right: 0;
	margin-left: 0;
}
.dashboard-historic-list__item {
	border-bottom: 1px solid #eee;
}
.dashboard-historic-list__item:last-child {
	border-bottom: none;
}
.dashboard-historic-list__link {
	display: block;
	padding: 0.75rem 0;
	text-decoration: none;
	color: inherit;
}
.dashboard-historic-list__link:hover {
	background-color: #f8f9fa;
	text-decoration: none;
}
.dashboard-historic-list__name {
	display: block;
	font-weight: 600;
	color: #212529;
}
.dashboard-historic-list__meta {
	display: block;
	font-size: 0.875rem;
	margin-top: 0.15rem;
}

.text-truncate{
	font-weight: bold;
	color:#0000ff;
}

/* Course learner subnav: icon + label, underline active (matches course UI mock) */
.course-subnav {
	border-bottom: 1px solid #dee2e6;
}
.course-subnav-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1.75rem;
}
.course-subnav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0 0.65rem;
	color: #495057;
	text-decoration: none;
	font-weight: 500;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.course-subnav-link i {
	opacity: 0.85;
	font-size: 1rem;
}
.course-subnav-link:hover {
	color: #212529;
	text-decoration: none;
}
.course-subnav-link:focus-visible {
	outline: 2px solid #0d6efd;
	outline-offset: 2px;
}
.course-subnav-link.is-active {
	color: #212529;
	border-bottom-color: #495057;
}

/* Softer accordion section headers (less “tab button”) on course view */
#accordionExample .accordion-button {
	background-color: #fff;
	color: #495057;
	font-weight: 500;
	box-shadow: none;
}
#accordionExample .accordion-button:not(.collapsed) {
	background-color: #fff;
	color: #212529;
	box-shadow: none;
}
#accordionExample .accordion-button:focus {
	box-shadow: none;
	border-color: rgba(0, 0, 0, 0.08);
}

button.btn.btn-outline-light.btn-sm.py-1.px-2 {
    color: #111;
}


a#headDpdown {
    background-color: #5d778f;
}

i.fa.fa-sign-out {
    /* background-color: #5d778f; */
    color: #5d778f;
}

element {
}

@media (min-width: 576px) {
  .ms-sm-auto {
    margin-left: 0px!important;
  };
  }
}

/* Super Admin operator dashboard — dark slate-900 console */
.operator-dashboard-page {
    background: #0f172a;
    color: #e2e8f0;
}

.operator-dashboard-page .sidebar {
    background: #1e293b !important;
    border-right: 1px solid #334155;
}

.operator-dashboard-page .sidebar .nav-link {
    color: #cbd5e1;
}

.operator-dashboard-page .sidebar .nav-link.active,
.operator-dashboard-page .sidebar .nav-link:hover {
    color: #f8fafc;
    background: rgba(56, 189, 248, 0.12);
}

.operator-dashboard {
    --operator-slate-900: #0f172a;
    --operator-slate-800: #1e293b;
    --operator-slate-700: #334155;
    --operator-slate-400: #94a3b8;
    --operator-accent: #38bdf8;
    --operator-text: #f8fafc;
    --operator-muted: #94a3b8;
}

.operator-dashboard__eyebrow {
    color: var(--operator-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.operator-dashboard__title {
    color: var(--operator-text);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.operator-dashboard__subtitle,
.operator-dashboard__meta {
    color: var(--operator-muted);
    font-size: 0.95rem;
}

.operator-dashboard__meta {
    font-size: 0.8rem;
}

.operator-dashboard__alert {
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(127, 29, 29, 0.35);
    color: #fecaca;
}

.operator-metric-card,
.operator-panel {
    background: var(--operator-slate-800);
    border-radius: 0.75rem;
    padding: 1.25rem 1.35rem;
    color: var(--operator-text);
    border: 1px solid var(--operator-slate-700);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.35);
}

.operator-metric-card__label,
.operator-panel__hint {
    color: var(--operator-muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.operator-metric-card__value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    line-height: 1.15;
    color: var(--operator-text);
}

.operator-metric-card__hint {
    color: var(--operator-muted);
    font-size: 0.8rem;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.operator-panel__heading {
    color: var(--operator-text);
    font-weight: 600;
}

.operator-table-wrap {
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--operator-slate-700);
}

.operator-table {
    color: #e2e8f0;
    margin-bottom: 0;
    --bs-table-bg: transparent;
    --bs-table-color: #e2e8f0;
    --bs-table-border-color: var(--operator-slate-700);
    --bs-table-hover-bg: rgba(51, 65, 85, 0.45);
}

.operator-table thead th {
    background: var(--operator-slate-900);
    color: var(--operator-muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--operator-slate-700);
    padding: 0.85rem 1rem;
}

.operator-table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-color: var(--operator-slate-700);
}

.operator-table__org {
    display: block;
    font-weight: 600;
    color: var(--operator-text);
}

.operator-table__id {
    display: block;
    font-size: 0.75rem;
    color: var(--operator-muted);
    margin-top: 0.1rem;
}

.operator-table__slug {
    color: var(--operator-accent);
    text-decoration: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
}

.operator-table__slug:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

.operator-table__metric {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--operator-text);
}

.operator-table__muted,
.operator-table__empty {
    color: var(--operator-muted);
}

.operator-pill {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
    white-space: nowrap;
}

.operator-pill--sandbox {
    background: rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.45);
}

.operator-pill--pro {
    background: rgba(56, 189, 248, 0.2);
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.55);
}

.operator-pill--flex {
    background: rgba(167, 139, 250, 0.22);
    color: #ddd6fe;
    border-color: rgba(167, 139, 250, 0.55);
}

/* SIS admin */
.sis-admin__eyebrow {
    color: #0ea5e9;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sis-pill {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
    white-space: nowrap;
}

.sis-pill--approved {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
    border-color: rgba(34, 197, 94, 0.45);
}

.sis-pill--pending {
    background: rgba(56, 189, 248, 0.18);
    color: #0369a1;
    border-color: rgba(56, 189, 248, 0.45);
}

.sis-pill--rejected {
    background: rgba(248, 113, 113, 0.15);
    color: #b91c1c;
    border-color: rgba(248, 113, 113, 0.45);
}

.sis-pill--draft {
    background: rgba(148, 163, 184, 0.18);
    color: #475569;
    border-color: rgba(148, 163, 184, 0.45);
}

.sis-package-card {
    border-color: #e2e8f0;
}

/* Tenant subscriptions accordion */
.subscription-accordion__item {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.subscription-accordion__item--current {
    border-color: rgba(13, 110, 253, 0.35);
    box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.12);
}

.subscription-accordion__summary {
    padding: 0;
}

.subscription-accordion__summary:not(.collapsed) {
    background: #f8fafc;
    box-shadow: none;
}

.subscription-accordion__summary-grid {
    display: grid;
    grid-template-columns: minmax(140px, 1.4fr) repeat(3, minmax(72px, 0.8fr)) minmax(110px, auto);
    gap: 0.75rem 1rem;
    align-items: center;
    width: 100%;
    padding-right: 0.5rem;
}

.subscription-accordion__name {
    font-weight: 600;
    color: #0f172a;
}

.subscription-accordion__metric {
    font-size: 0.85rem;
    white-space: nowrap;
}

.subscription-accordion__metric .text-muted {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.subscription-accordion__action {
    justify-self: end;
}

.subscription-accordion__details {
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.subscription-usage-chip .card-body {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.tenant-app-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.tenant-app-card--active {
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
}

@media (max-width: 992px) {
    .subscription-accordion__summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .subscription-accordion__name {
        grid-column: 1 / -1;
    }

    .subscription-accordion__action {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* SIS programme form — slate split-pane management layout */
body.sis-programme-form-page {
    background: #020617;
}

body.sis-programme-form-page .main-content,
body.sis-programme-form-page .main-content-inner {
    background: #020617;
}

.sis-programme-form {
    --spf-canvas: #020617;
    --spf-card: #0f172a;
    --spf-border: #1e293b;
    --spf-muted: #94a3b8;
    --spf-text: #e2e8f0;
    --spf-accent: #38bdf8;
    color: var(--spf-text);
    padding: 1.25rem 0 2rem;
}

.sis-programme-form__header {
    margin-bottom: 1.5rem;
}

.sis-programme-form__back {
    color: var(--spf-muted);
    font-size: 0.875rem;
    text-decoration: none;
}

.sis-programme-form__back:hover {
    color: var(--spf-text);
}

.sis-programme-form__eyebrow {
    margin: 0.75rem 0 0.25rem;
    color: var(--spf-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sis-programme-form__title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #f8fafc;
}

.sis-programme-form__subtitle {
    margin: 0.5rem 0 0;
    color: var(--spf-muted);
    font-size: 0.95rem;
}

.sis-programme-form__alert {
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--spf-border);
}

.sis-programme-form__alert--error {
    background: rgba(127, 29, 29, 0.25);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

.sis-programme-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .sis-programme-form__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sis-programme-form__main,
    .lg-col-span-2 {
        grid-column: span 2 / span 2;
    }
}

.sis-programme-form__main,
.sis-programme-form__aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sis-programme-form__card {
    background: var(--spf-card);
    border: 1px solid var(--spf-border);
    border-radius: 1rem;
    padding: 1.25rem;
}

.sis-programme-form__card--actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sis-programme-form__card-title {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f8fafc;
}

.sis-programme-form__card-hint {
    margin: -0.5rem 0 1rem;
    color: var(--spf-muted);
    font-size: 0.875rem;
}

.sis-programme-form__field {
    margin-bottom: 1rem;
}

.sis-programme-form__field:last-child {
    margin-bottom: 0;
}

.sis-programme-form__label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #cbd5e1;
}

.sis-programme-form__field-hint {
    margin: 0.45rem 0 0;
    font-size: 0.75rem;
    color: var(--spf-muted);
}

.sis-programme-form__input,
.sis-programme-form__textarea,
.sis-programme-form__select {
    width: 100%;
    background: #020617;
    border: 1px solid var(--spf-border);
    border-radius: 0.75rem;
    color: var(--spf-text);
    padding: 0.75rem 0.9rem;
    font-size: 0.9375rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sis-programme-form__input::placeholder,
.sis-programme-form__textarea::placeholder {
    color: #64748b;
}

.sis-programme-form__input:focus,
.sis-programme-form__textarea:focus,
.sis-programme-form__select:focus {
    outline: none;
    border-color: #334155;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.sis-programme-form__textarea {
    resize: vertical;
    min-height: 7rem;
}

.sis-programme-form__select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2rem;
}

.sis-programme-form__scope-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .sis-programme-form__scope-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sis-programme-form__scope-card {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 0.9rem;
    border: 1px solid var(--spf-border);
    background: #020617;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sis-programme-form__scope-card:hover {
    border-color: #334155;
}

.sis-programme-form__scope-card.is-active {
    border-color: rgba(56, 189, 248, 0.55);
    background: rgba(14, 165, 233, 0.08);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.15);
}

.sis-programme-form__scope-input {
    margin-top: 0.2rem;
    accent-color: var(--spf-accent);
}

.sis-programme-form__scope-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sis-programme-form__scope-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f8fafc;
}

.sis-programme-form__scope-desc {
    font-size: 0.8125rem;
    color: var(--spf-muted);
    line-height: 1.45;
}

.sis-programme-form__target-panel {
    margin-top: 0.25rem;
}

.sis-programme-form__target-panel[hidden] {
    display: none !important;
}

.sis-programme-form__course-list {
    max-height: 12rem;
    overflow-y: auto;
    border: 1px solid var(--spf-border);
    border-radius: 0.75rem;
    background: #020617;
}

.sis-programme-form__course-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--spf-border);
    margin: 0;
    cursor: pointer;
}

.sis-programme-form__course-row:last-child {
    border-bottom: 0;
}

.sis-programme-form__course-row:hover {
    background: rgba(148, 163, 184, 0.06);
}

.sis-programme-form__checkbox {
    accent-color: var(--spf-accent);
}

.sis-programme-form__course-row-text {
    font-size: 0.9rem;
    color: var(--spf-text);
}

.sis-programme-form__empty {
    margin: 0;
    padding: 0.9rem;
    color: var(--spf-muted);
    font-size: 0.875rem;
}

.sis-programme-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 0.75rem;
    padding: 0.8rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sis-programme-form__btn--primary {
    background: #0ea5e9;
    color: #082f49;
    border-color: #0ea5e9;
}

.sis-programme-form__btn--primary:hover {
    background: #38bdf8;
    border-color: #38bdf8;
}

.sis-programme-form__btn--ghost {
    background: transparent;
    color: var(--spf-muted);
    border-color: var(--spf-border);
}

.sis-programme-form__course-row.is-assigned {
    background: rgba(14, 165, 233, 0.08);
}

.sis-programme-form__assigned-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.sis-programme-form__assigned-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--spf-border);
    border-radius: 0.75rem;
    background: #020617;
}

.sis-programme-form__assigned-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f8fafc;
    flex: 1 1 12rem;
}

.sis-programme-form__assigned-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.sis-programme-form__assigned-select {
    min-width: 12rem;
    width: auto;
}

.sis-programme-form__assigned-remove {
    border: 1px solid var(--spf-border);
    background: transparent;
    color: var(--spf-muted);
    border-radius: 0.6rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.8125rem;
    cursor: pointer;
}

.sis-programme-form__assigned-remove:hover {
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.45);
}

.sis-programme-form__empty--assigned {
    margin-bottom: 0.75rem;
}

.sis-programme-form__hidden-fields {
    display: none;
}

.sis-programme-form__search-results {
    margin-top: 0.5rem;
    border: 1px solid var(--spf-border);
    border-radius: 0.75rem;
    background: #020617;
    overflow: hidden;
}

.sis-programme-form__search-result {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--spf-border);
    background: transparent;
    color: var(--spf-text);
    padding: 0.7rem 0.9rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.sis-programme-form__search-result:last-child {
    border-bottom: 0;
}

.sis-programme-form__search-result:hover:not(:disabled) {
    background: rgba(148, 163, 184, 0.08);
}

.sis-programme-form__search-result:disabled {
    color: var(--spf-muted);
    cursor: default;
}

.sis-programme-form__search-empty {
    margin: 0;
    padding: 0.75rem 0.9rem;
    color: var(--spf-muted);
    font-size: 0.875rem;
}

.sis-programme-form__btn--ghost:hover {
    color: var(--spf-text);
    border-color: #334155;
}

.sis-programme-form__workflow {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #1e293b;
}

.sis-programme-form__workflow-header {
    margin-bottom: 1rem;
}

.sis-programme-form__workflow-title {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--spf-text);
}

.sis-programme-form__workflow-grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .sis-programme-form__workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sis-programme-form__workflow-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 0.65rem;
    padding: 0.9rem 1rem;
}

.sis-programme-form__workflow-card-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.sis-programme-form__workflow-sequence {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: #1e293b;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.sis-programme-form__workflow-card-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--spf-text);
}

.sis-programme-form__workflow-controls {
    display: grid;
    gap: 0.75rem;
}

.sis-programme-form__workflow-field {
    display: grid;
    gap: 0.35rem;
}

.sis-programme-form__workflow-error {
    margin: 0;
    padding: 0.75rem 0.9rem;
    border-radius: 0.5rem;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
    font-size: 0.875rem;
}

.sis-step-progress__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.sis-step-progress__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sis-step-progress__marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #e9ecef;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.sis-step-progress__item.is-complete .sis-step-progress__marker {
    background: #198754;
    color: #fff;
}

.sis-step-progress__title {
    font-weight: 600;
}

.sis-step-progress__meta {
    font-size: 0.85rem;
}

.sis-step-progress__item.is-complete .sis-step-progress__meta {
    color: #198754;
}

.sis-audit-log__item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.sis-audit-log__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sis-audit-log__summary {
    font-size: 0.9rem;
}

.sis-application-detail-page .sis-application-change-history {
    max-width: none;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

.sis-application-detail-page .sis-application-change-history__table thead th {
    background: #0f172a;
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 0;
    white-space: nowrap;
}

.sis-application-detail-page .sis-application-change-history__table tbody td {
    vertical-align: top;
}

.sis-application-detail-page .sis-application-change-history__summary {
    min-width: 16rem;
    font-size: 0.9rem;
}

.sidebar .nav-link.sis-nav-link-with-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
}

.sidebar .sis-nav-link-with-alert__label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.sis-nav-attention {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.sis-nav-attention__triangle {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #fde68a 0%, #fbbf24 100%);
    clip-path: polygon(50% 8%, 100% 100%, 0% 100%);
    box-shadow: 0 0 0 1px rgba(146, 64, 14, 0.18);
    opacity: 0.95;
}

.sis-nav-attention__count {
    position: relative;
    z-index: 1;
    margin-top: 0.38rem;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #78350f;
}

.sidebar .nav-link.active .sis-nav-attention__triangle {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.sidebar .nav-link.active .sis-nav-attention__count {
    color: #fef3c7;
}

/* SIS application wizard form */
body.sis-wizard-form-page .main-content,
body.sis-wizard-form-page .main-content-inner {
    background: #f8fafc;
}

.sis-handover-collision {
    max-width: 42rem;
    margin: 0 auto;
}

.sis-handover-collision-wrap .sis-handover-collision {
    max-width: none;
}

body.sis-applicant-resume-page .auth-layout-main {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}

body.sis-applicant-resume-page .sis-admin.sis-wizard-form {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body.sis-applicant-resume-entry-page .auth-shell {
    max-width: 42rem;
    margin: 0 auto;
}

/* Grid utilities for wizard (tailwind.css is preflight-only in this project) */
.sis-wizard-form .grid {
    display: grid;
}

.sis-wizard-form .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.sis-wizard-form .gap-3 {
    gap: 0.75rem;
}

.sis-wizard-form .gap-4 {
    gap: 1rem;
}

.sis-wizard-form .mt-4 {
    margin-top: 1rem;
}

@media (min-width: 576px) {
    .sis-wizard-form .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sis-wizard-form .sm\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

@media (min-width: 768px) {
    .sis-wizard-form .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sis-wizard-form .md\:col-span-1 {
        grid-column: span 1 / span 1;
    }

    .sis-wizard-form .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

.sis-wizard-split {
    align-items: flex-start;
}

.sis-wizard-split__sidebar {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sis-wizard-context {
    border: 1px solid #e2e8f0;
    background: #fff;
}

.sis-wizard-context__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.sis-wizard-context__type {
    font-size: 0.8rem;
    color: #475569;
}

.sis-wizard-context__title {
    font-weight: 600;
    color: #0f172a;
}

.sis-wizard-form__sidebar {
    border: 1px solid #e2e8f0;
    background: #fff;
}

.sis-wizard-form__canvas {
    display: flex;
    flex-direction: column;
    min-height: 32rem;
    overflow: hidden;
    border: 1px solid #dbe3ee;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.08);
}

.sis-wizard-form__canvas-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.sis-wizard-form__canvas-title {
    color: #0f172a;
    font-weight: 600;
}

.sis-wizard-form__canvas-body {
    flex: 1 1 auto;
    padding: 1.5rem;
}

.sis-wizard-form__canvas-footer {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #cbd5e1;
    background: #fff;
}

.sis-wizard-form__nav-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sis-wizard-form__footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-left: auto;
}

.sis-wizard-panel .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

@media (max-width: 991.98px) {
    .sis-wizard-split__sidebar {
        position: static;
    }

    .sis-wizard-form__canvas-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .sis-wizard-form__footer-actions {
        margin-left: 0;
    }
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__currency-bar {
    border: 1px solid #dbe3ee;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__subnav .nav-link {
    color: #475569;
    font-weight: 500;
    border-radius: 999px;
    padding: 0.4rem 1rem;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__subnav .nav-link.active {
    background-color: #0f172a;
    color: #fff;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__currency-bar select:disabled {
    background-color: #f8fafc;
    color: #334155;
    cursor: not-allowed;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__panel {
    border: 1px solid #dbe3ee;
    overflow: hidden;
}

/* slate-900 header row, white text */
.sis-catalogue-pricing-page .sis-catalogue-pricing__table--dashboard {
    --bs-table-bg: transparent;
    --bs-table-hover-bg: rgba(248, 250, 252, 0.65);
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__thead th {
    background-color: #0f172a;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    border-color: #0f172a;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    vertical-align: middle;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__thead th .text-danger {
    color: #fca5a5 !important;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__label-col {
    min-width: 14rem;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__fee-col {
    min-width: 10.5rem;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__switch-col {
    min-width: 8.5rem;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__label-cell {
    white-space: nowrap;
    min-width: 14rem;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__label-title {
    font-weight: 600;
    color: #0f172a;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__label-meta {
    font-size: 0.8125rem;
    color: #64748b;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__money-input {
    display: inline-flex;
    align-items: stretch;
    width: 100%;
    max-width: 11.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    overflow: hidden;
    background-color: rgba(248, 250, 252, 0.3);
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__money-input:focus-within {
    border-color: #94a3b8;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__money-prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.25rem;
    padding: 0.375rem 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    background-color: rgba(241, 245, 249, 0.85);
    border-right: 1px solid #cbd5e1;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__money-field {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: 0;
    background-color: transparent;
    padding: 0.4375rem 0.625rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #0f172a;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
    transition: background-color 0.15s ease;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__money-field:focus {
    background-color: #fff;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__money-field::-webkit-outer-spin-button,
.sis-catalogue-pricing-page .sis-catalogue-pricing__money-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__money-field::placeholder {
    color: #94a3b8;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__switch {
    min-height: 1.5rem;
    padding-left: 2.5rem;
}

.sis-catalogue-pricing-page .sis-catalogue-pricing__switch .form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    margin-left: -2.5rem;
}

.sis-wizard-steps .sis-step-progress__item {
    border-bottom: 0;
    padding: 0;
}

.sis-wizard-panel[hidden],
.sis-wizard-panel.hidden {
    display: none !important;
}

.sis-wizard-steps__item {
    position: relative;
    border-radius: 0.65rem;
    margin-bottom: 0.5rem;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.sis-wizard-steps__item:last-child {
    margin-bottom: 0;
}

.sis-wizard-steps__button {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.sis-wizard-steps__item.is-active {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
}

.sis-wizard-steps__item.is-active .sis-wizard-steps__marker {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.sis-wizard-steps__item.is-muted {
    opacity: 0.62;
}

.sis-wizard-steps__item.is-muted .sis-wizard-steps__title {
    color: #6c757d;
}

.sis-wizard-steps__item.is-muted .sis-wizard-steps__marker {
    background: #edf2f7;
    color: #94a3b8;
}

.sis-wizard-steps__item.is-complete:not(.is-active) .sis-wizard-steps__marker {
    background: #198754;
    color: #fff;
}

.sis-wizard-steps__editing-label {
    position: absolute;
    top: 0.45rem;
    right: 0.65rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2563eb;
}

.sis-wizard-steps__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.sis-wizard-panel__header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.sis-wizard-form__actions {
    display: none;
}

@media (min-width: 576px) {
    .sis-wizard-form__actions .d-flex {
        align-items: center;
    }
}

/* SIS document management suite */
.sis-doc-suite {
    --sis-doc-border: #e2e8f0;
    --sis-doc-surface: #fff;
    --sis-doc-muted: #64748b;
}

.sis-doc-suite__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.sis-doc-review-wrap {
    width: 100%;
    max-width: none;
}

.sis-doc-review-wrap .sis-doc-suite--review {
    width: 100%;
}

.sis-doc-suite__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .sis-doc-suite__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .sis-doc-suite--wizard .sis-doc-suite__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .sis-doc-suite--review .sis-doc-suite__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.sis-doc-slot {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.sis-doc-slot--filled {
    border-color: #cbd5e1;
}

.sis-doc-slot--rejected {
    border-color: #fca5a5;
    background: #fffbfb;
}

.sis-doc-slot__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.sis-doc-slot__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: #0f172a;
}

.sis-doc-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.sis-doc-badge--missing {
    background: #f1f5f9;
    color: #64748b;
}

.sis-doc-badge--pending {
    background: #fef3c7;
    color: #92400e;
}

.sis-doc-badge--verified {
    background: #dcfce7;
    color: #166534;
}

.sis-doc-badge--rejected {
    background: #fee2e2;
    color: #b91c1c;
}

.sis-doc-slot__dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 8.5rem;
    padding: 1rem;
    border: 1.5px dashed #cbd5e1;
    border-radius: 0.65rem;
    background: #f8fafc;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    margin-bottom: 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.sis-doc-slot__dropzone:hover,
.sis-doc-slot__dropzone.is-dragover {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.sis-doc-slot__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.sis-doc-slot__icon {
    font-size: 1.35rem;
    color: #64748b;
}

.sis-doc-slot__placeholder,
.sis-doc-slot__filename {
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sis-doc-slot__hint {
    font-size: 0.75rem;
    color: #94a3b8;
}

.sis-doc-slot__feedback {
    font-size: 0.85rem;
}

.sis-doc-slot__review-body {
    min-height: 2.5rem;
}

.sis-doc-slot__file-link {
    font-weight: 500;
    text-decoration: none;
}

.sis-doc-slot__file-link:hover {
    text-decoration: underline;
}

.sis-doc-slot__admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.25rem;
    border-top: 1px solid #e2e8f0;
}

.sis-doc-preview-modal__body {
    min-height: 70vh;
    background: #f8fafc;
}

.sis-doc-preview-modal__frame {
    width: 100%;
    min-height: 70vh;
    border: 0;
    background: #fff;
    display: none;
}

.sis-doc-preview-modal__fallback {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sis-doc-preview-overlay .modal-content {
    border: 0;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.sis-doc-preview-overlay.show {
    backdrop-filter: blur(2px);
}

.sis-doc-preview-overlay .modal-backdrop.show {
    opacity: 0.55;
}

.sis-wizard-form__canvas .card-body {
    overflow-x: hidden;
}

.sis-wizard-form__canvas .sis-doc-suite--wizard {
    width: 100%;
    max-width: 100%;
}

.sis-wizard-panel--readonly {
    background: #f8fafc;
}

.sis-wizard-steps__item.is-locked .sis-wizard-steps__button {
    cursor: not-allowed;
    opacity: 0.45;
}

.sis-wizard-steps__item.is-readonly .sis-wizard-steps__meta::after {
    content: ' · view only';
    color: #64748b;
}

body.sis-applicant-handover-page .main-content-inner {
    max-width: 1180px;
}

/* SIS employment history repeater */
.sis-employment-repeater {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sis-employment-repeater__section-head {
    margin-bottom: 0.85rem;
}

.sis-employment-repeater__section-title {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.sis-employment-repeater__section-copy {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.sis-employment-repeater__inventory {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    background: #f8fafc;
}

.sis-employment-repeater__stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sis-employment-repeater__empty {
    margin: 0;
    padding: 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 0.65rem;
    background: #fff;
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
}

.sis-employment-repeater__empty[hidden] {
    display: none !important;
}

.sis-employment-card {
    padding: 1rem 1.05rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sis-employment-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.sis-employment-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.sis-employment-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #15803d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sis-employment-card__company {
    margin: 0 0 0.2rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
}

.sis-employment-card__duration {
    margin: 0 0 0.55rem;
    font-size: 0.85rem;
    color: #64748b;
}

.sis-employment-card__summary {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #475569;
    white-space: pre-wrap;
}

.sis-employment-card__actions {
    margin-top: 0.65rem;
}

.sis-employment-repeater__composer {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    background: #fff;
}

.sis-employment-repeater__append-btn {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 2px dashed #94a3b8;
    border-radius: 0.75rem;
    background: #f8fafc;
    color: #2563eb;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sis-employment-repeater__append-btn:hover {
    background: rgba(37, 99, 235, 0.06);
    border-color: #2563eb;
    color: #1d4ed8;
}

/* SIS education history form */
.sis-education-baseline-card {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(37, 99, 235, 0.24);
    border-radius: 0.85rem;
    background: rgba(37, 99, 235, 0.07);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sis-education-baseline-card__title {
    margin: 0 0 0.25rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e3a8a;
}

.sis-education-baseline-card__copy,
.sis-education-optional__copy {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.sis-education-optional__title {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.sis-education-optional__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sis-education-optional__empty {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.sis-education-optional__empty[hidden] {
    display: none !important;
}

.sis-education-achievement-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.55rem;
    background: #fff;
}

.sis-education-achievement-row__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    min-width: 0;
    font-size: 0.88rem;
    color: #334155;
}

.sis-education-achievement-row__qualification {
    font-weight: 600;
    color: #0f172a;
}

.sis-education-achievement-row__separator {
    color: #cbd5e1;
}

.sis-education-achievement-row__institution,
.sis-education-achievement-row__date {
    color: #64748b;
}

.sis-education-achievement-row__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.sis-education-repeater__append-btn {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 2px dashed #94a3b8;
    border-radius: 0.75rem;
    background: #f8fafc;
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sis-education-repeater__append-btn:hover {
    background: rgba(37, 99, 235, 0.06);
    border-color: #2563eb;
    color: #1d4ed8;
}

.sis-education-repeater__edit-hint {
    font-size: 0.82rem;
    color: #64748b;
}

.sis-education-repeater__edit-hint[hidden] {
    display: none !important;
}

/* SIS account payer conditional panes */
.sis-account-payer__toggle {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .sis-account-payer__toggle {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.sis-account-payer__toggle-option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.sis-account-payer__toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sis-account-payer__toggle-label {
    display: block;
    padding: 0.8rem 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.65rem;
    background: #fff;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.sis-account-payer__toggle-option.is-active .sis-account-payer__toggle-label,
.sis-account-payer__toggle-input:checked + .sis-account-payer__toggle-label {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.sis-account-payer__toggle-option:hover .sis-account-payer__toggle-label {
    border-color: #94a3b8;
}

.sis-account-payer-pane {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
}

.sis-account-payer-pane[hidden] {
    display: none !important;
}

.sis-account-payer-pane__notice {
    padding: 0.85rem 0.95rem;
    border-radius: 0.65rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.5;
}

.sis-account-payer-pane__notice strong {
    color: #0f172a;
}

.sis-student-records-page .sis-student-records__split {
    align-items: flex-start;
}

.sis-student-records-page .sis-student-records__directory {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 8rem);
    display: flex;
    flex-direction: column;
}

.sis-student-records-page .sis-student-records__directory-list {
    overflow-y: auto;
    max-height: calc(100vh - 14rem);
}

.sis-student-records-page .sis-student-records__filter {
    border-color: #cbd5e1;
}

.sis-student-records-page .sis-student-records__directory-item {
    border-left: 0;
    border-right: 0;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.sis-student-records-page .sis-student-records__directory-item.active {
    background-color: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.sis-student-records-page .sis-student-records__directory-item.active .text-muted,
.sis-student-records-page .sis-student-records__directory-item.active .badge {
    color: #e2e8f0 !important;
}

.sis-student-records-page .sis-student-records__flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.sis-student-records-page .sis-student-records__flag {
    background: #e2e8f0;
    color: #334155;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.sis-student-records-page .sis-student-records__flag--large {
    font-size: 0.78rem;
    padding: 0.45rem 0.65rem;
}

.sis-student-records-page .sis-student-records__workspace {
    min-height: 28rem;
}

.sis-student-records-page .sis-student-records__workspace-header {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.sis-student-records-page .sis-student-records__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0;
}

.sis-student-records-page .sis-student-records__actions {
    padding: 1rem 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f8fafc;
}

.sis-student-records-page .sis-student-records__action-btn {
    min-width: 12rem;
}

.sis-student-records-page .sis-student-records__history-table {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
}

.sis-student-records-page .sis-student-records__history-thead th {
    background: #0f172a;
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 0;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.sis-student-records-page .sis-student-records__empty-history,
.sis-student-records-page .sis-student-records__workspace--empty {
    border: 1px dashed #cbd5e1;
    border-radius: 0.75rem;
    padding: 1.5rem;
    background: #f8fafc;
}