/* you can add your own custom css here if you don't want to worry about SASS/SCSS */

:root {
	 --bs-warning: #FFC107; /* Bootstrap warning */
	
	--sidebar-hover-dark: #2A3B5C;
	--sidebar-text-light: #E0E0E0;
	--sidebar-active-bg: #FFC107;
	--sidebar-active-text: #1F2A40;

	--fa-orange: #E87722; /* FA Orange */
	--fa-primary-dark: #1F2A40; /* Gunmetal Blue */
	--sidebar-bg-dark: var(--fa-primary-dark); 
	--text-dark: #333333;
	--text-light: #ffffff;
}



body.site {
	background-color: #f8f9fa;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.maintpl .sidebar {
	background-color: var(--sidebar-bg-dark) !important;
	/* min-height: 100vh; */
	/* max-height: 100vh; */
	height: 100vh;
    overflow-y: auto;
    position: fixed; /* Important for mobile scroll */
}

.maintpl .sidebar .nav-link {
	color: var(--sidebar-text-light);
	padding: 0.75rem 1rem;
	font-weight: 500;
}

.maintpl .sidebar .nav-link i {
	margin-right: 10px;
	color: var(--primary-orange);
}

.maintpl .sidebar .nav-link:hover {
	background-color: var(--sidebar-hover-dark);
}

.maintpl .sidebar .nav-link.active {
	background-color: var(--sidebar-active-bg);
	color: var(--sidebar-active-text) !important;
}

.maintpl .sidebar .nav-link.active i {
	color: var(--sidebar-active-text);
}

.maintpl .content {
	padding: 2rem;
	width:100%
}

@media (max-width: 768px) {
	.maintpl .content {
		width:100%;		
		padding:0 ;
		padding-top:2rem;
	}
}



@media (min-width: 768px) {
	.offcanvas.offcanvas-start{
		transform: none;
	}
	.offcanvas-md.sidebar {
		visibility: visible;
		position: fixed;
		width: 260px;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 1000;
		display: flex!important;
		flex-direction: column;
		justify-content: space-between;
	}

	.maintpl .content {
		margin-left: 260px;
	}
}

.user-profile {
	padding: 1rem;
	padding-bottom:4rem;
	border-top: 1px solid #2A3B5C;
	text-align: center;

}

.user-profile img {
	  width: 36px;
      height: 36px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid #FFC107;
}



.dropdown-menu {
	min-width: 150px;
}

.maintpl .navbar {
	background-color: #fff !important;
}

.maintpl .navbar .btn {
	color: var(--sidebar-bg-dark);
}

.card {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 0.5rem;
	/* padding: 2rem; */
}


/* forms */
select {
	cursor: pointer;
}
/* Footer */
.footer {
	background-color: #f8f9fa;
	padding: 20px;
	text-align: center;
	width: 100%;
}


/* background */ 
.bg-orange {
  background-color: var(--fa-orange) !important;
  color: #fff;
}


/* Buttons */
.btn-outline-warning {
	--bs-btn-color:#ef9204e3 !important;
}

/* Custom btn-white style */
.btn-white {
    /* Default state */
    color: #212529; /* Dark text for contrast */
    background-color: #ffffff; /* White background */
    border-color: #dee2e6; /* Light grey border */
    border-radius: 0.5rem; /* Consistent rounded corners */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Subtle shadow */
    transition: all 0.2s ease-in-out; /* Smooth transition for hover effects */
}

.btn-white:hover {
    /* Hover state */
    color: #212529; /* Keep text dark, or slightly darker */
    background-color: #e9ecef; /* Lighter grey background on hover */
    border-color: #adb5bd; /* Slightly darker grey border on hover */
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1); /* Slightly more prominent shadow on hover */
}

.btn-white:focus,
.btn-white.focus {
    /* Focus state (for keyboard navigation) */
    color: #212529;
    background-color: #e9ecef;
    border-color: #adb5bd;
    box-shadow: 0 0 0 0.25rem rgba(222, 226, 230, 0.5); /* Light grey focus ring */
}

.btn-white:active,
.btn-white.active {
    /* Active/clicked state */
    color: #212529;
    background-color: #e2e6ea; /* Slightly darker grey for active state */
    border-color: #adb5bd;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); /* Inset shadow to give pressed look */
}

.btn-white:disabled,
.btn-white.disabled {
    /* Disabled state */
    color: #6c757d; /* Muted text */
    background-color: #f8f9fa; /* Lighter background */
    border-color: #e9ecef; /* Lighter border */
    opacity: 0.65; /* Standard Bootstrap disabled opacity */
    cursor: not-allowed;
}

/* Custom btn-primary style using #1F2A40 */
.btn-primary-dark {
    /* Default state */
    color: #FFFFFF; /* White text for contrast on dark background */
    background-color: var(--fa-primary-dark) !important; /* The requested dark blue-grey */
    border-color: var(--fa-primary-dark); /* Matching border color */
    border-radius: 0.5rem; /* Consistent rounded corners */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
    transition: all 0.2s ease-in-out; /* Smooth transition for hover effects */
}

.btn-primary-dark:hover {
    /* Hover state */
    color: #FFFFFF; /* Keep text white */
    background-color: #30405A; /* Slightly lighter shade of #1F2A40 for visual feedback */
    border-color: #30405A; /* Matching border color */
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2); /* Slightly more prominent shadow on hover */
}

.btn-primary-dark:focus,
.btn-primary-dark.focus {
    /* Focus state (for keyboard navigation) */
    color: #FFFFFF;
    background-color: #30405A; /* Same as hover */
    border-color: #30405A;
    box-shadow: 0 0 0 0.25rem rgba(48, 64, 90, 0.5); /* A slightly transparent version of hover color for focus ring */
}

.btn-primary-dark:active,
.btn-primary-dark.active {
    /* Active/clicked state */
    color: #FFFFFF;
    background-color: #1A2336; /* Slightly darker shade for a "pressed" look */
    border-color: #1A2336; /* Matching border color */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25); /* Inset shadow for pressed effect */
}

.btn-primary-dark:disabled,
.btn-primary-dark.disabled {
    /* Disabled state */
    color: rgba(255, 255, 255, 0.7); /* Slightly transparent white text */
    background-color: rgba(31, 42, 64, 0.5); /* Semi-transparent base color */
    border-color: rgba(31, 42, 64, 0.5); /* Semi-transparent border */
    opacity: 0.8; /* Slightly reduced opacity */
    cursor: not-allowed;
}


/* Outline button for Primary Dark (#1F2A40) */
.btn-outline-primary-dark {
    color: #1F2A40;
    background-color: transparent;
    border: 2px solid #1F2A40;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
}

.btn-outline-primary-dark:hover {
    color: #fff;
    background-color: #1F2A40;
    border-color: #1F2A40;
    box-shadow: 0 0.25rem 0.5rem rgba(31, 42, 64, 0.4);
}

.btn-outline-primary-dark:focus,
.btn-outline-primary-dark.focus {
    color: #fff;
    background-color: #1F2A40;
    border-color: #1F2A40;
    box-shadow: 0 0 0 0.25rem rgba(31, 42, 64, 0.5);
}

.btn-outline-primary-dark:active,
.btn-outline-primary-dark.active {
    color: #fff;
    background-color: #1A2336;
    border-color: #1A2336;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25);
}

.btn-outline-primary-dark:disabled,
.btn-outline-primary-dark.disabled {
    color: rgba(31, 42, 64, 0.5);
    border-color: rgba(31, 42, 64, 0.5);
    cursor: not-allowed;
    opacity: 0.6;
    background-color: transparent;
}




/* Custom btn-orange style using #E87722 */
.btn-orange {
    /* Default state */
    color: #FFFFFF; /* White text for contrast */
    background-color: var(--fa-orange); /* Primary orange tone */
    border-color: var(--fa-orange);
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
}

.btn-orange:hover {
    /* Hover state */
    color: #FFFFFF;
    background-color: #F28A3C; /* Slightly lighter for feedback */
    border-color: #F28A3C;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.btn-orange:focus,
.btn-orange.focus {
    /* Focus state (keyboard accessibility) */
    color: #FFFFFF;
    background-color: #F28A3C;
    border-color: #F28A3C;
    box-shadow: 0 0 0 0.25rem rgba(242, 138, 60, 0.5); /* Transparent ring */
}

.btn-orange:active,
.btn-orange.active {
    /* Active state (clicked) */
    color: #FFFFFF;
    background-color: #C8641C; /* Darker shade for pressed effect */
    border-color: #C8641C;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25);
}

.btn-orange:disabled,
.btn-orange.disabled {
    /* Disabled state */
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(232, 119, 34, 0.5);
    border-color: rgba(232, 119, 34, 0.5);
    opacity: 0.8;
    cursor: not-allowed;
}

/* Outline button for Orange (#E87722) */
.btn-outline-orange {
    color: var(--fa-orange);
    background-color: transparent;
    border: 2px solid var(--fa-orange);
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
}

.btn-outline-orange:hover {
    color: #fff;
    background-color: var(--fa-orange);
    border-color: var(--fa-orange);
    box-shadow: 0 0.25rem 0.5rem rgba(232, 119, 34, 0.4);
}

.btn-outline-orange:focus,
.btn-outline-orange.focus {
    color: #fff;
    background-color: var(--fa-orange);
    border-color: var(--fa-orange);
    box-shadow: 0 0 0 0.25rem rgba(232, 119, 34, 0.5);
}

.btn-outline-orange:active,
.btn-outline-orange.active {
    color: #fff;
    background-color: #C8641C;
    border-color: #C8641C;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25);
}

.btn-outline-orange:disabled,
.btn-outline-orange.disabled {
    color: rgba(232, 119, 34, 0.5);
    border-color: rgba(232, 119, 34, 0.5);
    cursor: not-allowed;
    opacity: 0.6;
    background-color: transparent;
}





  
/* Cards */
.card-primary-dark {
      /* border: 1px solid var(--fa-primary-dark); */
     border: 1px solid #bbb; 
	  border-radius: 0.75rem;
      background-color: var(--card-bg);
      box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
      margin-bottom: 1.5rem;
    }

.card-primary-dark .card-header {
	background-color: var(--fa-primary-dark);
	color: var(--text-light);
	font-weight: 500;
	border-top-right-radius: 0.75rem;
	border-top-left-radius: 0.75rem;
	
  	border-bottom: none;
  	font-size: 1.2em;
}

.card-primary-dark .card-body {
	color: var(--text-dark);
}