.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 10px;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.table-responsive {
    margin-bottom: 1rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.auth-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(0.8); /* Optional: adjust dark logo brightness */
}

.bg-light {
    background-color: #f8f9fa !important;
}

.pagination {
    margin-bottom: 0;
    margin-top: 1rem;
}

.nav-tabs .nav-link {
    color: #495057;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
}

.search-form {
    margin: 0;
    padding: 0.5rem 0;
}

.search-form .input-group {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
}

.sortable {
    cursor: pointer;
    position: relative;
}

.sortable:after {
    content: '↕';
    position: absolute;
    right: 8px;
    opacity: 0.4;
}

.sortable.sort-asc:after {
    content: '↑';
    opacity: 1;
}

.sortable.sort-desc:after {
    content: '↓';
    opacity: 1;
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.user-row:hover {
    background-color: rgba(0,0,0,.05);
}

/* Table column width controls */
.table th,
.table td {
    vertical-align: middle;
}

/* Time column */
.table th:nth-child(1),
.table td:nth-child(1) {
    width: 12%;
    min-width: 120px;
}

/* From column */
.table th:nth-child(2),
.table td:nth-child(2) {
    width: 15%;
    min-width: 150px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* To column */
.table th:nth-child(3),
.table td:nth-child(3) {
    width: 20%;
    min-width: 180px;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Subject column */
.table th:nth-child(4),
.table td:nth-child(4) {
    width: 25%;
    min-width: 200px;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status column */
.table th:nth-child(5),
.table td:nth-child(5) {
    width: 10%;
    min-width: 100px;
}

/* Score column */
.table th:nth-child(6),
.table td:nth-child(6) {
    width: 8%;
    min-width: 80px;
}

/* Action column */
.table th:nth-child(7),
.table td:nth-child(7) {
    width: 10%;
    min-width: 100px;
}

/* Add tooltip class */
.truncate-with-tooltip {
    position: relative;
    cursor: pointer;
}



/** new styling **/
*{
    font-family: "Funnel Sans", sans-serif;

}
body {
  margin: 0;
  overflow-x: hidden;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
  background-color: #343a40;
  transition: width 0.3s;
  z-index: 1030;
  text-align: center;
}

.sidebar.collapsed {
  width: 70px;
}

.sidebar .nav-link {
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  align-items: center;
  display: flex;
  padding: 12px 10px;
  border-radius: 4px;
}

.sidebar .nav-link:hover{
    background-color: #41474c;
}

.sidebar .nav{
    text-align: left;
}

.main {
  margin-left: 250px;
  transition: margin-left 0.3s;
  padding: 20px;
}

.sidebar.collapsed ~ .main {
  margin-left: 70px;
}

.m-sb-logo{
    display: none;
}

.linkText{padding-left: 10px;}

.collapsed .linkText,
.collapsed .d-sb-logo{
    display: none;
    padding-left: 0px;
}

.collapsed .nav-link{
justify-content: center !important;
}


.collapsed .m-sb-logo{
    display: block;
}
/* Prevent animation temporarily */
.sidebar.no-transition,
.main.no-transition {
transition: none !important;
}

.accountToggle::after{
display: none;
}



@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .main {
    margin-left: 0 !important;
  }
}