.s-site-logo-img {
  content: url(../../Serenity.Assets/logo/white-128.png);
}

/* Sidebar scroll fix */
.s-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.s-sidebar-pane {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}

/* Webkit scrollbar styling for sidebar */
.s-sidebar-pane::-webkit-scrollbar {
  width: 6px;
}

.s-sidebar-pane::-webkit-scrollbar-track {
  background: transparent;
}

.s-sidebar-pane::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.s-sidebar-pane::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.s-TranslationGrid input.custom-text {
  width: 100%;
  height: 23px;
  padding: 0 3px;
}






/* Target specifically when screen is large enough */
@media screen and (min-width: 768px) {
  /* Target specific dialog or all fields */
  .field {
    flex-direction: column !important; /* Override the default row direction */
    align-items: stretch !important; /* Make caption and editor full width */
  }

    .field .caption {
      width: 100% !important;
      max-width: none !important;
      padding-bottom: 2px;
      text-align: left;
    }

    .field .editor {
      width: 100% !important;
    }

    /* Maintain the 50% width for side-by-side fields */
    .field.col-md-6,
    .field.col-sm-6 {
      width: 50%;
      flex-direction: column !important;
    }
}

/* Preserve default behavior on smaller screens */
@media screen and (max-width: 767px) {
  /* Serenity's default mobile styles will apply */
  .field {
    /* Default responsive behavior */
  }
}