@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=devanagari,latin-ext');

/* #Primary
================================================== */











body,
html {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  /* color: #212112; */
  color: var(--jf-theme-primary-text-color) !important;
  /* background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat-back.svg'); */
  /* background-position: center;
	background-repeat: repeat;
	background-size: 7%;
	background-color: var(--jf-theme-primary-text-color);
	overflow-x: hidden; */
  transition: all 200ms linear;
  background-color: var(--jf-theme-primary-color) !important;
  /* background-color: var(--jf-theme-main-color); */
  /* background-color: var(--jf-theme-table-sticky-color); */
}

body.no-scroll {
  overflow: hidden;
}

/* Apply dimming to elements with no-interaction class (but not body) */
/* Note: filter: blur() is NOT used because it breaks fixed-positioned children */
.no-interaction:not(body) {
  pointer-events: none;
  user-select: none;
  opacity: 0.5;
}

/* When body has no-interaction, don't apply blur to body itself */
body.no-interaction {
  pointer-events: auto;
  user-select: auto;
  opacity: 1;
  filter: none;
}

/* When body has no-interaction, dim all children except sidemenu and navbar */
/* Note: filter: blur() is NOT used because it breaks fixed-positioned children */
body.no-interaction > *:not(#sidemenu-wrapper):not(#sidemenu-overlay):not(header) {
  pointer-events: none !important;
  user-select: none !important;
  opacity: 0.5 !important;
}

/* Explicitly ensure sidemenu, overlay and header are never blurred */
body.no-interaction #sidemenu-wrapper,
body.no-interaction #sidemenu-wrapper *,
body.no-interaction #sidemenu-overlay,
body.no-interaction #sidemenu-overlay *,
body.no-interaction header,
body.no-interaction header * {
  pointer-events: auto !important;
  user-select: auto !important;
  opacity: 1 !important;
  filter: none !important;
}

/* AG Grid search field styling */
.grid-search-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.grid-search {
  background: rgba(44, 43, 68, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px;
  color: var(--jf-theme-primary-text-color) !important;
  padding: 10px 16px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.grid-search:focus {
  background: rgba(54, 53, 78, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
}

.grid-search::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Show screen-sm and hide screen-lg for screens 1080px or smaller */
@media (max-width: 1080px) {

  th.screen-sm,
  td.screen-sm {
    display: table-cell;
  }

  th.screen-lg,
  td.screen-lg {
    display: none;
  }

  .screen-sm {
    display: block;
  }

  .screen-lg {
    display: none;
  }

  .px-2-screen-lg {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}

/* Show screen-lg and hide screen-sm for screens larger than 1080px */
@media (min-width: 1081px) {

  th.screen-sm,
  td.screen-sm {
    display: none;
  }

  th.screen-lg,
  td.screen-lg {
    display: table-cell;
  }

  .screen-sm {
    display: none;
  }

  .screen-lg {
    display: block;
  }

  .px-2-screen-lg {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
}

/* body, html {
  font-family: "Courier New", Courier, monospace;
} */

.bg-theme {
  background-color: var(--jf-theme-color)!important;
}

.bg-theme-main {
  background-color: var(--jf-theme-primary-color)!important;
}

.bg-theme-main-darker {
  background-color: var(--jf-theme-primary-darker-color)!important;
}

.bg-theme-main-light {
  background-color: var(--jf-theme-primary-light-color) !important;
}

.bg-theme-main-lighter {
  background-color: var(--jf-theme-primary-lighter-color) !important;
}

.border-custom {
  border: 1px solid var(--jf-theme-secondary-color) !important;
}

.border-custom-dark {
  opacity: 1 !important;
  border-color: var(--jf-theme-secondary-color) !important;
}

.border-custom-darker {
  border-color: var(--jf-theme-primary-color) !important;
}

.border-end-custom-dark {
  border-right: 1px solid var(--jf-theme-secondary-color) !important
}

.border-start-custom-dark {
  border-left: 1px solid var(--jf-theme-secondary-color) !important
}

.border-top-custom-dark {
  border-top: 1px solid var(--jf-theme-secondary-color) !important
}

.border-bottom-custom-dark {
  border-bottom: 1px solid var(--jf-theme-secondary-color) !important
}

.text-theme {
  color: var(--jf-theme-primary-text-color)!important;
}

.text-custom-dark {
  color: var(--jf-theme-primary-lighter-color) !important;
}

.text-custom-darker {
  color: var(--jf-theme-primary-light-color) !important;
}


.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--jf-theme-separator-color);
  flex: 1;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--jf-theme-separator-color);
}

.separator:not(:empty)::before {
  margin-right: .25em;
}

.separator:not(:empty)::after {
  margin-left: .25em;
}


.surf1-wallpaper {
  background-image: url('/surflog-web-images/surf-byberg-1.jpg');
  height: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
  color: var(--jf-theme-primary-text-color);
  /* font-family: "Courier New", Courier, monospace; */
  font-size: 25px;
}

.icon-surfboard-fish {
  display: inline-block;
  /* Ensures the element behaves like an icon */
  width: 10px;
  /* Set the desired width for the icon */
  height: 15px;
  /* Set the desired height for the icon */
  background-image: url('/surflog-web-images/fish_placeholder.png');
  /* Path to your image */
  background-size: contain;
  /* Ensures the image fits within the element */
  background-repeat: no-repeat;
  /* Prevents the image from repeating */
  background-position: center;
  /* Centers the image inside the element */
}

.topleft {
  position: absolute;
  top: 10px;
  left: 16px;
}

.topright {
  position: absolute;
  top: 10px;
  right: 16px;
}

.bottomleft {
  position: absolute;
  bottom: 0;
  left: 16px;
}

.bottom-center {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.middle {
  position: absolute;
  top: 71%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.middle-top {
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

hr {
  margin: auto;
  width: 60%;
}

.white-text {
  color: white;
}

.black-text {
  color: black;
}

.fs-20 {
  font-size: 20px !important;
}

.fs-15 {
  font-size: 15px !important;
}

.fs-12 {
  font-size: 12px !important;
}

.fs-10 {
  font-size: 10px !important;
}

.me-12px {
  margin-right: 12px !important;
}

.link-btn {
  /* color: white!important; */
  text-decoration: none !important;
  /* font-size: 2rem!important; */
}

i[rotate-icon=true] {
  transform: rotate(45deg);
  transition: transform 0.3s ease-in-out;
}

i[rotate-icon=false] {
  transform: rotate(0deg);
  transition: transform 0.3s ease-in-out;
}



/* ------------ Surf Game Start ------------ */
.game-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* ------------ Surf Game End ------------ */











/* ------------ Login modal Start ------------ */
.modal-login {
  color: var(--jf-theme-primary-text-color);
  width: 350px;
  margin: 80px auto 0;
  top: 120px;
}

.modal-login .modal-content {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--jf-theme-primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.modal-login .modal-header {
  border-bottom: none;
  position: relative;
  justify-content: center;
}

.modal-login h4 {
  text-align: center;
  font-size: 26px;
  margin: 30px 0 -15px;
  color: var(--jf-theme-primary-text-color);
}

.modal-login .form-control {
  background: var(--jf-theme-primary-darker-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--jf-theme-primary-text-color);
}

.modal-login .form-control:focus {
  border-color: var(--jf-theme-primary-light-color);
  background: var(--jf-theme-primary-darker-color);
  color: var(--jf-theme-primary-text-color);
  box-shadow: 0 0 0 0.2rem rgba(163, 106, 245, 0.25);
}

.modal-login .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.modal-login .form-control,
.modal-login .btn {
  min-height: 40px;
  border-radius: 6px;
}

.modal-login .close,
.modal-login .btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--jf-theme-primary-text-color) !important;
  opacity: 1 !important;
  filter: invert(1) brightness(2);
}

.modal-login .close:hover,
.modal-login .btn-close:hover {
  color: var(--jf-theme-primary-light-color) !important;
  opacity: 1 !important;
  filter: invert(1) brightness(2.5);
}

.modal-login .modal-footer {
  background: var(--jf-theme-primary-darker-color);
  border-color: rgba(255, 255, 255, 0.1);
  text-align: center;
  justify-content: center;
  margin: 0 -20px -20px;
  border-radius: 0 0 8px 8px;
  font-size: 13px;
}

.modal-login .modal-footer a {
  color: var(--jf-theme-primary-lighter-color);
}

.modal-login .modal-footer a:hover {
  color: var(--jf-theme-primary-light-color);
}

.modal-login .avatar {
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: -60px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  z-index: 9;
  background: var(--jf-theme-primary-light-color);
  padding: 15px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-login .avatar i {
  width: 100%;
  text-align: center;
  font-size: 2.5rem;
  padding-top: 10px;
  color: var(--jf-theme-primary-text-color);
}

.modal-login .btn {
  color: var(--jf-theme-primary-text-color);
  border-radius: 6px;
  background: var(--jf-theme-primary-light-color);
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: normal;
  border: none;
}

.modal-login .btn:hover,
.modal-login .btn:focus {
  background: var(--jf-theme-primary-lighter-color);
  color: var(--jf-theme-primary-darker-color);
  outline: none;
}



.modal-login-input {
  position: relative;
  margin-bottom: 15px;
}


.log-status.wrong-entry {
  @include animation(wrong-log 0.3s);
}

.log-status.wrong-entry .form-control,
.wrong-entry .form-control+.fa {
  border-color: #ed1c24;
  color: #ed1c24;
}



.alert {
  display: none;
  font-size: 12px;
  color: #f00;
  float: left;
}

@include keyframes (wrong-log) {

  0%,
  100% {
    left: 0px;
  }

  20%,
  60% {
    left: 15px;
  }

  40%,
  80% {
    left: -15px;
  }
}



/* ------------ Login modal End ------------ */

/* ------------ Request Access Modal Start ------------ */
.modal-request-access {
  width: 350px;
  top: 70px;
  margin-top: 30px;
}

.modal-request-access .input-group-validated {
  margin-bottom: 8px;
}

.modal-request-access .input-validation-message {
  display: block;
  font-size: 12px;
  color: #ff6b6b;
  min-height: 16px;
  padding-left: 2px;
  margin-bottom: 4px;
}

.modal-request-access .input-validation-message.success {
  color: #51cf66;
}

.modal-request-access .form-control.is-invalid {
  border-color: #ff6b6b;
}

.modal-request-access .form-control.is-valid {
  border-color: #51cf66;
}

.modal-request-access .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* ------------ Request Access Modal End ------------ */

/* ------------ Data Table Start ------------ */
.data-table-wrapper {
  box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 1rem;
  max-width: 1200px;
}

.data-table-wrapper table.table a {
  color: inherit;
  text-decoration: none;
}

/* .data-table-wrapper .loadingSpinner{
  position:absolute;
  top:0;left:0;bottom:0;right:0;
  background:#cccccc5f;
  text-align:center;
} */

.loadingSpinner i {
  margin: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  /* position: absolute; */
  /* top: 50%; */
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 48px;
}


@media (pointer:none),
(pointer:coarse) {
  .data-table-wrapper {
    box-shadow: none;
    padding: 0;
  }
}


/* ------------ Data Table End ------------ */


/* ------------ Autofill Detection ------------ */
@keyframes onAutoFillStart {
  from { opacity: 0.99; }
  to { opacity: 1; }
}

@keyframes onAutoFillCancel {
  from { opacity: 0.99; }
  to { opacity: 1; }
}

input:-webkit-autofill {
  animation-name: onAutoFillStart;
  animation-duration: 0.001s;
}

input:not(:-webkit-autofill) {
  animation-name: onAutoFillCancel;
  animation-duration: 0.001s;
}
/* ------------ Autofill Detection End ------------ */