.m0 {
	margin: 0 !important;
}

.ml-1 {
	margin-left: 1rem;
}

.no-border {
    border: none !important;
}

.border-right {
    border-right: 1px solid #012970 !important;
}

.numbers-block {
    display: block;
    margin: 10px 0;
    text-align: center;
}

.numbers-block>.numbers-header {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.numbers-block>.numbers-text {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.text-red {
	color: red !important;
}

.red-border {
	border-color: red !important;
}

.text-right {
	text-align: right !important;
}

.hidden {
	display: none !important;
}

.select2 .select2-container {
	width: 460px !important;
}

.select2-selection {
	height: 58px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 55px !important;
}

.select2-selection__rendered {
	padding-top: 20px;
}

.pt-30 {
	padding-top: 30px !important;
}

/* Sidebar Design  */
.submenu {
	padding-left: 20px;
}

.sidebar-nav .sub-menu a .right {
    position: absolute;
    right: 1.5rem;
    font-weight: 600;
    font-size: 24px;
    transition: -webkit-transform ease-in-out .3s;
    transition: transform ease-in-out .3s;
    transition: transform ease-in-out .3s, -webkit-transform ease-in-out .3s;
}

.sidebar-nav .sub-menu a[aria-expanded="true"] i {
    transform: rotate(-90deg);
}

.select2-lable-padding {
	height: 50% !important;
	padding: 0.5rem .75rem !important;
}

.cursor-pointer {
	cursor: pointer !important;
}

.bg-primary {
    background-color: #F26522 !important;
    border: 1px solid #F26522 !important;
}

.avatar {
    position: relative;
    height: 2.625rem;
    width: 2.625rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #FFF;
    font-weight: 500;
}

.tab-border {
	border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    padding: 15px;
}

.card.card-state {
    border-top: none;
    border-bottom: 2px solid #fb9108;
}

.card.card-state .card-header-warning .card-icon, .card.card-state .card-header-warning:not(.card-header-icon):not(.card-header-text) {
    background: linear-gradient(60deg, #ffa726, #fb8c00);
}

.card.card-ssc {
    border-top: none;
    border-bottom: 2px solid #198754;
}

.card.card-ssc .card-header-warning .card-icon, .card.card-ssc .card-header-warning:not(.card-header-icon):not(.card-header-text) {
    background: linear-gradient(60deg, #198754, #198754);
}

.card.card-aedp {
    border-top: none;
    border-bottom: 2px solid #012970;
}

.card.card-aedp .card-header-warning .card-icon, .card.card-aedp .card-header-warning:not(.card-header-icon):not(.card-header-text) {
    background: linear-gradient(60deg, #012970, #012970);
}

.card.card-university {
    border-top: none;
    border-bottom: 2px solid #f5b943;
}

.card.card-university .card-header-warning .card-icon, .card.card-university .card-header-warning:not(.card-header-icon):not(.card-header-text) {
    background: linear-gradient(60deg, #f5b943, #f5b943);
}

.card.card-college {
    border-top: none;
    border-bottom: 2px solid #4154f1;
}

.card.card-college .card-header-warning .card-icon, .card.card-college .card-header-warning:not(.card-header-icon):not(.card-header-text) {
    background: linear-gradient(60deg, #4154f1, #4154f1);
}

.card.card-clg-aedp {
    border-top: none;
    border-bottom: 2px solid #a70d02;
}

.card.card-clg-aedp .card-header-warning .card-icon, .card.card-clg-aedp .card-header-warning:not(.card-header-icon):not(.card-header-text) {
    background: linear-gradient(60deg, #a70d02, #a70d02);
}

.card.card-aedp-batch {
    border-top: none;
    border-bottom: 2px solid #356fbe;
}

.card.card-aedp-batch .card-header-warning .card-icon, .card.card-aedp-batch .card-header-warning:not(.card-header-icon):not(.card-header-text) {
    background: linear-gradient(60deg, #356fbe, #356fbe);
}

.card.card-students {
    border-top: none;
    border-bottom: 2px solid #f6a80d;
}

.card.card-students .card-header-warning .card-icon, .card.card-students .card-header-warning:not(.card-header-icon):not(.card-header-text) {
    background: linear-gradient(60deg, #f6a80d, #f6a80d);
}

.card.card-stats .card-body {
    padding: 5px 20px !important;
}

.card.card-stats [class*=card-header-] {
    margin: 0 15px;
    padding: 0;
    position: relative;
}

.card.card-stats [class*=bg-], .card[class*=bg-] .card-title, 
.card.card-stats [class*=bg-] .card-title a, .card.card-stats[class*=bg-] .icon i, 
.card.card-stats [class*=card-header-], .card.card-stats [class*=card-header-] .card-title,
.card.card-stats [class*=card-header-] .card-title a, .card.card-stats [class*=card-header-] .icon i {
    color: #fff;
}
.card.card-stats .card-header {
    border-bottom: none;
    background: transparent;
}
.card-stats .card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.card.card-stats [class*=card-header-] .card-icon, .card.card-stats [class*=card-header-] .card-text {
    border-radius: 3px;
    background-color: #999;
    padding: 15px;
    margin-top: -20px;
    margin-right: 15px;
    float: left;
}
.card.card-stats .card-header-warning .card-icon, .card.card-stats .card-header-warning:not(.card-header-icon):not(.card-header-text) {
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgba(0, 0, 0, .4);
    width: 100%;
}

.card.card-stats .card-body .card-count {
    padding-top: 10px;
    color: #012d50;
}

.card.card-stats .card-body h6 a {
    color: #012d50;
}

.card.card-stats .card-body h6 a:hover {
    color: blue;
    text-decoration: underline;
}

.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.badge-pill {
    padding-right: .6em;
    padding-left: .6em;
    border-radius: 10rem;
}

.badge-info {
    color: #fff;
    background-color: #17a2b8;
}

.badge-info:hover {
    color: #17a2b8;
    background-color: #fff;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    top: 22%;
    left: 5px;
    height: 1em;
    width: 1em;
    margin-top: -9px;
    display: block;
    position: absolute;
    color: white;
    border: .15em solid white;
    border-radius: 1em;
    box-shadow: 0 0 .2em #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: "Courier New", Courier, monospace;
    line-height: 1em;
    content: "+";
    background-color: #0275d8;
}

table.dataTable>thead>tr>th:not(.sorting_disabled), table.dataTable>thead>tr>td:not(.sorting_disabled) {
    padding-right: 30px;
    background-color: #012d50;
    color: #fff;
    white-space: nowrap;
    font-weight: 600;
}

.light-yellow {
    background-color: #FBEC5D !important;
}

.light-orange {
    background-color: #FF7518 !important;
}

.light-green {
    background-color: #50C878 !important;
}

.stdData {
    border: 1px solid #ccc;
    max-width: 300px;
    max-height: 200px; /* Set a fixed height */
    overflow-y: auto;  /* Enable scrolling if results exceed max-height */
    display: none;
    position: absolute;
    background: white;
    z-index: 1000;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
.std-item {
    padding: 8px;
    cursor: pointer;
}
.std-item:hover {
    background: #f0f0f0;
}

.orange-60 {
    background-color: #ff8533 !important;
}

.yellow-60 {
    background-color: #ffd633 !important;
}

.red-60 {
    background-color: #ff3333 !important;
}

.green-60 {
    background-color: #32CD32 !important;
}

/* The switch toggle on hei stats - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #ccc;
}

input:focus + .slider {
  box-shadow: 0 0 1px #ccc;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}
#sm_table {
    table-layout: fixed !important;
    width: 1090px !important;
    border-collapse: collapse !important;
    margin-bottom: 0 !important;
}
#sm_table th, #sm_table td {
    word-wrap: break-word;
    word-break: break-word;
    vertical-align: middle !important;
    padding: 8px !important;
    border: 1px solid #dee2e6 !important;
    overflow: hidden;
    box-sizing: border-box !important;
}
/* Specific column widths */
#sm_table th:nth-child(1), #sm_table td:nth-child(1) { width: 40px !important; min-width: 40px !important; max-width: 40px !important; }
#sm_table th:nth-child(2), #sm_table td:nth-child(2) { width: 200px !important; min-width: 200px !important; max-width: 200px !important; }
#sm_table th:nth-child(3), #sm_table td:nth-child(3) { width: 40px !important; min-width: 40px !important; max-width: 40px !important; }
#sm_table th:nth-child(4), #sm_table td:nth-child(4) { width: 150px !important; min-width: 150px !important; max-width: 150px !important; }
#sm_table th:nth-child(5), #sm_table td:nth-child(5) { width: 120px !important; min-width: 120px !important; max-width: 120px !important; }
#sm_table th:nth-child(6), #sm_table td:nth-child(6) { width: 120px !important; min-width: 120px !important; max-width: 120px !important; }
#sm_table th:nth-child(7), #sm_table td:nth-child(7) { width: 80px !important; min-width: 80px !important; max-width: 80px !important; }
#sm_table th:nth-child(8), #sm_table td:nth-child(8) { width: 120px !important; min-width: 120px !important; max-width: 120px !important; }
#sm_table th:nth-child(9), #sm_table td:nth-child(9) { width: 80px !important; min-width: 80px !important; max-width: 80px !important; }
#sm_table th:nth-child(10), #sm_table td:nth-child(10) { width: 100px !important; min-width: 100px !important; max-width: 100px !important; }

/* Allow wrapping for content cells */
#sm_table td {
    max-height: 60px;
    line-height: 1.4;
}
/* Keep S.No, Sem, For, Material Type, Doc/Link, Action columns nowrap */
#sm_table td:nth-child(1),
#sm_table td:nth-child(3),
#sm_table td:nth-child(7),
#sm_table td:nth-child(8),
#sm_table td:nth-child(9),
#sm_table td:nth-child(10) {
    white-space: nowrap !important;
}
/* Center align for specific columns - headers */
#sm_table th:nth-child(1),
#sm_table th:nth-child(3),
#sm_table th:nth-child(7),
#sm_table th:nth-child(8),
#sm_table th:nth-child(9),
#sm_table th:nth-child(10) {
    text-align: center !important;
}
/* Left align for text content columns - headers */
#sm_table th:nth-child(2),
#sm_table th:nth-child(4),
#sm_table th:nth-child(5),
#sm_table th:nth-child(6) {
    text-align: left !important;
}
/* Left align for text content columns - data cells */
#sm_table td:nth-child(2),
#sm_table td:nth-child(4),
#sm_table td:nth-child(5),
#sm_table td:nth-child(6) {
    text-align: left !important;
}

/* Report specific styles */
.report-table {
    font-size: 12px;
}
.report-table th {
    background-color: #4154f1;
    color: white;
    text-align: center;
    vertical-align: middle;
    padding: 10px 5px;
    font-weight: 600;
}
.report-table td {
    padding: 6px 8px;
    vertical-align: middle;
}
.report-table .aedp-cell {
    background-color: #f8f9fa;
    font-weight: 600;
}
.report-table .label-cell {
    background-color: #e9ecef;
    font-weight: 500;
    font-style: italic;
}
.report-table .total-row {
    background-color: #ffc107;
    font-weight: 700;
}
.report-table .number-cell {
    text-align: center;
}
.report-table tbody tr:hover {
    background-color: #f1f3f5;
}
.summary-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.summary-box h4 {
    color: white;
    margin-bottom: 15px;
}
.stat-card {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}
.stat-card h3 {
    color: white;
    font-size: 32px;
    margin-bottom: 5px;
}
.stat-card p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 14px;
}

#aedp_report_table tr.sub-row td:first-child,
#aedp_report_table tr.sub-row td:nth-child(2) {
    color: transparent; /* hides duplicate AEDP and S.No visually */
}
#aedp_report_table tr.sub-row td.label-cell {
    font-weight: normal;
}