
body
	margin: 0
	background: #f5f5f5
	font-family: 'Poppins', sans-serif
	line-height: 2em

.wrapper
	max-width: 800px
	margin: auto
	margin-top: 80px

.tab-wrapper
	text-align: center
	display: block
	margin: auto
	max-width: 500px

.tabs
	margin: 0
	padding: 0
	display: flex
	justify-content: center

.tab-link
	margin: 0 1%
	list-style: none
	padding: 10px 40px
	color: #aaa
	cursor: pointer
	font-weight: 700
	transition: all ease 0.5s
	border-bottom: solid 3px rgba(255,255,255,0.0)
	letter-spacing: 1px

.tab-link:hover
	color: #999
	border-color: #999

.tab-link.active
	color: #333
	border-color: #333

.tab-link:nth-of-type(1).active
	color: #EE6534
	border-color: #EE6534

.tab-link:nth-of-type(2).active
	color: #1790D2
	border-color: #1790D2

.tab-link:nth-of-type(3).active
	color: #EEC63B
	border-color: #EEC63B

.content-wrapper
	padding: 40px 80px

.tab-content
	display: none
	text-align: center
	color: #888
	font-weight: 300
	font-size: 15px
	opacity: 0
	transform: translateY(15px)
	animation: fadeIn 0.5s ease 1 forwards

.tab-content.active
	display: block

@keyframes fadeIn
	100%
		opacity: 1
		transform: none


bodyx {
  background: rgba(52, 95, 144, 0.07);
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 2.66667;
}

.container {
  width: 75%;
  margin: 1rem auto;
}

h2 {
  color: #345F90;
  font-size: 24px;
  line-height: 1.25;
  font-family: "Roboto Slab", serif;
  margin-top: 20px;
  margin-bottom: 20px;
}

#back2Top {
    width: 40px;
    line-height: 40px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    position: fixed;
    bottom: 50px;
    right: 0;
    background-color: #DDD;
    color: #555;
    text-align: center;
    font-size: 30px;
    text-decoration: none;
}
#back2Top:hover {
    background-color: #DDF;
    color: #000;
}

.tab-slider--nav {
  width: 100%;
  float: left;
  margin-bottom: 20px;
}

.tab-slider--tabs {
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  border-radius: 35px;
  overflow: hidden;
  background: #fff;
  height: 35px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.tab-slider--tabs:after {
  content: "";
  width: 50%;
  background: #345F90;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;
  border-radius: 35px;
}
.tab-slider--tabs.slide:after {
  left: 50%;
}

.tab-slider--trigger {
  font-size: 12px;
  line-height: 1;
  font-weight: bold;
  color: #345F90;
  text-transform: uppercase;
  text-align: center;
  padding: 11px 20px;
  position: relative;
  z-index: 2;
  cursor: pointer;
  display: inline-block;
  -webkit-transition: color 250ms ease-in-out;
  transition: color 250ms ease-in-out;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.tab-slider--trigger.active {
  color: #fff;
}

.tab-slider--body {
  margin-bottom: 20px;
}








body{
    margin:0px;
    font-family:arial;
    font-size:14px;
    background-color:darkslategray;
}

table{
    font-size:12px;
}


a{
    text-decoration:none;
    color:inherit;
    cursor:pointer;
}

a:hover {
  color: blue;
  text-decoration: underline;
}


input{
    padding-left:5px;
    padding-right:5px;
    width:250px;
    height:30px;
    border-style:solid;
    border-radius:5px;
    border-width:1px;
    border-color: silver;
    font-size:14px;
}

select{
    height:24px !important;
    min-height:24px !important;
    width:250px;
    font-size:14px;
    padding:0 8px;
    line-height:normal !important;
    appearance: menulist;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
}

select option{
    line-height:normal;
}

textarea{
    width:100%;
    border-style:solid;
    border-radius:5px; 
    padding:10px; 
    border-color:silver;
    border-width:1px;
    resize:vertical; 
    font-family:arial;
    font-size:14px;
}

th{
    font-style:bold;
    text-align:left;
}

.edit_button{
    font-weight:bold;
    border-style:none;
    background-color:orange;
    color:white;
    border-radius:5px;
    padding:5px;
    text-align:center;
    font-size:14px;
    cursor:pointer;
}


.delete_button{
    border-style:none;
    background-color:grey;
    color:white;
    border-radius:5px;
    padding:5px;
    font-size:14px;
    cursor:pointer;
    width:150px;
}

.check_button{
    border-style:none;
    background-color:green;
    color:white;
    border-radius:5px;
    padding:5px;
    font-size:14px;
    cursor:pointer;
    width:150px;
}

.wrapper{
    width:100%;
    background-color:white;
}

.header{
    color:whitesmoke;
    width:100%;
    border-radius:5px;
    background-colo:white;
}

.logo{
    padding:10px;
    height:40px;    
}

.current_user{
    color:whitesmoke;
    padding:5px;
    font-style:italic;
}

.logout{
    background-color: gray;
    color:whitesmoke;
    padding:5px;
    border-radius:5px;
    border-style:none;
}

/* Scoped to legacy layout table cell only — avoids clashing with app shell <ul> menus */
td.menu{
    width:13%;
    height:1000px;
    background-color:darkslategray;
}

.menu_bar{
    width:100%;
    background-color:darkslategray;
}

.icon_box{
    width:40px;
}

.menu_icon{
    width:30px;
    border-radius:0px;
}

.icon_box_small{
    width:30px;
}

.menu_icon_small{
    width:25px;
    border-radius:0px;
}


.menu_item{
    text-align:left;
    width:100%;
    border-radius:0px;
    padding:5px;
    font-size: 14px;
    font-weight:bold;
    color:whitesmoke;
    background-color:darkslategray;
}


.menu_item:hover{
    background-color:darkgray;    
}

.menu_item_small{
    text-align:left;
    width:100%;
    border-radius:0px;
    padding:0px;
    font-size: 14px;
    font-weight:bold;
    color:whitesmoke;
    background-color:darkslategray;
}

.menu_item_small:hover{
    background-color:darkgray;    
}

.content{
    width:100%;
    border-top-style:solid;
    border-width:1px;
    border-radius:0px;
    padding:10px;
    font-size:14px;
    background-color:white;
}

.footer{
    background-color:darkslategray;
    width:100%;
    font-size:12px;
    text-align:center;
    color:whitesmoke;
    border-radius:0px;
}

.new_button{
    background-color: orangered;
    color:white;
    font-weight:bold;
    border-radius:5px;
    font-size:14px;
    padding:5px;
    border-style:none;
    cursor:pointer;
    width:150px;
}

.out_button{
    background-color: teal;
    color:white;
    font-weight:bold;
    border-radius:5px;
    font-size:14px;
    padding:5px;
    border-style:none;
    cursor:pointer;
    width:150px;
}

.print_button{
    background-color: darkgreen;
    color:white;
    font-weight:bold;
    border-radius:5px;
    font-size:14px;
    padding:5px;
    border-style:none;
    cursor:pointer;
    width:150px;
}


.list_table{
    width:100%;
    border-style:solid;
    border-width:1px;
}


.filter_text{
    width:150px;
}

.filter_button{
    background-color:orange;
    border-style:none;
    width:100px;
}

.page_nav{
    width:30px;
    border-style:solid;
    border-width:1px;
    padding-left:8px;
    padding-right:8px;
    padding-top:2px;
    padding-bottom:2px;
    font-size:15px;
    font-weight:bold;
    border-radius:3px;
}




.page_nav_select{

    border-radius:3px;
    border-style:solid;
    border-width:1px;
    border-color:whitesmoke;
    padding:3px;
}


.export_icon{
    width:25px;
}


.dlabel{
    background-color:silver;
    text-align:right;
    height:40px;
    font-size:14px;
    width:30%;
    padding:10px;
}

.dcontent{
    background-color: #eeeeee;
    font-weight:bold;
    font-size:14px;
}

.error_notification{
    color:red;
    font-size:14px;
}

.small_icons{
    width:18px;
}

.medium_icons{
    width:40px;
}

.suggested{
    font-size:13px;
    cursor: pointer; 
    width:100%; 
    border-style:solid; 
    border-width:1px; 
    border-color: whitesmoke;
    background-color:white;
    padding:5px;
}

.suggested:hover{
    background-color: #f6f6f6;
}

.range{
    font-size:18px; 
    width:40px; 
    height:40px; 
    color:orangered; 
    font-weight:bold;
    cursor:pointer;
}

body {
  background: #f0f0f2;
  font-family: 'Hind Siliguri', sans-serif;
}

.box {
  background: white;
  margin: auto;
  margin-top: 5%;
  max-width: 100%;
  padding: 5px 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.box:hover {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  animation-name: example;
  animation-duration: 0.25s;
  border-left: 4px solid teal;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}



h1 {
  text-transform: uppercase;
}

p {
  text-align: justify;
}

@keyframes example {
    0%   {border-left: 2px solid #ffffff;}
    25%  {border-left: 3px solid #ffe6e6;}
    50%  {border-left: 4px solid #ff8080;}
    100% {border-left: 5px solid #ff0000;}
}

.range:hover{
    color:teal;
}

.blue_button{
    background-color:teal;
    color:white;
    font-size:14px;
    font-weight:bold;
    border-style:none;
    border-radius:5px;
}
.blink {
  animation: blink 1s steps(1, end) infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* === Modern visual refresh (keeps legacy PHP logic intact) === */
body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 14px;
  color: #1f2937;
  background: #f3f7fb;
}

a {
  color: inherit;
}

.wrapper {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #0f3d3e;
  color: #f8fafc;
  box-shadow: 0 3px 14px rgba(15, 61, 62, 0.2);
}

.header__left,
.header__right {
  display: flex;
  align-items: center;
}

.logo {
  height: 44px;
  width: auto;
  padding: 0;
}

.account_bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
}

.current_user {
  color: #ecfeff;
  font-style: normal;
  font-weight: 500;
  padding: 0;
}

.header-user-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.logout {
  background: #ef4444;
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

td.menu {
  width: 15%;
  min-width: 210px;
  background: #0c2f30;
  padding-top: 10px;
}

.menu_bar,
.menu_item,
.menu_item_small {
  background: transparent;
}

.menu_item,
.menu_item_small {
  border-radius: 8px;
  margin: 2px 8px;
  padding: 10px 12px;
  color: #e6fffd;
}

.menu_item:hover,
.menu_item_small:hover {
  background: rgba(255, 255, 255, 0.12);
}

.content {
  border: none;
  border-radius: 0;
  background: #f3f7fb;
  padding: 18px;
}

.content table[style*="background-color:white"] {
  border: 1px solid #e5e7eb;
  border-radius: 12px !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.footer {
  background: #0f3d3e;
  color: #e2e8f0;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.new_button,
.out_button,
.print_button,
.edit_button,
.delete_button,
.check_button,
.blue_button {
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.new_button { background: #ea580c; }
.out_button { background: #0f766e; }
.print_button { background: #166534; }
.edit_button { background: #d97706; }
.delete_button { background: #6b7280; }
.check_button { background: #16a34a; }
.blue_button { background: #0f766e; }

.login-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f3d3e 0%, #082728 100%);
}

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
}

.login-card {
  width: 380px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f8fafc;
  padding: 26px;
}

.login-brand {
  text-align: center;
  margin-bottom: 14px;
}

.login-logo {
  height: 58px;
}

.login-brand h1 {
  margin: 8px 0 3px;
  font-size: 20px;
  text-transform: none;
}

.login-brand p {
  margin: 0;
  text-align: center;
  color: #cbd5e1;
}

.login-alert {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
  border: 1px solid rgba(252, 165, 165, 0.5);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 13px;
}

.login-form-row {
  margin-bottom: 12px;
}

.login-form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #cbd5e1;
}

.login-form-row input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(226, 232, 240, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 10px;
  padding: 0 12px;
}

.login-form-row input::placeholder {
  color: #cbd5e1;
}

.login-submit {
  background: #0f8b8d !important;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.login-submit:hover {
  background: #0d7375 !important;
}

.dashboard-page .content[style] {
  background-color: #f3f7fb !important;
  padding: 20px !important;
}

.dashboard-title {
  margin: 6px 0 18px;
  font-size: 22px !important;
  color: #0f3d3e;
  letter-spacing: 0.3px;
}

.metric-panel {
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08) !important;
}

.metric-panel table[style*="background-color:teal"] {
  background: linear-gradient(135deg, #0f766e, #0d9488) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.3);
}

.metric-panel table[style*="background-color:orange"] {
  background: linear-gradient(135deg, #f59e0b, #fb923c) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.3);
}

.metric-panel table[style*="background-color:orangered"] {
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.3);
}

.dashboard-title-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.dashboard-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0f3d3e;
}

.dashboard-subtitle {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.dash-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.dash-section-head h3 {
  margin: 0 0 12px;
  color: #1e293b;
  font-size: 18px;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
}

.dash-card {
  border-radius: 12px;
  color: #ffffff;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.18);
}

.dash-card span {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.dash-card small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.95;
}

.dash-card-teal {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.dash-card-orange {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.dash-card-red {
  background: linear-gradient(135deg, #ea580c, #dc2626);
}

@media (max-width: 1200px) {
  .dash-cards {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 700px) {
  .dash-cards {
    grid-template-columns: 1fr;
  }
}