/* Professional CA-office theme: light lavender sidebar, Indigo (#3D52A0) text/accent + Periwinkle (#7091E6) active accent */
.ion {
	color: #3D52A0;
}
.brand-text {
	color: #3D52A0 !important;
}
.main-sidebar .nav-sidebar .nav-link {
	color: #3D52A0 !important;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active, .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-dark-primary .nav-sidebar .nav-treeview > .nav-item > .nav-link.active, .sidebar-light-primary .nav-sidebar .nav-treeview > .nav-item > .nav-link.active {
	background-color: rgba(112, 145, 230, 0.22) !important;
	color: #3D52A0 !important;
	font-weight: 600;
	border-left: 3px solid #7091E6;
}
.d-block {
	color: #3D52A0 !important;
}
.img-fluid {
border-radius: 1rem 120px 120px 1rem !important;
  margin-top: 0 !important;
  min-height: 100% !important;
  box-shadow: 3px 0px 10px;}
 
.btn-dark {
	color: #fff;
	background-color: #3D52A0 !important;
	border-color: #3D52A0 !important;
	box-shadow: none;
}
.table-responsive a {
	color: #000;
}
.btn.btn-xs.btn-info.float-right {
	background: #3D52A0;
	padding: 5px 20px;
	border-radius: 6px;
}
.main-sidebar {
	background-color: #EDE8F5 !important;
	color: #3D52A0 !important;
	border-right: 1px solid #ADBBDA;
}
.card .card-header.border-transparent.bg-gradient-secondary.ui-sortable-handle {
    padding: 14px !important;
}

/* Footer - light lavender tint to match the sidebar, indigo accent border/links */
.main-footer {
  background-color: #EDE8F5;
  border-top: 1px solid #ADBBDA;
  color: #3D52A0;
}
.main-footer a {
  color: #3D52A0 !important;
}

:root {
  --blue: #3D52A0;
  --primary: #3D52A0;
  --accent: #7091E6;
}

/* Buttons */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active {
  background-color: #3D52A0 !important;
  border-color: #3D52A0 !important;
}

.btn-primary:focus,
.btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus {
  box-shadow: 0 0 0 0.2rem rgba(61, 82, 160, 0.25) !important;
}

/* Pagination (DataTables and Bootstrap) */
.page-item.active .page-link,
.pagination .page-item.active .page-link {
  background-color: #3D52A0 !important;
  border-color: #3D52A0 !important;
  color: #fff !important;
}

.page-link:hover,
.pagination .page-link:hover {
  color: #3D52A0;
  background-color: rgba(61, 82, 160, 0.1);
  border-color: #3D52A0;
}

.page-link {
  color: #3D52A0;
}

/* Form controls focus */
.form-control:focus,
.custom-select:focus {
  border-color: #3D52A0;
  box-shadow: 0 0 0 0.2rem rgba(61, 82, 160, 0.25);
}

/* Links and text-primary */
a,
.text-primary {
  color: #3D52A0 !important;
}

/* Keep white text/icon on button-styled links (e.g. Download Receipt) */
a.btn,
a.btn i,
a.btn:hover,
a.btn:hover i {
  color: #fff !important;
}

a:hover {
  color: #3D52A0;
}

/* DataTables filter input focus (search box) */
.dataTables_filter input:focus {
  border-color: #3D52A0;
  box-shadow: 0 0 0 0.2rem rgba(61, 82, 160, 0.25);
}

/* Small boxes / cards that use primary */
.small-box.bg-info {
  background-color: #3D52A0 !important;
}

.bg-primary {
  background-color: #3D52A0 !important;
}

.border-primary {
  border-color: #3D52A0 !important;
}

.card-primary:not(.card-outline) > .card-header {
  background-color: #3D52A0;
}

.card-primary.card-outline-tabs .nav-link.active {
  color: #3D52A0;
  border-color: #3D52A0 #3D52A0 transparent;
}

/* Nav pills/tabs active (content area only - sidebar has its own active styling above) */
.nav-pills:not(.nav-sidebar) .nav-link.active,
.nav-tabs .nav-link.active {
  background-color: #3D52A0;
  border-color: #3D52A0;
}

/* Custom select / dropdown focus */
.dataTables_length select:focus {
  border-color: #3D52A0;
}

/* DataTables Col Visibility (and other button collection) dropdown */
.dt-button-collection {
  padding: 0 !important;
}
.dt-button-collection .dropdown-menu {
  background-color: #3D52A0 !important;
  border-color: #3D52A0;
  padding: 0.25rem 0;
}
.dt-button-collection .dropdown-item,
.dt-button-collection .dt-button.dropdown-item {
  color: #fff !important;
  background-color: transparent;
}
.dt-button-collection .dropdown-item:hover,
.dt-button-collection .dropdown-item:focus,
.dt-button-collection .dt-button.dropdown-item:hover,
.dt-button-collection .dt-button.dropdown-item:focus {
  color: white !important;
  background-color: #3D52A0;
}
.dt-button-collection .dropdown-item.active {
  background-color: white;
  color: black !important;
}
.dt-button-collection-title {
  color: #fff !important;
  background-color: white;
  padding: 0.5rem 1rem;
}

/* User dropdown header (bg-primary) – white text on dark blue */
.user-header.bg-primary,
.user-header.bg-primary p,
.user-header.bg-primary small {
  color: #fff !important;
}

/* Branch dropdown button – white text on hover/focus (when background is #3D52A0) */
.custom-branch-btn:hover,
.custom-branch-btn:focus {
  color: #fff !important;
}

/* Branch dropdown active item – white text on dark background */
.custom-branch-menu .dropdown-item.active {
  color: #fff !important;
}

/* Outline primary buttons (e.g. Profile, Sign Out in user dropdown) – #3D52A0 */
.btn-outline-primary,
.user-footer .btn-outline-primary {
  color: #3D52A0 !important;
  border-color: #3D52A0 !important;
}
.btn-outline-primary:hover,
.user-footer .btn-outline-primary:hover {
  color: #fff !important;
  background-color: #3D52A0 !important;
  border-color: #3D52A0 !important;
}
.btn-outline-primary:focus,
.btn-outline-primary.focus,
.user-footer .btn-outline-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(61, 82, 160, 0.25) !important;
}

.nav-sidebar .nav-link[href*="dashboard"] .nav-icon {
  color: #7091E6 !important;
}

/* Branch */
.nav-sidebar .nav-link:has(+ .nav-treeview) .fa-user {
  color: #2EC4B6 !important;
}

/* Admission */
.nav-sidebar .fa-user-graduate {
  color: #4CAF50 !important;
}

/* Attendance */
.nav-sidebar .fa-calendar-check {
  color: #FFC107 !important;
}

/* Student Payments (₹) */
.nav-sidebar .nav-icon.font-weight-bold {
  color: #F4B400 !important;
}

/* Communicate */
.nav-sidebar .fa-comments {
  color: #00BCD4 !important;
}

/* Shift Master */
.nav-sidebar .fa-clock {
  color: #FF9800 !important;
}

/* Subscriptions */
.nav-sidebar .fa-calendar-alt {
  color: #7E57C2 !important;
}

/* Reports */
.nav-sidebar .fa-chart-bar {
  color: #F44336 !important;
}

/* Config Settings */
.nav-sidebar .fa-plus-square {
  color: #64748B !important;
}