:root {
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}
body, header, .sidebar, .sidebar-close{
    margin-top: var(--safe-area-top);
      box-sizing: border-box;
      overflow-x: hidden;
}


body, footer, .mobile-bottom-nav, .scroll-top{
    margin-bottom: var(--safe-area-bottom);
}

div::-webkit-scrollbar{
    width:2px !important;
}
div::-webkit-scrollbar-thumb{
    display: none !important;
    background-color: #777;
}
div::-webkit-scrollbar-track{
    background:transparent !important;
}
div:hover::-webkit-scrollbar-thumb{
    display: block !important;
}
 
.dark-background:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  height: 100%;  
  inset: 0;
}

/*===================
     Loader CSS 
 ===================*/
 #loader {
    position: fixed;
    z-index: 10001;
    width: 100vw;
    height: 100vh;
    top:0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
  }
  
  #loader .spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
    margin: 40vh auto;
    
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .table-shimmer {
  display: grid;
  gap: 8px;
}

.table-shimmer .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* number of columns */
  gap: 8px;
}

.shimmer {
  height: 20px;
  background: #f0f0f0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  width: 150px;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, #e0e0e0 50%, transparent 100%);
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}




  .no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin: 20px;
  }
  
  .no-results .icon {
    margin-bottom: 20px;
    color: rgb(234, 77, 77); /* Icon color */
  }
  
  .no-results h2 {
    font-size: 1.8rem;
    color: rgb(234, 77, 77);
    margin-bottom: 10px;
  }
  
  .no-results p {
    font-size: 1rem;
    color: #555;
    max-width: 400px;
    margin: 0 auto;
  }

  .nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
    
  }
  

/*====================================
        File upload
  ====================================*/
  .drop-area {
    border: 2px dashed #007bff; /* Bootstrap primary color */
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    }

    .drop-area.drag-over {
        background-color: rgba(0, 123, 255, 0.1); /* Light blue */
    }



.bg-blue{
  background: #1b3d72 !important;
}
.text-blue{
  color: #1A3A6F !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd {
    width: 0% !important;
}


.VIpgJd-ZVi9od-ORHb{
    display : none !important;
}


.profile-picture-1{
  height: 1em;
  width: 1em;
}
.profile-picture-2{
  height: 2em;
  width: 2em;
}
.profile-picture-3{
  height: 2.5em;
  width: 2.5em;
}
.profile-picture-4{
  height: 3em;
  width: 3em;
}
.profile-picture-5{
  height: 3.5em;
  width: 3.5em;
}
.profile-picture-6{
  height: 4em;
  width: 4em;
}

/*=========== Admin Style ===========*/

.pointer{
  cursor: pointer;
}

/*========== Admi Style ===============*/
.skeleton {
  display: inline-block;
  height: 16px;
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    #e0e0e0 25%,
    #f5f5f5 50%,
    #e0e0e0 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-text {
  height: 14px;
  margin: 6px 0;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}


/*==========Digital Timer ================*/

 

/*===========Quick Link==============*/
.quick-link-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 28px rgba(0,0,0,0.15);
}

.quick-link-card .icon-bg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: background 0.3s ease;
}

.quick-link-card:hover .icon-bg {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.quick-link-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    margin: 0;
}

.quick-link-card .stretched-link {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

@media (max-width: 768px) {
    .quick-link-card {
        padding: 25px 15px;
    }
    .quick-link-card .icon-bg {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
}


.bg-brand {
  background-color: #1d4079ff !important;
}


.stat-card {
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}


.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
}




.day-card {
  flex: 1;
  margin: 0.3rem;
  padding: 1rem;
  border-radius: 12px;
  background: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}
.day-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.day-card .day-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
  display: block;
  margin-bottom: 0.25rem;
}
.day-card h6 {
  font-size: 1.2rem;
}

/* Muted (no events) */
.day-card.muted {
  opacity: 0.6;
}
/* Gradient like the example */
.custom-gradient {  
  border-radius: 12px;
}


/*Calender Styling */
.fc-toolbar {
    padding: 0.2em !important; /* Adjust padding to make toolbar items fit properly */
}
.fc-header-toolbar{
    margin: 5px 0 !important;
}
.fc-col-header-cell-cushion, .fc-daygrid-day-number {
    text-decoration: none !important;
    color:black;
}

.fc-toolbar-title {
    font-size: 0.8rem !important; /* Adjust font size of toolbar title */
    font-weight: bold;
}


.fc-button {
    font-size: 0.7rem !important; /* Adjust font size of toolbar buttons */
    padding: 0.25em 0.5em !important; /* Adjust padding of toolbar buttons */    
}
