:root {
    --volis-bg-color: #FFFFFF;
    --volis-font-color: #414651;
    --volis-one-tool-box-margin-color: #E9EAEB;
    --sidebar-bg-color: #FAFAFA;
}

.volis-bg-color tr th {
    background-color: #E9EAEB;
}

.table-cell-center {
  text-align: center;
  vertical-align: middle;
}

::placeholder {
  color: #717680;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12-18 */
  color: #717680;
}

.one-tool-logged-user {
    margin: 15;
}

.one-tool-sidebar-bg {
    background-color: var(--sidebar-bg-color);

}

.one-tool-profile-pic {
    width: 48px;
    height: 48px;
}

.btn-sidebar {
    background-color: var(--sidebar-bg-color);
    color: #515560;
}

.btn-sidebar:hover {
    background-color: #F0F0F0; /* subtle hover effect */
}


.volis-box {
    border: 1px solid var(--volis-one-tool-box-margin-color);
}

.volis-basic {
    background: var(--volis-bg-color);
    color: var(--volis-font-color);
}

.red {
    background-color:red;
    color:red;
}

body {
    margin: 0;
}

.login-page {
    display: flex;
    height: 100%;
    width: 100%;
    padding: 0;
}

.login-components {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login {
    display: flex;
    flex-direction: column;
}

.login-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

@media only screen and (max-width: 1024px) {
  .tablet-menubar {
    visibility: visible;
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .desktop-menubar {
    display: none;
    visibility: hidden;
  }

  .tablet-only{
    visibility: visible;
    display: block;
  }
}

@media only screen and (min-width: 1025px) {
  .tablet-menubar {
    display: none;
    visibility: hidden;
  }

  .desktop-menubar {
    visibility: visible;
    display: block;
    max-width: 300px;
  }

  .tablet-only{
    visibility: hidden;
    display: none;
  }
}

.my-htmx-indicator {
  z-index: -100;
  background-color: #6c757d;
  opacity: 0;
  border-radius: .3rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.htmx-request .my-htmx-indicator {
  z-index: 100;
  opacity: 0.5;
}

.htmx-request.my-htmx-indicator {
  z-index: 100;
  opacity: 0.5;
}

/* Avatar upload button states */
.avatar-container .avatar-upload-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(50%);
}

.avatar-container .avatar-upload-enabled {
  opacity: 1;
  cursor: pointer;
  filter: none;
}

/* Avatar profile styles */
.avatar-preview {
  margin-top: 15px;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.avatar-container {
  position: relative;
  display: inline-block;
}

.camera-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background-color: var(--bs-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge.rounded-pill.status-in-queue {
  padding-bottom: 6px;
  background-color: #F4F3FF;
  color: #5925DC;
  border: 1px solid #D9D6FE;
}
.badge.rounded-pill.status-processing {
  padding-bottom: 6px;
  background-color: #F0F9FF;
  color: #026AA2;
  border: 1px solid #B9E6FE;
}
.badge.rounded-pill.railway {
  padding-bottom: 5px;
  background-color: #F0F9FF;
  color: #026AA2;
  border: 1px solid #B9E6FE;
}
.badge.rounded-pill.sleepers {
  padding-bottom: 5px;
  background-color: #F4F3FF;
  color: #5925DC;
  border: 1px solid #D9D6FE;
}
.badge.rounded-pill.status-has-errors {
  padding-bottom: 6px;
  background-color: #FFFAEB;
  color: #B54708;
  border: 1px solid #FEDF89;
}
.badge.rounded-pill.status-failed {
  padding-bottom: 5px;
  background-color: #FEF3F2;
  color: #B42318;
  border: 1px solid #FECDCA;
}
.badge.rounded-pill.status-processed {
  padding-bottom: 5px;
  background-color: #ECFDF3;
  color: #067647;
  border: 1px solid #ABEFC6;
}

.button-htmx-indicator {
    display: none;
}

.htmx-request .button-htmx-indicator {
    display: block;
}

.htmx-request.button-htmx-indicator {
    display: block;
}

.htmx-request .button-text-request .load-button-text {
    display: none;
}

.htmx-request.button-text-request.load-button-text {
    display: none;
}
