/************************************************************************/
/* Gym Theming */
/************************************************************************/
@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/Quicksand.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'InriaSans';
  src: url('../fonts/InriaSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Livvic';
  src: url('../fonts/Livvic-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Urbanist';
  src: url('../fonts/Urbanist.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'InterTight';
  src: url('../fonts/InterTight.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gabarito';
  src: url('../fonts/Gabarito.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}



:root {
  --primaryBg: #f1faff;
  --primary: #383535;
  /* --primary: #40314c; */
  --secondary: #727272;
  --secondaryBg: #fbedcf;
  --success: #2f9c57;
  --successBg: #bff0c9;
  --danger: #c02d2d;
  --dangerBg: #ffbbbb;
  --warning: #e1a307;
  --warningBg: #ffdcbb;
  --info: #007f88;
  --infoBg: #d5f0ff;
  --cancel: #454545;
  --cancelBg: #ebebeb;
  --business: #01ADEF;

  --white: #ffffff;
  --lightGrey: #f6f6f6;
  --textGrey: #5b5b5b;
  --bgGrey : #efefef;
  --dark : #001233;
  /* --dark: #281b33; */

  --clr1: #7d8597;
  --clr2: #7d8597;
  --clr3: #5c677d;
  --clr4: #33415c;
  --clr5: #002855;
  --clr6: #023e7d;
  --clr7: #0353a4;
  --clr8: #0466c8;
  --orange: #ea6e08;
  --clr-foan: #f9f9f9;
  --clr-brown: #402f0b;
}

body {
  font-family: 'Gabarito', sans-serif;
  /* overflow-x: hidden; */
  background-color: #f5f5f5;
}

/* ===========================================
* Thememing
===========================================*/

/* --------------- FONTS ---------------- */
.f-6 {
  font-size: 0.6rem !important;
}
.f-65 {
  font-size: 0.65rem !important;
}
.f-7{
  font-size: 0.7rem !important;
}
.f-75 {
  font-size: 0.75rem !important;
}
.f-8 {
  font-size: 0.8rem !important;
}
.f-85 {
  font-size: 0.85rem !important;
}
.f-9 {
  font-size: 0.9rem !important;
}
.f-95 {
  font-size: 0.95rem !important;
}
.f-100{
  font-size: 1rem !important;
}
.f-120 {
  font-size: 1.2rem !important;
}
.fw-xbold{
  font-weight: 900 !important;
}

/* --------------- Background ---------------- */
.bg-primary{
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

.bg-secondary{
  background-color: var(--secondary) !important;
  color: var(--white) !important;
}

.bg-success{
  background-color: var(--success) !important;
  color: var(--white) !important;
}

.bg-info {
  background-color: var(--info) !important;
  color: var(--white) !important;
}

.bg-warning {
  background-color: var(--warning) !important;
  color: var(--white) !important;
}

.bg-danger {
  background-color: var(--danger) !important;
  color: var(--white) !important;
}

.bg-grey{
  background-color: var(--bgGrey) !important;
  color: var(--primary) !important;
}

.bg-lightGrey {
  background-color: var(--lightGrey) !important;
  color: var(--primary) !important;
}

.bg-clr1{
  background-color: var(--clr1) !important;
  color: var(--white) !important;
}

.bg-clr2 {
  background-color: var(--clr2) !important;
  color: var(--white) !important;
}

.bg-clr3 {
  background-color: var(--clr3) !important;
  color: var(--white) !important;
}

.bg-clr4 {
  background-color: var(--clr4) !important;
  color: var(--white) !important;
}

.bg-clr5 {
  background-color: var(--clr5) !important;
  color: var(--white) !important;
}

.bg-clr6 {
  background-color: var(--clr6) !important;
  color: var(--white) !important;
}

.bg-clr7 {
  background-color: var(--clr7) !important;
  color: var(--white) !important;
}

.bg-clr8 {
  background-color: var(--clr8) !important;
  color: var(--white) !important;
}

.bg-orange {
  background-color: var(--orange) !important;
  color: var(--white) !important;
}

.bg-light{
  background-color: var(--white) !important;
  color: var(--primary) !important;
}

.bg-dark {
  background-color: var(--dark) !important;
  color: var(--primary) !important;
}

.bg-business {
  background-color: var(--business) !important;
  color: var(--primary) !important;
}


.bg-foan{
  background-color: var(--clr-foan);
}

.bg-brown {
  background-color: var(--clr-brown);
}

.bg-grd-primary{
  background: linear-gradient(135deg,#0d3927 0%,#30c889 100%);
  border-radius: 8px;
  color: #fff;
}

.bg-none{
  background: none !important;
}


/* --------------- Text ---------------- */

.text-primary{
  color: var(--primary) !important;
}

.text-business {
  color: var(--business) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-success{
  color: var(--success) !important;
}

.text-danger{
  color: var(--danger) !important;
}

.text-info {
  color: var(--info) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.text-orange {
  color: var(--orange) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.text-white{
  color: var(--white) !important;
}

.text-clr1 {
  color: var(--clr1) !important;
}

.text-clr2 {
  color: var(--clr2) !important;
}

.text-clr3 {
  color: var(--clr3) !important;
}

.text-clr4 {
  color: var(--clr4) !important;
}

.text-brown {
  color: var(--clr-brown) !important;
}

/* --------------- Buttons ---------------- */

.btn{
  border: none;
  font-size: 0.8rem !important;
  padding: 8px 20px !important;
}

.btn:hover {
  transform: scale(1.01) !important;
}

.btn-sm {
  padding: 4px 10px !important;
  font-size: 0.7rem !important;
}

.btn-xs {
  padding: 2px 10px !important;
  border-radius: 4px !important;
  font-size: 0.7rem !important;
}

.btn-icon{
  border-radius: 50%;
  height: 25px;
  width: 25px;
  padding: 2px 2px;
  margin-left: 10px;
  margin-right: 10px;
}

.btn-primary{
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

.btn-primary:hover{
  background-color: var(--dark) !important;
}

.btn-business {
  background-color: var(--business) !important;
  color: var(--white) !important;
}

.btn-business:hover {
  background-color: var(--dark) !important;
}

.btn-secondary {
  background-color: var(--secondary) !important;
  color: var(--white) !important;
}

.btn-secondary:hover {
  background-color: var(--clr3) !important;
  /* color: var(--white); */
}

.btn-warning {
  background-color: var(--warning) !important;
  color: var(--white) !important;
}

.btn-success {
  background-color: var(--success) !important;
  color: var(--white) !important;
}

.btn-danger {
  background-color: var(--danger) !important;
  color: var(--white) !important;
}

.btn-info {
  background-color: var(--info) !important;
  color: var(--white) !important;
}

.btn-clr5{
  background-color: var(--clr3) !important;
  color: var(--white) !important;
}

.btn-cancel{
  background-color: var(--white) !important;
  color: var(--primary) !important;
  border: 1px solid var(--primary);
}

.btn-outline-primary{
  color: var(--primary) !important;
}

.btn-outline-primary:hover{
  background-color: var(--primary) !important;
  color: var(--white) !important;
}



/* --------------- Additional ---------------- */
.cursor-pointer{
  cursor: pointer !important;
}

.shadow-right {
  box-shadow: 2px 0 8px -6px rgba(0, 0, 0, 0.5) !important;
}


/* --------------- Badges ---------------- */
.badge{
  padding: 5px 10px !important;
  font-size: 0.6rem;
}



/* --------------- Alert ---------------- */
.alert {
  font-size: 0.85rem;
  border-style: none;
}





.content {
  margin-left: 90px;
}

small{
  padding-top:0;
  margin-top: 0;
  color: var(--textGrey);
  font-size: 0.75rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

/************************************************************************/
/* Navbar */
/************************************************************************/
.navbar a.heading{
	padding-left: 90px;
}

.navbar a i{
  font-size: 0.9rem;
  color: var(--white);
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 90px;
  /* background-color: var(--primary); */
  /* border-right: 1px solid var(--primary); */
  background-color: var(--white);
  box-shadow: 1px 0 8px -6px rgba(0, 0, 0, 0.5);
  /* padding-top: 60px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1040;
  overflow-y: scroll;
}

.sidebar .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3px 0;
  color: var(--secondary);
  /* color: var(--primary); */
  font-size: 0.65rem;
}

.sidebar .nav-link:hover {
  transform: scale(1.1);
  color: var(--primary);
}

.sidebar .nav-link i {
  font-size: 15px;
}


/* For Chrome, Edge, Safari */
.hide-scrollbar {
  overflow-y: scroll;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}


.option-card {
  cursor: pointer;
  border: 2px solid var(--bs-border-color);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background-color .12s ease;
  user-select: none;
}

.option-card-selected{
  background-color: var(--clr4);
  color: var(--clr-foan);
}

.btn-check:checked + .option-card {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25) !important;
  transform: translateY(-2px) !important;
}
.btn-check:focus-visible + .option-card {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .35);
}
.btn-check:disabled + .option-card {
  opacity: .55;
  cursor: not-allowed;
}
.option-card i {
  display: block;
}




/************************************************************************/
/* Modal */
/************************************************************************/

.modal-header {
  border-bottom: none;
}

.modal-title{
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.modal-footer {
  border-top: none;
  justify-content: center;
}

.modal-icon {
  font-size: 40px;
  color: #dc3545;
}


/************************************************************************/
/* Card */
/************************************************************************/
.card {
  margin-bottom: 15px;
  /* border: 2px solid #0012331b; */
  border: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 8px;
  -webkit-box-shadow: 0px 9px 20px rgba(46, 35, 94, 0.09);
  box-shadow: 0px 2px 2px rgba(46, 35, 94, 0.09);
}

.card-none{
  border: none;
  box-shadow: none;
}

.card-none:hover {
  border: none;
  box-shadow: none;
}

.card-header{
  border-bottom: none !important;
  background-color: #ffffff !important;
  /* color: var(--primary) !important; */
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.card-header h6{
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 4px;
}

.card-body{
  padding: 10px 16px;
}

.bg-image-card {
  background: url('../images/card/bg.jpg') center center/cover no-repeat;
  /* set height */
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.bg-image-card-2 {
  background: url('../images/card/bg2.png') center center/cover no-repeat;
  /* set height */
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}


.card-bg-none{
  background: none;
  border: none;
  box-shadow: none;
}

.card-bg-none .card-header{
  background: none !important;
  border: none;
}


.top-cards {
  border-radius: 5px;
}

.top-cards .card-body {
  padding: 10px 15px !important;
}

.top-cards h4 {
  font-size: 1.3rem;
  margin-bottom: 0;
  font-weight: 600;
}

.top-cards p {
  font-size: 0.7rem;
  margin-bottom: 0;
  /* color: var(--lightGrey) !important; */
  letter-spacing: 0.03rem;
}

.top-cards a {
  cursor: pointer;
}

.card-hover {
  transition: transform 0.3s ease, border 0.3s ease;
}

.card-hover:hover {
  transform: scale(1.003);
  border: 1px solid var(--clr5) !important;
}

.card-hover2 {
  transition: transform 0.3s ease, border 0.3s ease;
}

.card-hover2:hover {
  transform: scale(1.02);
  border: 1px solid var(--clr5) !important;
}


/************************************************************************/
/* FORMS */
/************************************************************************/
.form-control, .form-select, .input-group-text{
  font-size: .75rem !important;
}

span.req, small.error{
  color: var(--danger) !important;
}


.form-label, .form-check-label{
  font-size: 0.7rem;
  margin-bottom: 0;
}

.form-btns{
  text-align: right;
}

input:read-only{
  background-color: #e8e8e8 !important;
}

.input-group-text{
  font-size: 0.7rem;
}

.form-check-input {
  background-color: transparent;
}

.form-check-input:checked {
  background-color: transparent;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.form-control-xs {
  padding: .15rem .25rem;
  font-size: .675rem;
}


.form-control-sm,
.form-select-sm {
  font-size: .75rem !important;
}

/************************************************************************/
/* TOAST */
/************************************************************************/
.toast-header{
  font-size: .7rem !important;
  letter-spacing: .1em;
}

.toast-body {
  font-size: .7rem !important;
}


/************************************************************************/
/* Tables */
/************************************************************************/


table thead tr td:first-child{
  border-radius: 8px 0 0 8px !important;
}

table thead tr td:last-child {
  border-radius: 0 8px 8px 0 !important;
}

.table thead th {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 2;
}

table thead tr th {
  font-weight: 300 !important;
  color: var(--business) !important;
  font-size: 0.8rem !important;
}

table thead tr td{
  background-color: #f6f6f6 !important;
  font-weight: 600;
  color: #727171 !important;
  padding: 5px !important;
  font-size: 0.75rem;
  border-bottom: 1px;
}

table tbody tr td {
  color: #727171 !important;
  padding: 5px !important;
  font-size: 0.75rem;
  border-bottom: 2px solid #eeeeee;
  
}

.search-box {
  max-width: 300px;
}

tr.tr-inactive td{
  text-decoration: line-through;
  color: var(--danger) !important;
}


/************************************************************************/
/* Toggle */
/************************************************************************/

.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.toggle-label {
  font-weight: bold;
  font-size: 0.8rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

#customToggle:checked~.on-label {
  color: black;
}

#customToggle:not(:checked)~.off-label {
  color: black;
}

/* Toggle base */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider Style */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary);
  transition: 0.4s;
  border-radius: 34px;
}

/* Circle (Knob) */
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 5px;
  background-color: white;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--danger);
}

input:checked+.slider:before {
  transform: translateX(26px);
}



/************************************************************************/
/* Dropdown */
/************************************************************************/
ul.dropdown-menu{
  font-size: 0.8rem;
}

ul.dropdown-menu li button, ul.dropdown-menu li a{
  text-align: left;
}

.dropdown-menu a {
  font-size: 0.75rem !important;
  color: var(--textGrey) !important;
}

.dropdown-menu a:hover {
  background-color: var(--clr2) !important;
  color: var(--white) !important;
}

.dropdown-menu button {
  font-size: 0.75rem !important;
  cursor: pointer;
  color: var(--textGrey) !important;
  margin-bottom: 0 !important;
}

.dropdown-menu button:hover {
  background-color: var(--clr2) !important;
  color: var(--white) !important;
}




/************************************************************************/
/* Mobile Styles */
/************************************************************************/
@media (max-width: 767px) {
  .sidebar {
    display: none;
  }
  .content {
    margin-left: 0;
  }

  .navbar a.heading {
    padding-left: 0;
    font-size: 1rem;
  }

  .search-box {
    max-width: 100%;
  }

  
}



@media (max-width: 576px) {
  .modal-content {
    padding: 0.5rem;
  }
}



/************************************************************************/
/*CANVAS
/************************************************************************/
/* Make offcanvas body a full height column so sticky works inside */
.offcanvas-body {
  max-height: 100dvh;
  /* respects mobile browser UI */
}

#formContent {
  /* optional smooth scroll feel */
  scroll-behavior: smooth;
}

/* optional: faint gradient hint above the sticky footer */
.mt-2.position-sticky.bottom-0::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
}



.text-blink {
  animation: blinker 1.4s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}