p {
    font-size: 1em !important; 
 }

 /* Custom scrollbar */
 /* width */
/*body::-webkit-scrollbar {
    width: 8px;
}*/
  
  /* Track */
/*body::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}*/
  
  /* Handle */
/*body::-webkit-scrollbar-thumb {
    background: #888 !important;
}*/
  
  /* Handle on hover */
/*body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(0deg, rgba(122,185,193,1) 0%, rgba(74,41,108,1) 100%) !important;
}*/

/* Tooltip */
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/*Transform properties*/
.transform-x-0 {
    transform: translateX(0px);
}
.-transform-x-44 {
    transform: translateX(-44px);
}
.overlay {
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.5019257703081232) 100%);
}
/*.bg-light-teal-2{
    background: #d2e3e6 !important;
}*/
.bg-light-teal-2 {
    background: #d2e3e6 !important;
}
.text-light-teal-2 {
    color: #d2e3e6 !important;
}
.bg-dark-teal {
    color: #009da5;
}

/* site.css */

.article-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3748; /* text-gray-800 */
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 0.875rem;
    color: #718096; /* text-gray-600 */
    margin-bottom: 0.5rem;
}

.article-body {
    font-size: 1rem;
    color: #4a5568; /* text-gray-700 */
    margin-bottom: 1rem;
}

.article-body p {
    margin-bottom: 1rem !important;
}

.article-body h2 {
    margin-top: 2rem;
    font-size: x-large;
    margin-bottom: 0.25rem;
}

.article-image {
    border: 1px solid #e2e8f0; /* border-gray-200 */
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.comment-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #2d3748; /* text-gray-800 */
    margin-bottom: 0.5rem;
}

.comment-body {
    font-size: 0.875rem;
    color: #4a5568; /* text-gray-700 */
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.75rem;
    color: #a0aec0; /* text-gray-500 */
}

.button {
    background-color: #7f9cf5; /* bg-primary-purple */
    color: #fff; /* text-white */
    font-weight: medium;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
}

.button:hover {
    background-color: #667eea; /* bg-secondary-purple */
}

.metismenu li a:active {
    color: #4a296c !important;
}

.mm-active > a {
    --tw-text-opacity: 1 !important;
    color: inherit !important;
}

/*.active\:text-primary-purple:active {
    color: #4a296c !important;
}*/

/* Add to your CSS */
.metismenu li.mm-active > a {
    color: rgb(74, 41, 108) !important;
}

.metismenu li.mm-active > ul {
    display: block;
}

.mm-show {
    display: block !important;
}

.mm-collapse:not(.mm-show) {
    display: none;
}
/*Quill Editor*/
.ql-toolbar.ql-snow {
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
    margin-top: 0.5rem;
}

.ql-container.ql-snow {
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}
.page-content ol, .page-content ul {
    list-style: revert;
    margin-left: 1.5em
}

.tabs li {
    list-style: none !important;
}

/* Target list indentation */
div:has(> .ql-editor) ul ul,
div:has(> .ql-editor) ol ol,
div:has(> .ql-editor) ul ol,
div:has(> .ql-editor) ol ul,
.ql-editor ul ul,
.ql-editor ol ol,
.ql-editor ul ol,
.ql-editor ol ul {
    margin-left: 4px;
}

/* Target all list items with data-list attribute */
li[data-list="ordered"] {
    list-style: decimal !important;
}

li[data-list="bullet"] {
    list-style: disc !important;
}

span.ql-ui::before {
    display: none !important;
}

.main-content .card li:not(.tabs li, .sidebar li, .chat li) {
    margin: .5em .5em .5em 0em !important;
}

nav.flex ol li {
    list-style: none !important;
}

nav.flex ol {
    margin-left: 0 !important;
}

ul.list-unstyled {
    list-style: none !important;
    margin: 0 !important;
}
li[data-list] {
    padding-left: 0 !important;
}
p {
    color: #777777 !important;
}

/* styles.css */
.input-field {
    @apply w-full p-3 rounded border border-gray-300 focus:outline-none focus:ring-2 focus:ring-primary-purple;
}

.btn-primary {
    @apply px-6 py-2 bg-primary-purple text-white rounded hover:bg-primary-teal;
}

.btn-secondary {
    @apply px-6 py-2 bg-gray-200 text-gray-600 rounded hover:bg-gray-300;
}

.badge {
    transition: background-color 0.3s ease;
}

.badge:hover {
    background-color: #b2f5ea; /* A lighter shade for hover effect */
}

.chat li {
    list-style: none !important;
}

.chat ul {
    margin-left: 0 !important;
}

li .active {
    cursor: pointer !important;
}

.app-download {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-download.hidden {
    display: none;
}

.download-container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 90%;
    width: 350px;
    text-align: center;
}

.download-buttons {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.download-button {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.dismiss-link {
    display: inline-block;
    margin-top: 1rem;
    color: #777;
    text-decoration: underline;
    cursor: pointer;
}

/* Media query fallback for desktop view */
@media (min-width: 1024px) {
    .app-download {
        display: none;
    }
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.tooltip-wrapper .tooltip-box {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.875rem;
    z-index: 10;
    margin-top: 4px;
}

/* Base tooltip styles */
.tooltip-box {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    white-space: normal !important;
    max-width: 90vw;
    min-width: 150px;
    word-wrap: break-word;
    line-height: 1.3;
    padding: 8px 12px;
}

/* Tablet and up */
@media (min-width: 640px) {
    .tooltip-box {
        max-width: 280px;
        min-width: 180px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .tooltip-box {
        max-width: 250px;
        min-width: 200px;
    }
}

.group:hover .tooltip-box {
    visibility: visible;
    opacity: 1;
}