
 html 
 {
   box-sizing: border-box; 
   font-family: sans-serif; 
   line-height: 24px; 
   height: 100%; 
   -webkit-text-size-adjust: 100%; 
   -ms-text-size-adjust: 100%; 
   -ms-overflow-style: scrollbar; 
   -webkit-tap-highlight-color: transparent; 
   scroll-behavior: smooth; 
  }
body { 
  background-color: #fff; 
  font-family: 'Roboto Condensed', sans-serif; 
  font-size: 14px; 
  font-weight: 300; 
  color: #3c3c3c; 
  -webkit-text-size-adjust: 100%; 
  margin: 0; 
  overflow-x: hidden;
   box-sizing: border-box;
    min-height: 100%; 
    display: grid; 
    grid-template-rows: auto 1fr auto; 
    grid-template-columns: 100%;
   }
*, *::before, *::after { box-sizing: inherit; }
* { 
  vertical-align: top; 
  box-sizing: border-box; 
  font-family: 'Roboto Condensed', sans-serif; 
  font-size: 14px; line-height: 1.2em;}
@-ms-viewport { width: device-width; }
/*start login page */
.login_main_body {
  background: url(../images/ssa-soft.jpg) no-repeat center center; 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-box {
  background: rgba(255, 255, 255, 0.8); 
  padding: 50px;
  border-radius: 30px; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.login-box h4 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}
button.btn.btn-primary.login {
  width: 100%;
}
.form-group {
  position: relative;
}

.form-group i {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #666;
  cursor: pointer;
}

.form-control {
  height: 45px;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
}
.btn-right {
  float: right;
  margin-top: -10px; 
}
.btn-primary {
  /* width: 100%; */
  height: 45px;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.alert {
  font-size: 14px;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.login_txt {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .login_main_body {
      margin: 10px;
      padding: 15px;
  }

  .login-box h4 {
      font-size: 20px;
  }

  .form-control {
      height: 40px;
  }

  .btn-primary {
      height: 40px;
      font-size: 14px;
  }
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.form-check-label {
  margin-bottom: 0;
  font-size: 13px;
  white-space: nowrap;
}
/* end login page design*/

/*start header page */

.header {
  background-color: #343a40;
}

.navbar-brand .logo {
  height: 30px; /* Adjust logo size */
}

.portal-title {
  font-size: 1.5rem; /* Font size for the portal title */
  font-weight: bold;
}

.navbar .navbar-nav .nav-item {
  margin-left: 20px;
}

/* Navbar Items */
.greeting, .user-name, .change-password, .logout {
  font-size: 1rem;
}

.greeting {
  color: #f8f9fa; /* Greeting color */
}

.user-name {
  color: #f8f9fa;
  font-weight: bold;
  padding-left: 10px;
}

.change-password, .logout {
  font-size: 1.2rem;
  color: #f8f9fa;
  padding-left: 10px;
}

.change-password:hover, .logout:hover {
  color: #ff7f50; /* Hover color */
}

/* Responsive Styles */
@media (max-width: 991px) {
  .navbar-expand-lg .navbar-collapse {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-brand {
    flex-grow: 1;
    justify-content: flex-start;
  }

  .navbar-nav {
    margin-top: 10px;
  }

  .greeting, .user-name, .change-password, .logout {
    font-size: 1.1rem; /* Adjust size on small screens */
  }

  .navbar-collapse {
    text-align: left;
  }
}

  /* Make navbar content responsive */
  .navbar {
    padding: 0.5rem 1rem;
  }

  .navbar-brand img {
    max-height: 50px;
  }

  .portal-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 10px;
  }

  /* Sidebar toggle button */
  .sidebar-toggle {
    position: absolute;
    top: 50%;
    left: 20px; /* Align button to the left */
    transform: translateY(-50%);
  }

  /* Navbar content for medium and larger screens */
  @media (min-width: 768px) {
    .sidebar-toggle {
      display: none; /* Hide toggle on larger screens */
    }
    .navbar .col-lg-9 {
      justify-content: flex-end;
    }
  }

  /* User profile and logout styling */
  .greeting {
    font-size: 1rem;
    font-weight: 400;
    color: white;
  }

  .user-name {
    color: white;
    font-weight: 600;
    margin-right: 15px;
    text-decoration: none;
  }

  .user-name:hover {
    color: #f0f0f0;
  }

  .change-password, .logout {
    color: white;
    font-size: 1.2rem;
    margin-left: 10px;
    text-decoration: none;
  }

  .change-password:hover, .logout:hover {
    color: #f0f0f0;
  }

  /* Responsive design for smaller screens */
  @media (max-width: 767px) {
    .navbar .container-fluid {
      padding-left: 0;
      padding-right: 0;
    }

    .navbar-nav {
      flex-direction: column;
      text-align: center;
    }

    .greeting, .user-name, .change-password, .logout {
      margin: 5px 0;
    }
  }
  button#sidebar-toggle {
    background: no-repeat;
}
/*end header page */
/*side bar*/
#sidebar-item {
  background-color: #ececec;
  transition: all 0.3s ease;
}

#sidebar-menu {
  list-style-type: none;
  padding: 5px;
}

#sidebar-menu li {
  margin: 10px 0;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.nav-link:hover {
  color: #0000;
  text-decoration: none;
}

.active .nav-link {
  background-color: #0000;
  color: white;
  border-radius: 4px;
}

/* Make the sidebar collapsible on smaller screens */
@media (max-width: 767px) {
  #sidebar-item {
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      width: 100%;
      max-width: 300px;
      transform: translateX(-100%);
      z-index: 9999;
      transition: transform 0.3s ease-in-out;
  }

  #sidebar-item.show {
      transform: translateX(0);
  }

  #sidebar-menu {
      display: block;
      padding-left: 20px;
  }

  .nav-link {
      font-size: 14px;
  }

  .fa {
      font-size: 18px;
  }
}
#sidebar-menu li {
  /* margin: 10px 0; */
  border-bottom: 1px solid #ddd; /* Add a light bottom border */
}

/* Mobile view - Sidebar is hidden */
@media (max-width: 767px) {
  #sidebar-item {
      position: fixed;
      top: 0;
      left: -250px;
      width: 250px;
      height: 100%;
      background-color: #ececec;
      transition: 0.3s;
  }

  #sidebar-item.show {
      left: 0;
  }

  #sidebar-close {
      display: block;
  }
}

/* Desktop view - Sidebar is always visible */
@media (min-width: 768px) {
  #sidebar-item {
      position: static;
      width: 250px;
  }
}

ul#sidebar-menu li {
  border-bottom: solid 1px #fff;
  position: relative;
  min-width: 100%;
  max-width: 100%;
}
ul#sidebar-menu li span.dropdown-trigger { 
  position: absolute; 
  top: 3px; 
  right: 0px; 
  width: 14px;
  height: 14px; 
  display: flex;
  align-items: center; 
  border: 0px; 
  padding: 0px; 
  margin: .2rem 0rem; 
  text-align: center !important; 
  color: #fff; font-size: 14px; 
  background-color: #3164a2; 
  cursor: pointer;}
ul#sidebar-menu li span.dropdown-trigger.collapsed { 
  display:none; 
}
ul#sidebar-menu li span.dropdown-trigger span.fa { 
  min-widtH: 100%; 
  text-align: center; 
}
ul#sidebar-menu li span.dropdown-trigger.collapsed span.fa-caret:before { 
  content: "\f0d7"; 
}
ul#sidebar-menu li span.dropdown-trigger span.fa-caret:before { 
  content:"\f0d8"; 
}

ul#sidebar-menu li a {
   display: flex;
   justify-content: flex-start;
   font-weight: 500;
   font-size: 14px;
   padding: .3rem 6px .3rem 10px;
   margin: .1rem 0rem;
   align-items: center;}

ul#sidebar-menu li a[data-target] {
   padding-right: 17px; 
  }
ul#sidebar-menu li a:hover { 
  background-color: #000;
   color: #ffff !important;  
}
ul#sidebar-menu li.active a { 
  background-color: #000;
   color: #fff; 
  }
ul#sidebar-menu li a span.item-icon_ {
   line-height: 14px; 
  margin-right: 6px; 
}
ul#sidebar-menu li a span.item-text_ {
  white-space: nowrap; 
  white-space: normal;
  font-size: 14px;
  line-height: 14px;
}
ul#sidebar-menu li ul.submenu_ li {
   border-top: solid 1px #cecece; 
   border-bottom: solid 0px #cecece; 
  }
ul#sidebar-menu li ul.submenu_ li a { 
  min-width: 100%; 
  display: inline-block; 
  padding: .2rem 2rem; 
}

/*sidebar end */
/*dashbord screen */
.stats-info {
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.stats-info h6 {
  font-weight: normal;
}
.stats-info h4 {
  font-weight: bold;
  font-size:20px;
}
.date-time {
  font-size: 18px;
  color: #555;
}
.alert {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  margin-bottom: 1rem;
}
.dashboard-header {
  border-bottom: 1px solid #cecece;
  padding: 10px 0;
}

.dashboard-title h4 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #333;
  text-align: left;
}

.date-time {
  font-size: 16px;
  font-weight: 500;
  color: #555;
  text-align: right;
  margin-top: 8px;
}
/* dashboard end */

/* footer design */
/* Loader Styles */
#loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

#loader .spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Footer Styles */
.footer {
  background-color: #333;
  color: #fff;
  padding: 10px 0;
  text-align: center;
  margin-top: 2px
}

.footer .footer_copy_text,
.footer .footer_design_text {
  margin-bottom: 10px;
}

.footer .footer_design_text p {
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer {
    padding: 10px 0;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 5px 0;
  }
}

/*footer end design */

/* Main Wrapper */
.main-wrapper {
  background-color: #fff;
  padding-top: 0px;
}

.container-fluid {
  padding-left: 15px !important;
  padding-right: 15px !important;
}
/* Success and Error Messages */
.alert {
  margin-top: 20px;
  border-radius: 5px;
  padding: 15px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert svg {
  margin-right: 10px;
}

/* Add New Button */
.btn.bg-blue-txt-wht {
  border-radius: 5px;
  font-size: 14px;
  background: #3b7ec4;
  color: white;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

.btn.bg-blue-txt-wht:hover {
  background: #2a5c8d;
}

/* Table Styling */
.table-responsive {
  margin-top: 20px;
  display: block;
    width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
}

table thead {
  background-color: #333;
  color: #fff;
}

table th, table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table tbody tr:hover {
  background-color: #f4f7fc;
}

table tbody td {
  vertical-align: middle;
}

.table-bordered th, .table-bordered td {
  border: 1px solid #ddd;
}

/* Action Buttons and Switch */
.fa-pencil, .fa-trash-o {
  font-size: 18px;
  cursor: pointer;
  margin-right: 10px;
}

.fa-pencil {
  color: #28a745;
}

.fa-trash-o {
  color: #dc3545;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 50px;
}

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

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

input:checked + .slider:before {
  transform: translateX(20px);
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  border-radius: 50px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
}
/* Responsive Design */
@media (max-width: 768px) {
  .dashboard-header {
      flex-direction: column;
      text-align: center;
  }

  .dashboard-title h4 {
      font-size: 20px;
  }

  .date-time {
      margin-top: 10px;
      font-size: 12px;
  }

  .table-responsive {
      padding: 10px;
  }

  table {
      font-size: 12px;
  }

  .btn.bg-blue-txt-wht {
      width: 100%;
      padding: 12px;
  }

  .col-sm-9, .col-lg-10 {
      flex: 1;
      max-width: 100%;
      border-left: none;
  }
}

@media (max-width: 576px) {
  .dashboard-header {
      padding: 10px 0;
  }

  table th, table td {
      font-size: 10px;
  }

  .fa-pencil, .fa-trash-o {
      font-size: 16px;
  }

  .switch {
      width: 35px;
      height: 18px;
  }

  .slider:before {
      height: 14px;
      width: 14px;
  }
}
.ssa-form input, .ssa-form select, .ssa-form button {
  font-size: 16px;
  border-radius: 4px;
  box-shadow: none;
}

.ssa-form .form-control {
  padding: 10px;
  font-size: 14px;
}

.txt-gray-6 {
  color: #666;
}

.weight_600 {
  font-weight: 600;
}

.date-time {
  font-size: 14px;
  color: #333;
}

.alert {
  margin-top: 20px;
  margin-bottom: 20px;
}

.btn-dark {
  background-color: #333;
  color: #fff;
  border: none;
  font-size: 14px;
  padding: 10px 20px;
}

.btn-dark:hover {
  background-color: #444;
}

@media (max-width: 767px) {
  .ssa-form .form-control {
      font-size: 12px;
  }

  .ssa-form .col-sm-12 {
      padding-left: 10px;
      padding-right: 10px;
  }

  .btn-dark {
      font-size: 12px;
      padding: 8px 16px;
  }
}

@media (max-width: 576px) {
  .ssa-form .form-control {
      font-size: 12px;
  }

  .btn-dark {
      font-size: 12px;
      padding: 8px 16px;
  }

  .date-time {
      font-size: 12px;
  }
}
.error {
  color: red!important;
}
.table-responsive {
  overflow-x: hidden;
}

.employee-datatable1 th, .employee-datatable1 td {
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}

.table-row:hover {
  background-color: #f8f9fa;
}

.bg-gray-80 {
  background-color: #343a40;
}

.thead-light th {
  background-color: #f7f7f7;
}
::-webkit-scrollbar-track {
   background-color: #cecece; 
   border-left: 1px solid #cecece 
  }
::-webkit-scrollbar { 
  width: 9px; 
  background-color: #171718; 
  max-height: 9px; }
::-webkit-scrollbar-thumb { 
  background: #232324; 
  border-radius: 6px; }
  tr.table-row.odd {
    background: #eeebebcc;
}
tr.odd {
  background: #eeebebcc !important;
}
/* Form Styling */
.ssa-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.ssa-form label {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.form-control {
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 14px;
  margin-top: 5px;
}

.form-control:focus {
  border-color: #007bff;
  /* box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.25); */
}

/* Button Styling */
.btn-dark {
  background-color: #000;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-dark:hover {
  background-color: #333;
}

.btn-xs {
  font-size: 12px;
  padding: 5px 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .container-fluid {
      padding: 0 10px;
  }
  
  .ssa-form {
      padding: 20px;
  }

  .row.mb-4 {
      margin-bottom: 20px;
  }

  .col-md-6 {
      margin-bottom: 15px;
  }

  .text-center {
      text-align: center;
  }

  .btn-dark {
      width: 100%;
      margin-bottom: 10px;
  }
}
/* Form Layout */
.ssa-form_ {
  /* background-color: #f9f9f9; */
  padding: 30px;
  border-radius: 10px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.row.mb-14_ {
  margin-bottom: 15px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  font-size: 14px;
  color: #6c757d;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  border: 1px solid #ced4da;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  font-size: 14px;
}

.field input[type="number"] {
  -moz-appearance: textfield;
}

.field select {
  height: 45px;
}

.field textarea {
  height: 150px;
}

/* Button Styling */
button.btn {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 5px;
  background-color: #343a40;
  color: #fff;
  border: none;
  cursor: pointer;
  /* transition: background-color 0.3s ease; */
}

button.btn:hover {
  background-color: #23272b;
}

/* Alerts */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

/* Modal */
.modal-content {
  border-radius: 10px;
  border: 1px solid #ced4da;
}

.modal-header {
  background-color: #f1f1f1;
  border-bottom: 1px solid #ced4da;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  border-top: 1px solid #ced4da;
  padding: 10px;
}

.modal-footer button {
  font-size: 14px;
}

input#sum_filed {
  float: right;
  /* text-align: center; */
  margin-right: 24rem;
  width: 104px;
}
input#total_actual_hours {
  width: 75px;
    color: #068baf;
    font-weight: 900;
    border: 1px solid;
    border-radius: 3px;
}

.total_actual_hours {
  display: flex;
  text-align: center;
  margin-left: 56%;
}
label.hours {
  font-weight: 600;
  margin-bottom: 1px;
  color: orange;
}
div#pagination_controls {
  /* text-align: center; */
  float: left;
  margin-bottom: 20px;
}
.alert.alert-success.d-flex.align-items-center {
  justify-content: flex-start;
  width: fit-content;
}
i.fas.fa-plus {
  top: 17px;
  background: #000;
  color: #fff !important;
  padding: 10px 12px 2px 10px;
  margin-right: -10px;
}
a.btn.bg-dark-txt-wht.weight_600.fs-14_ {
  background: #000;
  color: #fff;
  margin: 10px;
}
a.btn.bg-dark-txt-wht.weight_600.fs-14_ :hover{
  background: #000;
  color: #fff;
  margin: 10px;
}
i.fa.fa-calendar-o {
  float: right;
}

tbody#report_data_table tr:nth-child(odd) {
  background-color: #fff !important;
}

tbody#report_data_table tr:nth-child(even) {
  background-color: #e6e6e6; 
}
.row {
    flex-wrap: nowrap;
}
@media (max-width: 480px) {
.row {
    flex-wrap: wrap;
}
}