.input-field {
  width: 200px;
}
.input-field-2 {
  width: 100px;
}
.pos-head-login {
  left: 39%;
}
.pos-head-register {
  left: 37%;
}
.register-image {
  width: 100%;
  height: 100%;
  padding: 5%;
  border-radius: 50px;
}
.link-text {
  color: #e91e63;
  font-style: italic;
  font-size: medium;
}
.profile-pic {
  width: 150px;
  height: 150px;
}
.title-nav {
  margin-left: 0 !important;
}
.inner-container {
  width: 60%;
  margin-left: 20%;
  margin-top: 5%;
}
.project-secondary-image {
  width: 100px;
  height: 100px;
}
.white {
  color: #fff;
}
html {
  scroll-behavior: smooth;
}

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

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

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

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

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

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

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

.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked {
  background: #2196f3;
}

.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked,
.form-check:not(.form-switch) .form-check-input[type="radio"]:checked {
  border-color: #2196f3;
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.max-w-200 {
  max-width: 200px;
}
.w-300 {
  width: 300px;
  overflow-x: auto;
}
.max-h-custom {
  height: 400px;
  overflow-y: scroll;
}

.text-end {
  text-align: end;
}
.text-bold {
  font-weight: bold;
}
#live_result tr td {
  max-width: 150px;
  min-width: 75px;
  overflow-x: auto;
}

.scroll {
  display: block !important;
  position: fixed;
  z-index: 99;
  top: 30%;
  right: 0%;
  width: 55px;
}

.logs_nav {
  display: block !important;
  position: fixed;
  z-index: 99;
  top: 25%;
  right: 0%;
  width: 55px;
}

.border-b {
  border-bottom: black 2px solid;
}

/* combobox */
.combobox-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.combobox-input {
  width: 100%;
}

.combobox-dropdown {
  position: absolute;
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  background-color: #fff;
  width: 200px;
  max-height: 200px;
  overflow-y: auto;
  border-top: none;
  z-index: 100;
}

.combobox-dropdown li {
  padding: 8px 12px;
  cursor: pointer;
  display: none;
}

.combobox-dropdown li:hover {
  background-color: #f5f5f5;
}

.combobox-dropdown li.show {
  display: block;
}

.backup-file-input {
  width: 250px !important;
}

/* File Input with drag */
.drag-area {
  border: 2px dashed #1a73e8;
  height: 50px;
  width: 200px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row;
}
.drag-area.active {
  border: 2px solid #1a73e8;
}
.drag-area header {
  font-size: 10px;
  font-weight: 500;
  color: #1a73e8;
}
.drag-area span {
  font-size: 10px;
  font-weight: 500;
  color: #1a73e8;
}
.drag-area button {
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 500;
  border: none;
  outline: none;
  background: #1a73e8;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}
.drag-area img {
  height: 100%;
  width: auto;
  object-fit: cover;
  border-radius: 5px;
}

/* sidebar scrolling hide */
#sidenav-main {
  overflow-y: auto;
  scrollbar-width: thin;
  z-index: 100;
}
#sidenav-main::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

/* table */
table th {
  text-transform: capitalize;
}
table th,
table td {
  text-align: center;
}
table td p {
  margin-bottom: 0;
  font-weight: bold;
  font-size: 0.8rem;
}

.image-wrapper {
  display: inline-block;
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  transition: filter 0.3s;
}

.image-wrapper:hover {
  filter: brightness(50%);
}

.delete-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s;
  font: 1rem bold;
}

.image-wrapper:hover .delete-overlay {
  opacity: 1;
}

.btn {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.btn-shadow-none,
.btn-shadow-none:hover {
  box-shadow: none !important;
}

.hidden-item {
  display: none !important;
}

/* start modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.25);
}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 50%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

.modal-header {
  padding: 5px 20px;
}

.modal-body {
  padding: 5px 20px;
}
/* end modal */
