/* Reusable dashboard card style */
.dashboard-card {
  border: 1px solid #0003;
  border-radius: 4px;
  box-shadow: none;
}

:root {
  --site-color: #051139;
  --primary: #051139;
}

.bg-primary {
  background: #051139 !important;
  color: #fff !important;
}

.btn-primary {
  background: #051139 !important;
  color: #fff !important;
}

.q-table tbody td {
  text-decoration: none !important;
}

.overlay-loader {
  visibility: hidden;
  background: rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  z-index: 9999999;
  width: 100%;
  height: 100%;
  text-align: center;
}

.lds-dual-ring {
  width: 80px;
  height: 80px;
  position: fixed;
  z-index: 99999;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.page-heading {
  padding: 0px 20px 0px 20px !important;
}

.page-heading h2 {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 2vw !important;
  text-transform: capitalize;
  opacity: 0.8;
  font-weight: 500;
}

/* .q-field__control,
.q-field__control:active,
.q-field__control:visited,
.q-field__control:focus
{
    border: 1px solid #848484 !important;
    margin: 0 !important;
    outline: none !important;
}
.q-field__native
{
    color: #ccc !important;

}
.q-field--outlined .q-field__control:after {
    border: none !important;
} */

.sidebar .q-btn {
  padding: 6px !important;
  color: #fff !important;
}

.nav-link {
  color: #fff;
  padding: 8px;
  font-size: 20px;
  cursor: pointer;
}

.active-link {
  color: #3bc982;
}

.sub-links {
  color: #000;
  text-decoration: none;
  min-width: 100px;
  font-weight: bold;
  padding: 10px;
}

.card-site {
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 5px 20px rgba(34, 35, 58, 0.15);
  padding: 10px 10px;
  margin-bottom: 5px;
}

.logo-img {
  width: 80px;
}

.main-site-container {
  padding: 10px;
}

.swal2-container {
  z-index: 9999;
}

.site-heading {
  font-size: 24px;
  margin: 0;
  font-weight: 500;
  padding: 4px 8px !important;
  border-radius: 5px;
  color: #fff !important;
  background: #051139 !important;
  margin-bottom: 20px;
}

/* Table Style (Start)*/

.my-sticky-table .q-table__top,
.my-sticky-table .q-table__bottom,
.my-sticky-table thead tr:first-child th {
  /* bg color is important for th; just specify one */
  /* background-color: #051139;
  color: #fff; */
  background-color: #f6f6f6;
  color: #000;
}

.my-sticky-table .q-table__bottom {
  background-color: #051139;
  color: #fff;
}

.my-sticky-table thead tr th {
  position: sticky;
  z-index: 1;
}

.my-sticky-table thead tr:first-child th {
  top: 0;
}

.my-sticky-table .tableSearch {
  color: #fff;
  border-radius: 0px;
  border-bottom: 1px solid transparent;
  /* Initial border state */
  transition: border-bottom 0.3s ease;
  /* Duration and easing function */
}

.my-sticky-table .tableSearch:focus-within {
  border-bottom: 1px solid grey;
}

.my-sticky-table .tableSearch input[type="text"] {
  color: #000;
}

.my-sticky-table .tableSearch .q-icon {
  color: #000;
}

.my-sticky-table .q-table__control .q-icon {
  color: #fff;
}

.my-sticky-table
  .q-table__control
  .q-field
  .q-field__inner
  .q-field__control
  .q-field__control-container
  .q-field__native
  span {
  color: #fff;
}

.my-sticky-table .q-table__top .q-table__control .q-btn .q-btn__content .q-icon {
  color: #0007 !important;
}

.my-sticky-table .q-table__top .q-table__control .q-field .q-field__inner .q-field__control .q-field__append .q-icon {
  color: #0007 !important;
}

/* .my-sticky-table tbody tr:nth-child(2n) {
  background-color: #cbe5ff;
  padding: 0px 16px;
  height: 30px;
} */

/* (End) */

/* Table Toggle Styling (Start) */
.btn-dropdown,
.btn-dropdown:hover {
  font-size: 20px !important;
  padding: 0px 5px;
  font-weight: 900;
  background: transparent !important;
}

.btn-dropdown:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  box-shadow: none !important;
}

.my-sticky-table .q-btn .block {
  margin-bottom: 2px;
  margin-right: 13px;
}

.my-sticky-table .toggleSwitch .q-btn .q-icon {
  display: none;
}

.my-sticky-table .toggleSwitchContainer {
  padding: 0 0 0 7px;
}

.toggleSwitch {
  height: fit-content;
  min-width: 106px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 16px;
  margin-left: 8px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4ade80; /* Soft green (like Tailwind's green-400) */
}

input:checked + .slider:before {
  transform: translateX(14px); /* Adjusted for new width */
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* (End) */

.openModalOnName {
  cursor: pointer;
}

.openModalOnName:hover {
  color: #051139;
  font-weight: 600;
}

.linkTextDecoration {
  text-decoration: none;
}

@media (max-width: 1024px) {
  .site-heading {
    display: block;
    text-align: center;
    /* padding: 10px 8px !important; */
  }
}

/* .float-dashboard {
  background: #4CAF50 !important;
  padding: 4px 0px 4px 4px;
  margin-right: 3px;
  text-align: center;
  color: #fff;
  border-radius: 5px;
  font-size: 24px;
  text-decoration: none;
}
.float-dashboard:hover {
  background: red !important;
  transition-duration: 0.3s;
} */

.total_count {
  margin: 0;
  font-weight: bold;
  color: #63e6be;
  font-size: 30px !important;
  line-height: 70px;
}

.border-line {
  border-bottom: 1px solid #ccc;
}

.alert-body {
  max-height: 600px;
  min-height: 585px;
  overflow: auto;
}

.notification-heading {
  margin: 0;
  padding: 0px;
  font-size: 1vw;
}

.padding-top-none {
  padding-top: 0px !important;
}

.notifications-panel {
  min-height: 90vh;
}

.today-card h3 {
  margin: 0;
  padding: 0;
  line-height: 20px;
  font-size: 2vw;
}

.preset-heading {
  text-align: center;
  padding: 10px;
  font-weight: bold;
  font-size: 24px;
  opacity: 0.4;
}

#customers {
  border: none !important;
  box-shadow: 0px 5px 20px rgba(34, 35, 58, 0.15);
  border-collapse: collapse;
  width: 100%;
}

#customers td,
#customers th {
  padding: 12px;
}

#customers tr:first-child {
  background-color: red;
  border-radius: 5px !important;
}

.my-card-table {
  margin: 0px 2px 5px 2px;
  background-color: #051139;
  color: #fff;
  border-radius: 5px !important;
}

.my-card .q-item__label {
  color: #000 !important;
}

.my-card {
  margin: 0px 2px 5px 2px;
  background-color: #ffffff;
  color: #fff;
  min-height: 170px !important;
  /* border: 1px solid #051139; */
  box-shadow: 20px 20px 100px -13px rgba(0, 0, 0, 0.3);
}
.my-card:hover {
  background-color: rgba(5, 17, 57, 0.1);
  transition-duration: 0.3s;
  /* border: 1px solid #051139; */
}

.my-widget-card {
  margin: 0px 2px 5px 2px;
  min-height: 80px !important;
  /* border: 1px solid #051139; */
  /* box-shadow: 10px 10px 70px -23px rgba(0, 0, 0, 0.3); */
  box-shadow: none;
  border: 1px solid #0003;
}
.my-widget-card-board {
  margin: 0px 2px 5px 2px;
  box-shadow: none;
  border: 1px solid #0003;
}

.my-widget-card .q-icon {
  font-size: 60px;
  margin-top: 6px;
}

.widget_heading {
  line-height: 30px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 1199px) {
  /* md and below */
  .widget_heading {
    font-size: 12px;
  }
}

.widget_count {
  margin-bottom: 0px !important;
  margin-top: 6px !important;
  font-size: 32px !important;
  line-height: 28px;
}

.widget-subheading-text {
  opacity: 0.7;
  font-size: 12px;
}

.my-widget-card img {
  width: 56px !important;
}

.module-icon-section {
  flex: none !important;
}
.my-card img {
  width: 80px !important;
}

.module-links-section a {
  text-decoration: none !important;
}

.card-dashboard {
  box-shadow: 0px 5px 20px rgba(34, 35, 58, 0.15);
  padding: 25px;
  border-radius: 5px;
}

.sponsored-card {
  height: 220px;
  width: 100%;
}

.spo-text {
  color: #fff;
  text-shadow:
    1px 1px 1px red,
    0 0 1em #ccc,
    0 0 0.1em blue;
  font-size: 3vw;
  margin-top: 110px;
  width: 100%;
}

.image-container {
  position: relative;
  width: 100%;
  height: 220px;
  object-fit: cover;
  box-shadow: 0px 5px 20px rgba(34, 35, 58, 0.15);
  border-radius: 5px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.overlay-text {
  position: fixed;
  z-index: 9999;
  top: 70px;
  left: 86px;
  color: white;
  text-transform: uppercase;
  font-size: 16px;
  opacity: 0.8;
}

.overlay-text-heading {
  opacity: 0.5;
  position: absolute;
  top: 50%;
  text-align: center;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.7vw;
  line-height: 40px;
  text-decoration: none;
  color: #fff;
  text-shadow:
    1px 1px 1px red,
    0 0 1em #ccc,
    0 0 0.1em blue;
}
.breadcrumb,
.breadcrumb * {
  color: #fff !important;
  text-decoration: none;
  font-size: 22px !important;
}
.breadcrumb .q-icon:hover,
.breadcrumb a:hover {
  color: red !important;
  transition-duration: 0.3s;
}
.breadcrumb-heading {
  color: #ccc !important;
}

.box-shadow-card {
  box-shadow:
    rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  padding: 25px 10px 16px 13px;
}

.card-shadow {
  box-shadow:
    rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  padding: 25px 10px 16px 13px;
}

.label-required::after {
  content: " *";
  color: red;
}

.page-top-form-container {
  border: 1px solid #0003;
  border-radius: 4px;
  padding: 1rem;
}

.label-increased-font-size {
  font-size: 18px;
}

@media (max-width: 767px) {
  .breadcrumb,
  .breadcrumb * {
    font-size: 14px !important;
  }
}

.birthday-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
  max-width: 100%;
}

.birthday-box {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  text-align: center;
  padding: 2px 2px;
  transition: 0.3s;
  cursor: pointer;
}

.birthday-box:hover {
  background: #06cea2;
  transition-duration: 0.8s;
}

.date {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}

.count {
  font-size: 13px;
  color: #555;
}

.birthday-box:hover .count {
  color: white;
}

@media (max-width: 500px) {
  .birthday-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}

.sticky-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.note {
  width: 320px;
  min-height: 150px;
  background: #fff9a1;
  color: #333;
  padding: 10px;
  border-radius: 5px;
  transform: rotate(-3deg);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.note:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Overlay */
.note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none; /* ✅ Fix */
}

/* Icon */
.note::after {
  content: "\1F4C4"; /* 📄 icon */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  z-index: 2;
  transition:
    opacity 0.3s ease,
    transform 0.2s ease;
  pointer-events: none; /* ✅ Fix */
}

.note:hover::before,
.note:hover::after {
  opacity: 1;
}

.note:hover::after {
  transform: translate(-50%, -50%) scale(1.1);
}
.note a {
  text-decoration: none;
  color: #333;
}
.note a:hover {
  text-decoration: none;
  color: #8b8b8b;
}

/* Different colors for random notes */
.note:nth-child(2n) {
  background: #a1f7ff;
  transform: rotate(2deg);
}
.note:nth-child(3n) {
  background: #ffa1f7;
  transform: rotate(-5deg);
}
.note:nth-child(4n) {
  background: #a1ffa5;
  transform: rotate(4deg);
}

.note:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.notice-board-card {
  border: 15px solid transparent;
  border-image: repeating-linear-gradient(125deg, #8b5e3c, #8b5e3c 5px, #c19a6b 5px, #c19a6b 10px) 8;
  padding: 0px 15px 15px 15px;
  min-height: 495px !important;
  box-sizing: border-box;
}

.taskbar-nav {
  display: grid;
  place-content: center;
  position: fixed;
  bottom: -6px;
  left: 0;
  background-color: rgba(5, 7, 56, 1) !important;
  width: 100%;
}

.taskbar-container {
  display: flex;
  align-items: flex-end;
  gap: 0vw;
  transition: gap 1s ease;
}

.taskbar-icon {
  transition: transform 0.25s ease-out;
  height: 2.5vw;
  width: 2.5vw;
  transition: transform 0.3s ease;
  border-radius: 7px;
  padding: 5px;
  margin: 3px 3px;
  cursor: pointer;
}

/* for all cards in the project */
.card-container {
  border: 1px solid #0003;
  border-radius: 4px;
}

.button-style {
  padding: 1px 8px !important;
}

@media (max-width: 767px) {
  .taskbar-icon {
    height: 28px;
    width: 28px;
    padding: 2px;
    margin: 5px 1px;
  }
}

/* 🔥 Main Hovered Icon */
.taskbar-icon:hover {
  transform: scale(1.4) translateY(-0.5vw);
  transition: transform 0.6s ease;
}

/* ✅ Next Neighbor */
.taskbar-icon:hover + .taskbar-icon {
  transform: scale(1.2) translateY(-1vw);
  transition: transform 0.6s ease;
}

/* ✅ Next to Next Neighbor */
.taskbar-icon:hover + .taskbar-icon + .taskbar-icon {
  transform: scale(1.1) translateY(-0.5vw);
  transition: transform 0.6s ease;
}

.taskbar-container {
  overflow: visible;
}

.badge-section {
  position: relative;
}
.count-badge {
  position: absolute;
  top: -12px;
  right: 2px;
  font-size: 20px;
}

.attendance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px;
  max-width: 100%;
}

.dashboard-sidebar-close {
  margin-left: auto;
}

.dashboard-sidebar-close i {
  color: #000;
}

@media (max-width: 1545px) {
  .attendance-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.attendance-box {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  text-align: center;
  padding: 2px 2px;
  transition: 0.3s;
  cursor: pointer;
}

.col-5th {
  flex: 0 0 20%;
  max-width: 20%;
}
@media (max-width: 1345px) {
  .col-5th {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media (max-width: 1200px) {
  .col-5th {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media (max-width: 1065px) {
  .col-5th {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}
@media (max-width: 806px) {
  .col-5th {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 576px) {
  .col-5th {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.att-badge {
  color: #000;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  margin: 2px;
}

.nav-heading {
  font-size: 18px !important;
  padding: 0px !important;
  line-height: 14px !important;
}
