/* stylelint-disable scss/selector-no-redundant-nesting-selector */
.example:not(:first-child) {
  margin-top: 1.5rem;
}
.example .tab-content {
  background-color: var(--cui-tertiary-bg);
}
.example + p {
  margin-top: 1.5rem;
}
.example .preview + p {
  margin-top: 2rem;
}
.example .preview > .form-control + .form-control {
  margin-top: 0.5rem;
}
.example .preview > .nav + .nav,
.example .preview > .alert + .alert,
.example .preview > .navbar + .navbar,
.example .preview > .progress + .progress {
  margin-top: 1rem;
}
.example .preview > .dropdown-menu {
  position: static;
  display: block;
}
.example .preview > :last-child {
  margin-bottom: 0;
}
.example .preview > svg + svg,
.example .preview > img + img {
  margin-left: 0.5rem;
}
.example .preview > .btn,
.example .preview > .btn-group {
  margin: 0.25rem 0.125rem;
}
.example .preview > .btn-toolbar + .btn-toolbar {
  margin-top: 0.5rem;
}
.example .preview > .list-group {
  max-width: 400px;
}
.example .preview > [class*=list-group-horizontal] {
  max-width: 100%;
}
.example .preview .fixed-top,
.example .preview .sticky-top {
  position: static;
  margin: -1rem -1rem 1rem;
}
.example .preview .fixed-bottom {
  position: static;
  margin: 1rem -1rem -1rem;
}
@media (min-width: 576px) {
  .example .preview .fixed-top,
  .example .preview .sticky-top {
    margin: -1.5rem -1.5rem 1rem;
  }
  .example .preview .fixed-bottom {
    margin: 1rem -1.5rem -1.5rem;
  }
}
.example .preview .pagination {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.example .preview .docs-example-modal .modal {
  position: static;
  display: block;
}

[data-coreui-theme=dark] .example .tab-content {
  background-color: var(--cui-secondary-bg);
}

  .profile-picture-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    cursor: pointer;
  }

  .profile-picture-wrapper input[type="file"] {
    display: none;
  }

  .profile-picture-wrapper .overlay-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 6px;
  }

  .profile-picture-wrapper .overlay-icon svg {
    width: 20px;
    height: 20px;
    color: white;
  }
    @media (max-width: 576px) {
    .profile-img {
      width: 100px !important;
      height: 100px !important;
    }

    .file-input-mobile {
      width: 100% !important;
    }
  }
  @media (max-width: 576px) {
    #toast-container {
      left: 50%;
      right: auto;
      transform: translateX(-50%);
    }
  }
  /* Base gradient styles per role */
.badge-role-admin {
  background: linear-gradient(to right, #d19e1d, #ffd86e, #e3a812);
  color: #212529;
}
.badge-role-staff {
  background: linear-gradient(to right, #ededed, #bdbdbd); 
  color: #212529;
}
.badge-role-student {
  background: linear-gradient(135deg, #198754, #28a745); /* green gradient */
  color: #fff;
}
.badge-role-alumni {
  background: linear-gradient(135deg, #ffc107, #ffca2c); /* yellow gradient */
  color: #212529;
}
.badge-role-guest {
  background: linear-gradient(135deg, #6c757d, #adb5bd); /* gray gradient */
  color: #fff;
}

/* Shimmer overlay */
.shimmer-badge {
  position: relative;
  overflow: hidden;
}

.shimmer-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 250%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 5s infinite; /* Slower shimmer */
}

@keyframes shimmer {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}
/* Smooth sidebar slide in/out */
.header {
  transition: margin-left 0.3s ease, padding-left 0.3s ease;
}

.sidebar {
  transition: margin-left 0.3s ease, transform 0.3s ease;
  will-change: margin-left, transform;
}

body.sidebar-hidden .sidebar {
  transform: translateX(-100%);
}
.modal.fade .modal-dialog {
  transform: translateY(-100px);  /* start 100px above */
  transition: transform 0.3s ease-out, opacity 0.3s ease-in-out;
  opacity: 0;
}

.modal.fade.show .modal-dialog {
  transform: translateY(0); /* slide to normal position */
  opacity: 1;
}
.card-img-top {
    height: 250px; /* fixed height for desktop */
    object-fit: cover;
    width: 100%;
}

@media (max-width: 768px) {
    .card-img-top {
        height: 180px; /* smaller height for mobile */
    }
}
/* Force all sidebar nav link text to white */
.sidebar-dark .nav-link,
.sidebar-dark .nav-link .nav-link-text,
.sidebar-dark .nav-item .nav-link {
    color: #fff !important;
}

/* Optional: make hover color a lighter shade */
.sidebar-dark .nav-link:hover,
.sidebar-dark .nav-link.active {
    color: #f8f9fa !important;
}
/* Ensure the calendar container doesn't overflow */
#calendar {
    max-width: 100%;
    overflow-x: auto; /* allow horizontal scroll if needed */
}

/* Fix toolbar on small screens */
.fc .fc-toolbar.fc-header-toolbar {
    flex-wrap: wrap;            /* allow wrapping */
    justify-content: space-between;
    gap: 0.5rem;                 /* space between buttons */
}

/* Make buttons smaller for mobile */
.fc .fc-toolbar-title {
    font-size: 1rem;
}

/* Responsive button adjustments */
@media (max-width: 576px) {
    .fc .fc-toolbar.fc-header-toolbar {
        flex-direction: column; /* stack vertically */
        align-items: flex-start;
    }
    .fc .fc-toolbar-chunk {
        margin-bottom: 0.5rem;
    }
}

.table thead th {
    font-weight: normal;
}

/* --- Accordion button text and background --- */
.accordion-button {
  color: var(--bs-body-color) !important;   /* Always normal body text color */
  background-color: transparent !important; /* Transparent background */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover/active */
  box-shadow: none !important;
}

/* Hover effect */
.accordion-button:hover {
  background-color: rgba(0,0,0,0.05) !important; /* Subtle highlight */
  color: var(--bs-body-color) !important;
}

/* Active (expanded) state */
.accordion-button:not(.collapsed) {
  background-color: rgba(0,0,0,0.05) !important;
  color: var(--bs-body-color) !important;
  box-shadow: none !important;
}

/* --- Smooth collapse animation --- */
.accordion-collapse {
  transition: height 0.4s ease; /* Control expand/collapse speed */
}
.officeIdInput {
    font-size: 0.9rem; /* adjust as needed */
}
.underline-input {
  border: none;
  border-bottom: 2px solid #ced4da; /* light gray underline */
  border-radius: 0 0 4px 4px; /* rounded bottom corners */
  box-shadow: none;
  transition: border-color 0.2s ease-in-out;
}

.underline-input:focus {
  border-bottom: 2px solid #0d6efd; /* Bootstrap primary color */
  outline: none;
  box-shadow: none;
}
select[readonly],
select:disabled {
  background-color: transparent !important;
  color: inherit; 
  opacity: 1;    
}
    .step-animation {
    animation: slideHorizontal 0.3s ease-in-out;
    }

    @keyframes slideHorizontal {
    from {
        transform: translateX(10px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
    }
    .toast.fade.show {
    animation: slide-in 0.3s ease, fade-out 0.3s ease 3.7s forwards;
    }

    .toast-progress {
    animation: toast-progress-bar 4s linear forwards;
    }

    @keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
    }

    @keyframes fade-out {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
    }

    @keyframes toast-progress-bar {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
    }

.chart-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 250px;   /* ensures visibility on mobile */
    max-height: 60vh;    /* prevents it from being too tall */
}

.chart-canvas {
    width: 100% !important;
    height: auto !important;
}


        /* CSS Animation Styles for Card Toggles */
        .analytics-section {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            transform-origin: center;
        }

        /* Hide state - start invisible and scaled down */
        .analytics-section.hiding {
            opacity: 0;
            transform: scale(0.95) translateY(-10px);
            pointer-events: none;
        }

        /* Show state - fade in and scale up */
        .analytics-section.showing {
            opacity: 1;
            transform: scale(1) translateY(0);
            pointer-events: auto;
        }

        /* Column width transitions */
        .analytics-section {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Card hover effects for better interactivity */
        .analytics-section .card {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .analytics-section .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
        }

        /* Stagger animation delays for grouped sections */
        .analytics-section:nth-child(1) { animation-delay: 0ms; }
        .analytics-section:nth-child(2) { animation-delay: 100ms; }
        .analytics-section:nth-child(3) { animation-delay: 200ms; }
        
.no-borders th,
    .no-borders td {
        border: none !important;
    }
    .no-borders {
        border: none !important;
    }
/*# sourceMappingURL=examples.css.map */