:root {
  --d2h-change-del-color: #fdd4d0;
}

body {
  font-size: 13px;
}

.gt-mouse-pointer {
  cursor: pointer;
  -webkit-transition: font-weight 0.3s ease;
  transition: font-weight 0.3s ease;
}

.gt-mouse-pointer:hover {
  font-weight: 500;
}

.file-list {
  width: 20%;
  overflow-y: auto;
  background-color: #f4f4f4;
  padding: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 8px;
}


td {
  vertical-align: middle !important;
}

input[type="checkbox"]:disabled {
  /* Example color: light gray */
  color: #6d3939;
  /* Text color */
  border-color: #201f1f;
  /* Border color */
  background-color: #b96969;
  /* Background color */
}

.notification-item .div-mark-notif {
  display: none;
  /* Hide buttons by default */
}

.notification-item:hover .div-mark-notif {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* Show buttons on hover */
}

/* Styling for GitHub-like task lists */
.contains-task-list {
  list-style-type: none;
  padding-left: 15px;
  /* Adjust as necessary */
}

.task-list-item {
  margin-bottom: 6px;
  /* Adjust spacing between items */
}

.task-list-item-checkbox {
  margin-right: 5px;
  /* Space between checkbox and text */
  vertical-align: middle;
}

.task-list-item-checkbox:checked+.task-list-item-label {
  color: #28a745;
  /* Color for checked checkbox */
}

.task-list-item-checkbox:disabled {
  cursor: not-allowed;
}

.task-list-item-label {
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.6;
}

.task-list-item-checkbox:not(:checked)+.task-list-item-label {
  color: #d73a49;
  /* Color for unchecked checkbox */
}

.task-list-item-label:hover {
  text-decoration: underline;
}

/* For WebKit browsers (Chrome, Safari, Opera) */
::-webkit-scrollbar {
  width: 6px;
  /* width of the scrollbar */
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* color of the track */
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #3552a3;
  /* color of the scroll thumb */
  border-radius: 6px;
  /* roundness of the scroll thumb */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #3470e0;
  /* color of the scroll thumb on hover */
}

.gt-fs-12 {
  font-size: 12px !important;
}

/* .line-num2 {
  display: none;
} */

.gt-menu-item:hover,
.gt-menu-item.active {
  font-weight: 600;
  color: var(--bs-primary);
}

.table> :not(caption)>*>* {
  padding: 0.55rem 0.6rem;
}

.navbar-menu .navbar-nav .nav-link {
  font-size: 0.825rem;
  padding: 0.4rem 1.5rem;
}

.avatar-sm {
  width: 4rem;
  height: 4rem;
}

.EasyMDEContainer {
  max-height: 400px !important;
  overflow: auto;
}

.EasyMDEContainer .editor-toolbar .table {
  all: unset;
  display: inline-block;
  cursor: pointer;
}

.modal-xxl {
  --vz-modal-width: 75%;
}

#themeIcon {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

#themeIcon:hover {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}



.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.dashboard-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  border-left: 4px solid #5b7cff;
  padding-left: 1rem;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #5b7cff;
}

.user-info {
  text-align: right;
}

.user-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2c3e50;
  margin: 0;
}

.user-role {
  font-size: 0.75rem;
  color: #7f8c8d;
  margin: 0;
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #2c3e50;
}

.section-icon {
  font-size: 1.5rem;
}

/* Dashboard Cards */
.dashboard-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  height: 100%;
}

.dashboard-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card-header-custom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-icon {
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

/* Workout Card */
.workout-info {
  margin-bottom: 1.25rem;
}

.workout-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.workout-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #7f8c8d;
}

.workout-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.continue-btn {
  background: linear-gradient(135deg, #5b7cff 0%, #4a63d9 100%);
  color: white;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(91, 124, 255, 0.3);
}

.continue-btn:hover {
  background: linear-gradient(135deg, #4a63d9 0%, #3952c2 100%);
  box-shadow: 0 6px 16px rgba(91, 124, 255, 0.4);
  transform: translateY(-1px);
}

/* Calories Card */
.calories-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.calories-info {
  flex: 1;
}

.calories-main {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

.calories-label {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 1rem;
}

.calories-remaining {
  font-size: 0.9rem;
  color: #7f8c8d;
}

.calories-remaining-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
}

.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
}

.progress-circle svg {
  transform: rotate(-90deg);
}

.progress-circle-bg {
  fill: none;
  stroke: #e8ecf1;
  stroke-width: 10;
}

.progress-circle-fill {
  fill: none;
  stroke: url(#gradient);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s ease;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.progress-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #5b7cff;
  display: block;
}

.progress-percent {
  font-size: 0.85rem;
  color: #7f8c8d;
}

/* Weight Card */
.weight-main {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.weight-progress-bar {
  height: 8px;
  background: #e8ecf1;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.weight-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #5b7cff 0%, #4ecdc4 100%);
  border-radius: 10px;
  transition: width 0.5s ease;
}

.weight-stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.weight-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.stat-icon {
  color: #5b7cff;
}

.stat-value {
  font-weight: 600;
  color: #2c3e50;
}

.weight-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7f8c8d;
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {}

/* Responsive Design */
@media (max-width: 768px) {
  .dashboard-container {
    padding: 1rem;
  }

  .dashboard-title {
    font-size: 1.35rem;
  }

  .section-header {
    font-size: 1.15rem;
  }

  .dashboard-card {
    padding: 1rem;
  }

  .calories-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .progress-circle {
    width: 100px;
    height: 100px;
  }
}