/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 25px;
  height: 40px;
}

.app-brand-logo.demo svg {
  width: 35px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 72px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 254px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}
.table th {
    font-size: 12px !important;
    background-color: #f8f9fa !important;
    color: gray !important;
}
.table-hover tbody tr:hover {
    background-color: #f1f3f5 !important;
}
.table td,
.table th {
    vertical-align: middle;
    padding: 1rem;
}
.bg-red {
    background-color: #c71f2e !important;
    color: white !important;
}
.custom-btn{
    background-color: #c71f2e !important;
    color: white !important;
}
.footer-link {
    color: #c71f2e !important;
}

.day-pill {
    display: inline-block;
    padding: 5px 10px;
    background-color: #c71f2e;
    color: white;
    border-radius: 20px;
    font-weight: 500;
}
.custom-alert {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
}

.custom-alert-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.custom-alert-text {
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: calc(100% - 2.5rem);
}

.text-heading{
    font-size: 12px !important;
}
/* In your CSS file (e.g., style.css or app.css) */
.profile-link {
    color: #c71f2e;  /* Change this color as needed */
    text-decoration: none; /* Removes the underline */
}

.profile-link:hover {
    color: #9c363e;  /* Color on hover */
}

.bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #13025e;
    margin-right: 10px;
}

.suggestions-list {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    position: absolute;
    top: 100%;
    left: 50%; /* Center alignment */
    transform: translateX(-50%); /* Adjust to center */
    width: 300px; /* Reduced width */
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s, transform 0.1s;
}

.suggestion-item:hover {
    background-color: #f1f1f1;
    transform: translateY(-1px);
}

.suggestion-item img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.suggestion-item span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}


.chat-history-body {
    max-height: 400px !important;
    overflow-y: auto !important;
  }
.badge-light-red {
background-color: #f8d7da; /* Light red (soft pinkish background) */
color: #721c24; /* Dark red text for readability */
padding: 0.25em 0.5em;
border-radius: 0.25rem;
font-size: 0.875rem;
}
#earningsChart {
    max-height: 300px;
}
#usersChart{
    max-height: 250px;
}

/* Style for the day buttons */
.day-button {
    margin: 5px;
    padding: 8px 15px;
    font-size: 0.9rem;
    background-color: #c71f2e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.day-button:hover {
    background-color: #0056b3;
}

/* Styling for the exercise cards */
.exercise-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exercise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Styling for collapsible icon */
.toggle-exercise {
    cursor: pointer;
    font-size: 1.2rem;
    color: #c71f2e;
}

.toggle-exercise:hover {
    color: #ce3945;
}

/* Custom button design */
.custom-btn-video {
    border: 1px solid #c71f2e !important;
    color: #c71f2e;
    background-color: transparent;
    border-radius: 25px;
    padding: 4px 10px !important;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.custom-btn-video i {
    margin-right: 4px;
}


/* Button icon color */
.custom-btn-video i {
    color: #c71f2e;
}

.custom-scrollbar {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c71f2e #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #c71f2e;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
}


/* Custom Circle Size */
.circle-day {
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    background-color: #c71f2e !important;
}
.nav-link.active {
    color: black !important;
    background-color: transparent !important;
}

.nav-tabs .nav-link.active {
    border-color: black !important;
}

.product-column {
    display: flex;
    align-items: center;
}

.product-content {
    display: flex;
    gap: 10px; /* Space between image and text */
    align-items: center;
}

.product-img img {
    width: 60px; /* Adjust the size as needed */
    height: 60px;
    object-fit: cover;
    border-radius: 5px; /* Optional: Rounded corners */
    border: 1px solid #ddd;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

.custom-table-bg {
    background-color: #f8f9fa !important;
}
.custom-table-bg thead tr th {
    background-color: #fff !important;
    color: gray !important;
}

.status-badge {
    padding: 0.25em 0.5em;
    border-radius: 5px;
    display: inline-block;
    font-size: 0.9em;
}
.status-pending {
    background-color: #fff3cd;
    color: #856404;
}
.status-delivery {
    background-color: #d1ecf1;
    color: #0c5460;
}
.status-paid {
    background-color: #d4edda;
    color: #155724;
}
.bg-menu-theme.menu-vertical .menu-item.active > .menu-link:not(.menu-toggle) {
    background: linear-gradient(270deg, rgba(199, 31, 46, 1) 0%, #c71f2e 100%) !important;
    box-shadow: 0px 2px 6px 0px rgba(199, 31, 46, 0.3) !important;
    color: #fff !important;
  }


/* Ensure submenu is open when parent is active */
.menu-item.open > .menu-sub {
    display: block !important; /* Show submenu when the parent item is active */
}

/* Optional: You can add a transition for smooth opening/closing */
.menu-sub {
display: none !important; /* Hide submenu by default */
transition: all 0.3s ease-in-out !important;
}

.menu-item.open > .menu-sub {
display: block !important; /* Show submenu when parent is open */
}
.hidden {
    display: none;
}

.visible {
    display: block; /* or whatever display type is appropriate */
}
.scroller-table {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.datatables-order {
    width: 100%;
    border-collapse: collapse;
}

.datatables-order thead th {
    position: sticky;
    top: -1px;
    background-color: #fff;
    z-index: 1; /* ensures the header is above other content */
}

.scroller-table::-webkit-scrollbar {
    width: 8px;
}

.scroller-table::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.scroller-table::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

.scroller-table::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
.progress-bar {
    position: relative;
    background-color: #c71f2e; /* Your primary theme color */
    color: white;
    font-weight: bold;
    text-align: center;
    height:16px;
}
.unread-message {
    font-weight: 900 !important;
    color: rgb(27, 26, 26) !important;
}

.category-checkbox {
    margin-right: 10px;
}

.category-label {
    cursor: pointer;
    font-size: 14px;
}
.scroller-category{
    max-height: 200px;overflow-y: auto;
}
.scroller-category::-webkit-scrollbar {
    width: 8px;
}

.scroller-category::-webkit-scrollbar-thumb {
    background-color: #464343;
    border-radius: 10px;
    border: 2px solid #ffffff;
}

.scroller-category::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
}
.custom-tag {
    background-color: #f0f2f5;
    color: #333;
    font-weight: bold;
    border-radius: 25px;
    padding: 5px 15px;
    display: inline-block;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.custom-tag:hover {
    background-color: #c71f2e;
    color: #fff;
    transform: scale(1.05);
}
.img-fluid-custom {
    max-width: 100%;
    height: 60%;
  }
  .sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000; /* Keeps it above other elements */
    background-color: #f6f6f6; /* Matches your design */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
    padding: 10px 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
