body {
  /*font-size: 0.9rem;*/
}

.table th {
  /*font-size: 0.7rem !important;*/
}

.table > :not(caption) > * > * {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

.dataTables_filter {
  float: left !important;
}

.dataTables_info {
  float: left !important;
}

.flexFitContainer {
  flex: auto;
}

.card-header {
  padding: 0 0 0 0;
}

.light-style .dataTable a:not([href]):not([tabindex]) {
  color: inherit;
}

@media(max-width:800px) {
  .dataTable {
    overflow: scroll;
  }
}

.table th {
  text-align: center !important;
}

tr.group-header {
  cursor: pointer;
  font-weight: 600;
}

tr.anim-row {
  transition: opacity 180ms ease, transform 180ms ease;
  opacity: 1;
  transform: translateY(0);
}

tr.anim-hide {
  opacity: 0;
  transform: translateY(-4px);
}

tr.flow-row {
  transition: opacity 160ms ease, transform 160ms ease;
  opacity: 1;
  transform: translateY(0);
}

  tr.flow-row.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
  }

    /* Make the row visually "collapse" while it's fading */
    tr.flow-row.is-hiding > td {
      padding-top: 0 !important;
      padding-bottom: 0 !important;
      border-top-width: 0 !important;
      border-bottom-width: 0 !important;
    }

.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

  .loading-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

.card-img-top {
  width: 100%;
  height: 15vw;
  object-fit: cover;
}

.navatar {
  height: auto !important;
}

.chevButton {
  /* Positioning, radius and background belong to .app-brand .layout-menu-toggle —
     don't restate them here or the carve-out breaks. */
  width: 38px;
  height: 38px;
  text-decoration: none;
  line-height: 1;
}

  .chevButton > i {
    /* Centred against the padding box — which, thanks to the 7px transparent border,
     IS the visible purple circle. Transforms position subpixel and aren't snapped to
     device pixels, so this holds at fractional zoom. */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    font-size: 0.875rem;
  }


.hidden {
  display: none !important;
}

.menu-link .menu-icon {
  margin-right: 0.5rem !important;
}

/* Login Page Styling*/

/*.login-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('/img/branding/plessey-bg-new-dark.png');*/
  /*background-image: url('/img/branding/plessey-bg-blue.jpg');*/
  /*background-size: 100% auto;
  background-repeat: repeat;
  background-position: 100% center;
}*/

/*.login-form-container {
  position: absolute !important;
  top: 40%;
  right: 37.5vw;
  transform: translateY(-50%);
  z-index: 10;
  width: 25vw;
  max-width: 80vw;
  padding: 4.25rem 3rem;*/
  /*background: rgba(255,255,255,0.98);*/
  /*box-shadow: 0 8px 32px rgba(0,0,0,.2) !important;
  border-radius: 24px !important;
  transition: width 0.3s, right 0.3s, border-radius 0.3s;
}*/
.login-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 320px; /* bottom pad keeps card above the baked-in wordmark */
  box-sizing: border-box;
  overflow: hidden;
}

.login-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a2e url('/img/branding/plessey-bg-new-dark.png') no-repeat center center;
  background-size: cover;
}

.login-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(10, 10, 46, 0.45);
  padding: 52px 48px 44px;
  text-align: center;
  box-sizing: border-box;
}

/* RGB brand dots */
.login-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 26px;
}

  .login-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
  }

    .login-dots span:nth-child(1) {
      background: #e8312b;
    }

    .login-dots span:nth-child(2) {
      background: #7ac043;
    }

    .login-dots span:nth-child(3) {
      background: #2e3192;
    }

.login-title {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #32306e;
}

.login-subtitle {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #697a8d;
}

/* Microsoft sign-in button */
.ms-signin {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  height: 52px;
  border: 1px solid #d9dee3;
  border-radius: 12px;
  background: #ffffff;
  color: #566a7f;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

  .ms-signin:hover {
    border-color: #696cff;
    background: #f0f0ff;
    box-shadow: 0 0 0 3px rgba(105, 108, 255, 0.30);
  }

/* Divider */
.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
}

  .login-divider .line {
    flex: 1;
    height: 1px;
    background: #d9dee3;
  }

  .login-divider .label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #abacb8;
  }

/* Sign-up line */
.login-signup {
  margin: 0;
  font-size: 14px;
  color: #697a8d;
}

  .login-signup a {
    color: #696cff;
    text-decoration: none;
    font-weight: 600;
  }

    .login-signup a:hover {
      color: #5f61e6;
    }

@media (min-width: 1200px) {
  .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .menu-vertical .app-brand {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .layout-menu-collapsed .layout-menu {
    transition-duration: 0.3s !important;
    transition-property: margin-left, margin-right, width !important;
  }

 

}

/* Tablet: form is a bit wider, less offset */
@media (max-width: 900px) {
  .login-form-container {
    width: 50vw;
    right: 2vw;
    padding: 1rem 3rem;
    border-radius: 20px 20px 20px 20px;
  }

  .login-bg {
    background-size: cover;
    background-position: center;
  }
}

/* Phone: form is full width at the bottom, not overlapping */
@media (max-width: 600px) {
  /*.login-wrapper {
    flex-direction: column;
    display: block;
    height: auto;
    min-height: 100svh;
  }

  .login-form-container {
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    margin: 0 auto;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 2rem 1rem;
    z-index: 10;
    background: rgba(255,255,255,0.98);
  }

  .login-bg {
    position: static;
    width: 100vw;
    height: 20vh;*/ /* or whatever height you want for the hero image */
    /*min-height: unset;
    flex: none;
    background-size: cover;
  }*/
  .chevButton{
      display:none;
  }

}


.report-icon {
  font-size: 2.2rem;
  color: #6f6ee7;
  margin-bottom: .5rem;
}

.welcome-user {
  font-size: 1.1rem;
  margin-bottom: 0;
}
/* Responsive tweaks */
@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
}

.hide-borders {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}







/* Actual animation */
@keyframes microledWave {
  0% {
    background-position: 0% 50%; /* left-middle */
  }

  25% {
    background-position: 50% 60%; /* mid drifting downward */
  }

  50% {
    background-position: 100% 50%; /* right-middle */
  }

  75% {
    background-position: 50% 40%; /* mid drifting upward */
  }

  100% {
    background-position: 0% 50%; /* left-middle (loop) */
  }
}

.portal-content {
  /*z-index: 2;*/
  position: relative;
}

.input-group .select2-container {
  flex: 1 1 auto !important;
  width: 1% !important; 
  min-width: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  top: 30% !important;
}

.input-group .form-control {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


/* Outright stealing spinkit's css */

.sk-folding-cube {
  margin: 20px auto;
  width: 40px;
  height: 40px;
  position: relative;
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

  .sk-folding-cube .sk-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }

    .sk-folding-cube .sk-cube:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #333;
      -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
      animation: sk-foldCubeAngle 2.4s infinite linear both;
      -webkit-transform-origin: 100% 100%;
      -ms-transform-origin: 100% 100%;
      transform-origin: 100% 100%;
    }

  .sk-folding-cube .sk-cube2 {
    -webkit-transform: scale(1.1) rotateZ(90deg);
    transform: scale(1.1) rotateZ(90deg);
  }

  .sk-folding-cube .sk-cube3 {
    -webkit-transform: scale(1.1) rotateZ(180deg);
    transform: scale(1.1) rotateZ(180deg);
  }

  .sk-folding-cube .sk-cube4 {
    -webkit-transform: scale(1.1) rotateZ(270deg);
    transform: scale(1.1) rotateZ(270deg);
  }

  .sk-folding-cube .sk-cube2:before {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
  }

  .sk-folding-cube .sk-cube3:before {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
  }

  .sk-folding-cube .sk-cube4:before {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
  }

@-webkit-keyframes sk-foldCubeAngle {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }

  25%, 75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }

  90%, 100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}

@keyframes sk-foldCubeAngle {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }

  25%, 75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }

  90%, 100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}
