.regnavbar {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 10px;
  place-content: flex-start;
}

.reg-nav-button {
  display: flex;
  align-items: center;
  padding: 5px 8px;
  margin: 5px;
  color: black;
  text-decoration: none;
  border-radius: 0px;
  border: none;
  transition: all 0.3s;
  font-size: 15px;
}

.reg-nav-button:hover {
  background-color: #d6d8db;
  text-decoration: none;
}

.reg-nav-circle {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #ccc;
  margin-right: 10px;
}

.reg-nav-button.active .reg-nav-circle {
  border: 2px solid #006680;
  background: white;
  color: #006680;
}




@media (max-width: 768px) {
  .navbar-static-top.navbar-inverse .navbar-brand a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 12px !important;
  }

  nav.navbar-right.menu-bar {
    background-color: rgb(255, 255, 255) !important;
    /*   margin-top: 15px;*/
  }

  .wrapper-body .page-heading .page-header h1 {
    text-align: center !important;
    font-size: 26px !important;
  }

  /* body , .wrapper-body{
    overflow-x: hidden !important;
  } */
  .entitylist-filter-option-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

}


/* Default styles for the copy timesheet button */
.copy-timesheet-btn {
  position: absolute;
  right: 44px;
}

/* Desktop styles (1200px and up) */
.copy-timesheet-btn.units-view {
  width: 31%;
  top: 500px;
}

.copy-timesheet-btn.hours-view {
  width: 33%;
  top: 492px;
}

/* Tablet styles (768px to 1199px) */
@media (max-width: 1199px) {
  .copy-timesheet-btn.units-view {
    width: 50%;
    top: 542px;
    right: 64%;
  }

  .copy-timesheet-btn.hours-view {
    width: 52%;
    top: 544px;
    right: 44px;
  }
}

/* Mobile styles (767px and below) */
@media (max-width: 767px) {

  fieldset[aria-label="Timesheet Cost Hours"] .custom-timesheet-container {
    height: auto;
    padding-left: 5px !important;
    overflow-x: auto;

  }

  .copy-timesheet-btn {
    width: auto;
    top: 370px;
  }

  .copy-timesheet-btn.units-view {
    right: 5%;
    top: 792px;
    width: 50%;
  }

  .copy-timesheet-btn.hours-view {
    right: 18px;
     width:60%;
    top: 775px;
  }

  #iz5dm {
    display: block !important;

  }

  div[data-name="candidateAssignmentTimesheets"] {
    margin-right: -100px;

  }

  div[data-name="candidateAssignmentTimesheets"] #Timesheets {
    width: 100%;
  }

  div[data-name="candidateAssignmentTimesheets"] #candidateExpensesSubgrid {
    width: 100%;
  }

}


/* Style code for the timesheet client*/
.loading-overlay {
  position: fixed;
  display: none;
  /* Ensure it's hidden initially */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.custom-timesheet-container {
  margin-top: 20px;
  overflow: visible;
  height: auto;
  padding: 0 28px 20px;
}

.custom-timesheet-container .header-timesheet {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mdtimepicker {
  align-items: center;
  display: flex;
}

.mdtp__wrapper {
  bottom: auto;
  justify-content: center;
}

.timepicker,
.datepicker,
.ratetype-dp,
.break-dp {
  background-color: #f1f1f1;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  padding: .375rem .75rem;
  line-height: 1.5;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  width: 100%;
}

.timepicker:focus,
.datepicker:focus,
.ratetype-dp:focus,
.break-dp:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
  outline: none;
}

input.timepicker::placeholder {
  color: #6c757d;
  opacity: 1;
}

.timesheet-row {
  position: relative;
}

[contenteditable="true"] {
  background-color: #f1f1f1;
}

[contenteditable="true"]:focus {
  outline: 2px solid #0073e6;
  background-color: #e6f7ff;
}

.custom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
}

.custom-modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  text-align: center;
  border-radius: 10px;
}

.content-modal {
  margin: 2% auto;
  width: 70%;
  height: 90%;
}

.custom-modal-content p {
  font-size: 16px;

}

.custom-modal-content p,
.custom-modal-content .custom-btn {
  margin-bottom: 20px;
}

.custom-btn {
  background-color: #1A73E8;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.custom-btn:hover {
  background-color: #1765CC;
  color: white;
}

.custom-modal .modalHeader {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.custom-modal .modalHeader h1 {
  font-size: 21px;
  margin: 0;
}

.custom-modal #sendPDFForm {
  border: none;
  margin-top: 10px;
}

.sendpdfBtn,
.custom-modal .closeModal {
  border: none;
  background: none;
  color: #333333;
  padding-left: 22px;
}

.sendpdfBtn:hover {
  padding: 1px 18px;
  border: 2px solid rgba(0, 0, 0, .15);
}

.delay-loading {
  margin-top: 18%;
}

.filter-container {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 3px;
  float: right;
  width: 200px;
  background-color: #fff;
  margin-bottom: 10px;
}

.filter-dropdown {
  border: none;
  outline: none;
  background: transparent;
  padding: 5px;
  font-size: 14px;
  position: relative;
  width: 100%;
}

.filter-container:focus-within {
  border-color: #000;
}

.filter-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.filter-flex .filterBox {
  width: 100%;
  border: 1px solid #ddd;
  outline: none;
  padding-left: 9px;
  cursor: pointer;
  padding-bottom: 11px;
}

.date .datePicker {
  border: 1px solid #ddd;
  padding: 6px;
  cursor: pointer;
}
.page-header .xrm-attribute-value , .page-heading .page-header  h1{
  font-size: 60px;
  line-height: 72px;
  letter-spacing: 0%;
}
body , .crmEntityFormView{
  background-color:  #E5ECF3 !important;
}
.control input,
.control textarea,
.crmEntityFormView .cell select,
.dropdown-menu,
input[placeholder="Search"] {
  background-color: #ffffff !important;
}
.crmEntityFormView .input-group-addon{
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-left: none; 
  border-bottom-right-radius: 8px;
  border-top-right-radius: 8px;
  line-height: 0.2 !important;
}
.btn-primary {
  background-color: #1A73E8 !important;
  padding: 12px !important;
  border-radius: 8px !important;
  border: none !important;

}

.btn-primary:hover {
  background-color: #1765CC !important;
}

.btn-info,
.toggle-btn {
  background-color: #001F5D !important;
  border-color: #001F5D !important;
}

.btn-info:hover {
  background-color: #001234 !important;
}
.toggle-btn:hover {
  background-color: #001234 !important;
}

/* .btn-default {
  color: #1A73E8 !important;
  border-color: #1A73E8 !important;
} */
.btn-default:hover, button.workflow-link:hover, button[data-workflowid="dc6df082-6b1e-4d27-bc95-ee370726ef00"]:hover {
  background-color: #1765CC !important;
  color: #fff8e6 !important;
}
button.workflow-link{
  color: #f6fbff !important;
  border-color: #1A73E8 !important;
  background-color: #001f5d !important;
  border-radius: 8px !important; 
  box-shadow: inset 0 -4px 4px rgba(27, 27, 27, 0.25), inset 0 2px 4px #6e94c6 !important;
  padding: 12px !important; 
  font-weight: 400 !important;
}

button[data-workflowid="dc6df082-6b1e-4d27-bc95-ee370726ef00"]{
    background-color: #ffff !important;
    color: #001f5d !important;
    box-shadow: none !important;
    border: 2px solid #001f5d !important;
}
.navbar-inverse .navbar-nav .open .dropdown-menu {
  background-color: #006680 !important;
}
.alert-success {
    background-color: #10B981 !important;
}
.alert-danger {
    background-color: #F59E0B;
    border-color: #f9f1f1;
    color: #000;
}
.view-empty.message{
  text-align: center;
}
.copy-btn{
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
/* New Design */
.crmEntityFormView .input-group-addon{
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-left: none; 
  border-bottom-right-radius: 8px;
  border-top-right-radius: 8px;
  line-height: 0.2 !important;
}
/* timesheet details page*/
 #custom-timesheet-table, .view-grid.table-responsive{
  box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
  border-radius: 8px !important;
}
table thead tr{
  background-color: #e5ecf3 !important;
}
table thead tr th a, table thead th{
  color: #000 !important;
  font-weight: 400;
}
#custom-timesheet-body input, #custom-timesheet-body select{
  background-color: #f6fbff !important;
  border-radius: 8px;
  color: #111827;
} 
#custom-timesheet-body>tr>td{
  border: none !important;
}
.columnBlockLayout{
  margin-top: 0px !important;
}
.alert-warning{
  text-align: center;
  background-color: #f6fbff !important;
  border: none !important;
}
.entity-grid .message{
  margin: 0 !important;
}
#EntityFormPanel {
    border-radius: 32px !important;
    padding: 20px !important;
    background-color: #f6fbff !important;
}
.view-grid.table-responsive.has-pagination{
  background-color: #FFF;
}
.pageHeader{
  margin-left: 23px;
  margin-bottom: 25px;
}
button[data-workflowid="dc6df082-6b1e-4d27-bc95-ee370726ef00"] {
    background-color: #ffff !important;
    color: #001f5d !important;
    box-shadow: none !important;
    border: 2px solid #001f5d !important;
}
.crmEntityFormView .cell div.info.required label:after {
    color: #1a73e8 !important;
}
fieldset[aria-label="Totals"] .section-title,
fieldset[aria-label="Expenses Claimed"] .section-title{
  background-color: #e5ecf3;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  padding-left: 20px;
  margin-bottom: 20px;
}
fieldset[aria-label="Totals"],
fieldset[aria-label="Expenses Claimed"]{
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px !important;
}
.info label{
  font-weight: 400;
}
.info.form-subgrid-heading label, fieldset[aria-label="Costing Notes"] .info label{
  font-weight: bold;
  font-size: 20px;
}
.info label {
  font-weight: 400;
}

.info.form-subgrid-heading label,
fieldset[aria-label="Costing Notes"] .info label {
  font-weight: bold;
  font-size: 20px;
}

#new_clientid_label,
#new_candidateid_label,
#transactioncurrencyid_label {
  font-size: 18px;
  font-weight: bold;
}
input[readonly], input[disabled] {
  background-color: #f6fbff !important; 
}
/* Signin page*/
.login-container{
  display: flex;
  justify-content: center;
  font-family: "SF Pro", sans-serif !important;  
}
.login-container .login-header{
  text-align: center;
  margin-top: 32px;
}
.login-container .signin-section{
  width: 50%;
  background-color: #F6FBFF;
  padding: 0 32px;
  box-shadow: 0px 0px 0px #ffffff, 0px 3px 7px #c6ccd3 !important;
  border-radius: 8px;
  margin-top: 50px;
}
.login-container .input-control{
  width: 100%;
  background-color: #FFFF;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #ddd;
}
.login-container .userInfo{
  margin-top: 44px;
}
.login-container .username{
  margin-bottom: 16px;
}
.login-container .signin-buttons{
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin: 44px 0;
}
.login-container .signin-buttons .forgotPasswordLink{
    color: #f6fbff !important;
    background-color: #001f5d !important;
    border-radius: 8px !important;
    box-shadow: inset 0 -4px 4px rgba(27, 27, 27, 0.25), inset 0 2px 4px #6e94c6 !important;
    padding: 12px !important;
    font-weight: 500 !important;
    border: none;
}
.login-container .signin-buttons #signInButton{
    padding: 12px 43px !important;
    margin-right: 4px !important;
    border: none;
    border-radius: 8px;
    color: #FFFF;
    background-color: #1A73E8 !important;
    box-shadow: inset 0 -4px 4px rgba(27, 27, 27, 0.25), inset 0 1px 7px #dde7f5 !important;
}
.login-container .signin-buttons #signInButton:hover,.login-container .signin-buttons .forgotPasswordLink:hover{
  background-color: #1765CC !important;
  color: #fff8e6 !important;
}
.login-container .userInfo label{
  font-size: 16px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .login-container .signin-section{
   width: 100%;
  }
}
/* list pages: search box and filters dropdown*/
.entity-grid .view-grid.table-responsive table thead tr{
  background-color: #f6fbff !important;
}
.entity-grid .datetimepicker .input-group-addon{
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    background-color: #ffffff;
}
.entity-grid .datetimepicker input{
    border: 1px solid #ddd !important;
    border-left: none !important;
    border-radius: 0px 8px 8px 0px !important;
}
.entity-grid .fa.fa-list{
    display: none !important;
}
.entity-grid #filterDropdownId a {
    color: #111827 !important;
    margin-left: -10px !important;
}
.pull-right.toolbar-actions .input-group.pull-left a {
    margin-left: 20px !important;
    padding: 12px 20px !important;
    box-shadow: inset 0 -4px 4px rgba(27, 27, 27, 0.25), inset 0 2px 4px #6e94c6 !important;
    border: none;
}  
.btn-info {
    background-color: #1A73E8 !important;
    border-radius: 8px !important;
}
.btn-info:hover{
  background-color: #1765CC !important;
}
.create-action, .btn-entitylist-filter-submit {
    color: #f6fbff !important;
    background-color: #001f5d !important;
    font-weight: 500 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 12px rgba(0, 51, 102, 0.4), inset 0 2px 8px #6e94c6, inset 0 -4px 6px rgba(0, 0, 0, 0.3);
    padding: 12px 25px !important;
}



.navbar-static-top.navbar-inverse {
    background-color: #F6FBFF !important;
    border-radius: 16px !important;
}

 .navbar-brand a .siteTitle{
   color: #111827 !important;
}

.navbar-inverse .navbar-nav .open .dropdown-menu {
   background-color:  #F6FBFF !important;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a ,#navbar .navbar-nav  a {
   color: #111827 !important;
}

.navbar-static-top.navbar .menu-bar > .navbar-nav > .divider-vertical {
   display: none !important;
}

.navbar-collapse{
  max-height: 0px !important;
}


.modal-content {
  border-radius: 11px !important;
  background-color: #F6FBFF !important;
  width: 734px !important;
  height: 796px !important;
  margin: auto !important;
}

.modal-content .view-search.entitylist-search {
  display: flex !important;
  flex-direction: row-reverse !important;
  gap: 50px !important;
  margin-top: 7px !important;
  width: 700px;
  margin-bottom: 10px;
}

.modal-content .view-search.entitylist-search input {
  border-left: none !important;
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
  background-color: #FFFFFF !important;
  border-color: #ddd;
  height: 48px;
}

.modal-content .view-search.entitylist-search .input-group-btn button {
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
  border-right: none !important;
  border-color: #ddd !important;
  background-color: #FFFFFF !important;
  color: #A6A6A6 !important;
  height: 48px;
}

.modal-content .associate-lookup .clearfix thead tr {
  background-color: #E5ECF3;
}

.modal-content tr td .fa {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid #E1E1E1 !important;
}

.modal-content .view-pagination .pagination {
  margin: 15px 0 0 90px !important;
}

.modal-content button[disabled] {
  color: #F6FBFF !important;
  background-color: #1A73E8 !important;
  height: 44px !important;
  width: 154px !important;
}

.modal-content .modal-footer .btn-default {
  color: #F6FBFF !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border-color: #EF4444 !important;
  width: 154px !important;
  border-style: solid !important;
  background-color: #EF4444 !important;
  height: 44px !important;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95% !important;
    height: auto !important;
  }

  .modal-content .view-search.entitylist-search {
    width: 415px;
    margin-bottom: 10px;
  }

  .modal-content .view-search.entitylist-search input {
    width: 415px;
  }

  .modal-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }


  .modal-footer .btn {
    width: 100% !important;
    font-size: 14px !important;
    height: 44px !important;
  }

  .modal-footer .pull-right {
    float: none !important;
  }

  .modal-content .modal-footer .btn-default {
    width: 100% !important;
    font-size: 12px !important;
    height: 40px !important;
  }

  .modal-content .view-pagination .pagination {
    margin: 10px 0 0 0 !important;
    display: flex !important;
    justify-content: center !important;
  }

  .modal-content button[disabled] {
    font-size: 12px !important;
    width: 100% !important;
    margin-bottom: 5px;
  }
}



input.form-control, .crmEntityFormView .cell select {
    border: 1px solid #ddd;
    border-radius: 8px !important;
}


.control .input-group .form-control.lookup {
    background-color: #ffffff !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}
.crmEntityFormView .input-group-btn .clearlookupfield, .crmEntityFormView .input-group-btn .launchentitylookup {
    border-left: none;
    border-color: #ddd !important;
    color: #6f767c !important;
    background-color: #ffffff !important;
    font-size: 15px !important;
}
.crmEntityFormView .input-group-btn .launchentitylookup {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}
