body {
  font-family: "Helvetica", "Arial", sans-serif !important;
  font-size: 1em;
}

.s-site-logo-img {
  /*content: url(../../Serenity.Assets/logo/white-128.png);*/
  content: url('logo-128.png');
}

.s-sidebar-header {
  background-color: #0d4771; /* new background */
}

.s-TranslationGrid input.custom-text {
  width: 100%;
  height: 23px;
  padding: 0 3px;
}

.s-PermissionCheckEditor {
  min-height: 450px;
}


.btn-primary {
  background-color: #660e60 !important; /* new background */
  border-color: #660e60 !important; /* border */
}

  .btn-primary:hover {
    background-color: #580A9E !important; /* darker hover */
    border-color: #580A9E !important;
  }



/* ==== All about floting label ==== */

/* Floating label container */
.floating-label {
  position: relative;
  margin-bottom: 1.5em;
}

  /* Common inputs & selects */
  .floating-label .form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px 12px 12px 12px;
    font-size: 1em;
    background-color: white;
    transition: border-color 0.3s ease;
  }

    /* Focus border for all inputs */
    .floating-label .form-control:focus {
      border-color: #007bff;
      outline: none;
      box-shadow: none;
    }

  /* Label styling */
  .floating-label label {
    position: absolute;
    left: 12px;
    top: 8px;
    color: black;
    font-size: 1em;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background: white;
    padding: 0 4px;
  }

  /* Float label up on focus or if input/select has value */
  .floating-label .form-control:focus + label,
  .floating-label .form-control:not(:placeholder-shown) + label {
    top: -8px;
    left: 8px;
    font-size: 0.85em;
    color: #007bff;
    font-weight: 600;
  }

/* ==== Label styling for datepicker ==== */

.form-group.floating-label.date-Label label {
  position: absolute;
  top: -10px;
  left: 14px;
  transition: all 0.2s ease;
  pointer-events: none;
}

.form-group.floating-label .form-control.has-value + label,
.form-group.floating-label .form-control:focus + label {
  top: -8px;
  font-size: 12px;
  color: #007bff;
}



/* ==== Place the calender button inside the input box ==== */

.datepicker-wrapper {
  position: relative;
  display: inline-block; /* ensures wrapper shrinks to input size */
  width: 140px;
}

  .datepicker-wrapper input.datepicker {
    padding-right: 30px; /* leave space for button */
    box-sizing: border-box; /* include padding in input width */
    font-size: 1.1em;
  }

  .datepicker-wrapper .ui-datepicker-trigger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #445881;
    font-size: 2em; /* increase size */
  }





/* ==== Select2 integration ==== */

/* Hide native select */
.floating-label select.form-control {
  display: none;
}

/* Style Select2 container to fit floating label */
.floating-label .select2-container {
  width: 100% !important;
  padding-top: 20px; /* space for label */
}

/* Style Select2 selection box */
.floating-label .select2-selection {
  border: 1px solid #ccc;
  border-radius: 4px;
  min-height: 42px;
  padding: 6px 12px;
  font-size: 1.1em;
  background-color: white;
  transition: border-color 0.3s ease;
}

/* Focus style for Select2 */
.floating-label .select2-container--focus .select2-selection {
  border-color: #007bff;
  outline: none;
}

/* Position label over Select2 */
.floating-label label {
  z-index: 10; /* Make sure label is above select2 UI */
}

/* Float label when Select2 has value or focused */
.floating-label .select2.has-value + label,
.floating-label .select2-container--focus + label {
  top: 8px !important;
  left: 8px !important;
  font-size: 0.85em !important;
  color: #ff0040 !important;
  font-weight: 600 !important;
}




/* Make checkbox bigger */
.big-checkbox {
  width: 4em !important;
  height: 2em !important;
  cursor: pointer;
  border-color: #660e60 !important;
}

/* Customize Bootstrap switch colors */
.form-check {
  margin-bottom: 1em;
}

.form-check-input:checked {
  background-color: #3c78ff !important;
  border-color: #660e60;
}

.form-check-input {
  border: 2px solid #cfa093;
}



/* Login Page (section element) */

.loginpage-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url("login-form-bg.jpg");
  background-size: cover;
  background-position: center;
}

  .loginpage-section::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease-out;
  }


#btnGoTop:hover {
  opacity: 1; /* fully opaque on hover */
}

.detail-row {
  border-bottom: 1px solid black;
}

.TotalRow-1-Background td {
  background-color: #fff6e6 !important;
}

.TotalRow-2-Background td {
  background-color: #ffddd6 !important;
}

.table-hover tbody tr:hover {
  background-color: #cac7ff !important;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #11020d !important; /* match table-dark */
  color: white;
}


.mycheck-box {
  border: 2px solid black !important; /* black border */
  border-radius: 3px; /* optional rounded edges */
  cursor: pointer;
}