* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	font-size: 16px;
}
body {
  	background-color: #f3f3f3;
}
body.loginpage{
    background-color: #002a41;
}
.login {
  	width: 500px;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
  	padding:30px;
}
.login h1 {
  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 0px;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
  	border-top: none;
    border-left: none;
    border-right: none;
    font-size:14px;
}
.login form input[type="submit"] {
  	width: 200px;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #ff5f0e;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
  	    margin-bottom: 20px;
    border-radius: 30px;
}
.login form input[type="submit"]:hover {
	background-color: #012b41;
  	transition: background-color 0.2s;
}
.navtop {
	background-color: #2f3947;
	height: 60px;
	width: 100%;
	border: 0;
}
.navtop div {
	display: flex;
	margin: 0 auto;
	width: 1000px;
	height: 100%;
}
.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}
.navtop div h1 {
	flex: 1;
	font-size: 24px;
	padding: 0;
	margin: 0;
	color: #eaebed;
	font-weight: normal;
}
.navtop div a {
	padding: 0 20px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}
.navtop div a i {
	padding: 2px 8px 0 0;
}
.navtop div a:hover {
	color: #eaebed;
}
body.loggedin {
	background-color: #f3f4f7;
}

.content-container {
  display: grid;
  grid-template-columns: 200px auto; 
      gap: 50px;
    margin-right: 50px;
}


.container {
  padding: 40px;
    background: #fff;
    margin-top: 3%;
}
.content h2 {
	margin: 0;
	padding: 25px 0;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}
.content > p, .content > div {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 25px 0;
	padding: 25px;
	background-color: #fff;
}
.content > p table td, .content > div table td {
	padding: 5px;
}
.content > p table td:first-child, .content > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}
.content > div p {
	padding: 5px;
	margin: 0 0 10px 0;
}

#sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 200px;
  background-color: #002a41;
  color: #fff;
  transition: width 0.3s ease;
  padding-top:20px;
  margin-left: 20px;
    margin-top: 1%;
    margin-bottom: 20px;
    height: 95%;
}

#sidebar.collapsed {
  width: 50px; 
}

#sidebar ul {
  list-style-type: none;
  padding: 0;
  text-align:center;
}

#sidebar ul li {
  padding: 10px;
}

#sidebar ul li a {
  color: #fff;
  text-decoration: none;
}


#sidebarToggle {
  position: absolute;
  top: 10px;
  right: -40px;
  background-color: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 0 5px 5px 0;
}

.hidden {
  display: none;
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.logout-btn{
        position: absolute;
    bottom: 65px;
}
.logoutLink{color:#fff;}
.filters {
  display: flex;
  justify-content: space-between; 
  align-items: center; 
}

.filter-row {
  display: flex;
  align-items: center; 
  gap: 15px;
}

label {
  margin-right: 0px !important; 
}
.invoiced{text-align:right;}
.total_lab{text-align:left;}
tbody{text-align:right;}
th{text-align:right;}
tr:last-child{
  background-color: #012a41 !important; 
  color:#fff;
  font-weight:bold;
}
.filters button {
padding: 8px 16px;
    background-color: #ff5f00;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 120px;
}

.filters button:hover {
    background-color: #012a41;
}
.download button {
padding: 8px 16px;
    background-color: #ff5f00;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 120px;
    float: left;
    margin-top: 35px;
}

.download button:hover {
    background-color: #012a41;
}
h1 {
    text-align: center;
    margin-bottom: 20px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filters label {
    margin-right: 10px;
}

.filters select,
.filters input[type="date"] {
    padding: 7px;
    border-radius: 30px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #f2f2f2;
}

tfoot td {
    font-weight: bold;
}
  .dashcontainer{
  padding: 40px;
    background: #fff;
    margin-top: 3%;
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  margin-top:40px;
  margin-bottom:40px;
}
.dashboard1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
}

.widget {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  min-width: 300px; 
  min-height: 170px; 
}
.widget1 {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  min-width: 300px; 
  min-height: 150px; 
}
.icon{margin-right:10px;}
.dash-count{
        font-size: 35px;
    font-weight: bold;
    color: #ff5f0e;
    margin-top:54px;
}
.dash-h1{font-size:20px;
    font-weight:bold;
}
.loginlinks{
    text-decoration: none;
    margin-right: 10px;
    text-align: center;
    color:#ff5f0e;
}
.login_link{margin:0 auto;text-align: center;}
#sidebar ul li:hover{
    background:#ff5f00;
}
.lost-row {
    background-color: #ffcccc82; 
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #002a419e;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #ff5f00;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: #000000b0; 
}


.modal-content {
background-color: #fefefe;
    margin: 10% auto;
    padding: 10px;
    border: 1px solid #888;
    width: 45%;
    border-radius: 0px;
    min-height: 330px;
}


.close {
    display:none;
    color: #ff6602;
    float: right;
    font-size: 30px;
    font-weight: bold;
    margin-right: 10px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.modal-content h2 {
  margin-top: 0;
}


#reasonInput {
      width: 100%;
    margin-bottom: 25px;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 0px;
    height: 60px;
    margin-top: 20px;
}

#reasonInput:focus {
  outline: none;
  border-color: #719ECE;
}
.contentPopup{
    padding:40px;
}
.popupBtn{
        background-color: #ff6600;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    width: 180px;
}
#saveToLogButton{
    background-color: #ff6600;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    margin-top:30px !important;
    cursor: pointer;
    margin: 0 auto;
    display: block;
}
.confirmContainer{
    width: 100%;
    margin: 0 auto;
    display: flex;
}
button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

button:hover {
  background-color: #05263f;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.tab {
    overflow: hidden;
    background-color: #002a41;
}
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  border-radius: 0;
}
.tab button:hover {
  background-color: #ff5f00;
}
.tab button.active {
    background-color: #ff5f00;
}
.tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
}
.tabcontent {
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}
tr#com-head:last-child{
    background-color: #fff !important;
    color: #000;
    font-weight: normal;
}
#commission-tab{
    margin-top:30px;
    margin-bottom:40px;
}
.cal-btn{
    background-color: #ff5f00;
    border-radius: 30px;
    margin-bottom: 10px;
    margin-top: 20px;
}
.period,
.sales,
.confirmed{
    color:#000;
}
.sales{
    font-size: 20px;
    font-weight: bold;
    color: #ff5f00;
}
.period{
    font-size:20px;
    font-weight:bold;
}
.confirmed{
    font-size:14px;
}








