.draft-disclaimer {
    background-color: #f7cbd1; /* Light orange; adjust color as needed */
    color: #d8000c; /* Red text color; adjust as needed */
    text-align: center;
    padding: 10px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1070; /* Ensure it stays on top */
    font-weight: bold;
    border-bottom: 2px solid #d8000c;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Optional: adds shadow for better visibility */
}

body {
    padding-top: 48px;
    background-color: #f8f9fa;
}
.blur-gradient {
    position: fixed;
    top: 0;
    height: 48px; /* Height of the blur effect */
    width: 100%;
    /*background-color: white;*/
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    backdrop-filter: blur(8px);
    z-index: 2; 
}

#sidebar {
    height: 100vh;
    width: 200px;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: -200px; /* Start off-screen */
    padding-top: 50px;
    padding-left: 5px;
    background: #f8f9fa;
    overflow-y: auto;
    transition: left 0.3s ease;
}

#sidebar.show {
    left: 0; /* Slide in */
}

@media (min-width: 768px) {
    .content {
        margin-left: 0px;
    }
}

.nav-link {
    color: #9510AC;

}

#sidebarButton {
    position: fixed;
    top: 10px;
    left: 10px; /* Make sure it's visible on the left */
    z-index: 1060; /* Higher than the sidebar */
}

.content-fluid {
    z-index:1;
    margin-left: 0px;
}

.header {
    max-width: 1200px;
    
}

.header-icon {
    width:140px;
    cursor:pointer;
}

/* The header box is generated through svg.
#header-box {
    border: width 0.5px;
    border-style:solid;
    border-color: black;
    border-radius: 15px;
}
*/
.header-subtitle {
    color: #9510AC;
}

.section-title {
    color: #9510AC;
    margin-bottom: 25px;
}

.sub-section-title {
    color: #9510AC;
}

.sub-section {
    padding-left: 0px; /*redundant now*/
}

.content-section {

    margin-bottom: 25px;
    max-width: 1200px;
    min-height:400px;
    /*margin-left:5px;
    margin-right: 5px;*/
    background-color: white;
    width: 100%;
    /*border*/
   /* border: 1px solid lightgrey; /* Light blue color #ADD8E6*/
    padding: 8px; /* Optional: adds space between the border and the image */
    display: inline-block; /* Keeps the layout inline and manages spacing */
    border-radius: 10px; /* Optional: rounds the corners for a softer look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.expandable-image {
    /*width: 100%;*/
    width: 1200px;
    height: auto;
    cursor:pointer;
    /*border styling*/
    /*border: 2px solid #9510ac80;*/ /* Light blue color #ADD8E6*/
    border: 1px solid lightgrey; /* Light blue color #ADD8E6*/
    padding: 8px; /* Optional: adds space between the border and the image */
    display: inline-block; /* Keeps the layout inline and manages spacing */
    border-radius: 2px;/* Optional: rounds the corners for a softer look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.embedded-video {    
    width: 100%;
    height: auto;
    max-width: 1200px;
    cursor:pointer;
        /*border styling*/
        border: 1px solid lightgrey; /* Light blue color #ADD8E6*/
        padding: 0px; /* Optional: adds space between the border and the image */
        display: inline-block; /* Keeps the layout inline and manages spacing */
        border-radius: 0px; /* Optional: rounds the corners for a softer look */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.venn-diagram {margin-bottom: 20px;}

.collapsible-legend {

    margin-bottom: 5px;
    max-width: 800px;
}

.collapsible-note-button {
    margin-top: 5px;
}

.collapsible-legend-button {
    margin-bottom: 5px;
}

.tooltip-inner { /*inbuilt bootstrap 5 class*/
    max-width: 400px; 
    padding: 10px; 
    color: #ffffff;
    background-color: #000000;
}

.bi-info-circle {
    vertical-align: top;
    font-size: 12px;
  }

  /* CSS style that targets only elements with a tooltip */
  [data-bs-toggle="tooltip"] {
    cursor: pointer; /* Keeps the cursor as pointer to indicate interactivity */
    text-decoration: underline dotted; /* Changes underline to dotted */
    /*text-decoration-color: rgba(0, 0, 0, 0.5);*/ /* Optional: Adjusts the color of the underline to a lighter shade*/
    text-decoration-color: #d718f979; /* This represents a light pink with 50% transparency */
    text-decoration-thickness: 1px; /* Optional: Adjusts the thickness of the underline */
    text-underline-offset: 3px; /* Optional: Adjusts the position of the underline relative to the text */
}

/* This makes the toggle button stick to the top right corner of the page when scrolling*/
.position-fixed-top-right {
    position: fixed;
    top: 10px;   /* Adjust this value as necessary */
    right: 10px; /* Adjust this value as necessary */
    z-index: 1030; /* Bootstrap's fixed navbar z-index is 1030 */
}

.btn-user-mode {
    display: none;
}

#imageModal {z-index: 1070;}

.external-link {
    margin: 1px;
}

.pdf-actions .btn {
    margin-right: 10px; /* Adds spacing between buttons */
}

.svg-container svg {
    max-width: 100%;        /* Makes the SVG responsive */
    max-height: 100%;       /* Adjusts the SVG's height to fit its container */
    display: block;     /* Removes extra space below the SVG */
}


/* Container styling */
.container {
    padding-top: 20px; /* Adjust padding if needed */
}

/* Custom CSS adjustments */
body {
    padding-top: 48px;
    background-color: #f8f9fa;
}

.card {
    background-color: white;
    border: 1px solid lightgrey;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    display:block;
}

.card:hover {
    transform: scale(1.05);
}

.card-img-top {
    margin-top: 20px;
    border-radius: 50%;
    border: 1.5px solid black;
    width: 140px;
    height: 140px;
    object-fit: cover;

}

.card-title {
    color: black;
    font-size: 1.5rem;
    margin-top: 10px;
}

.card-text {
    color: #9510AC;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.card-text i {
    vertical-align: top;
    font-size: 1rem;
}

.tooltip-inner {
    max-width: 400px;
    padding: 10px;
    color: #ffffff;
    background-color: #000000;
}

[data-bs-toggle="tooltip"] {
    cursor: pointer;
    text-decoration: underline dotted;
    text-decoration-color: #d718f979;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Adjust the grid spacing */
.row-cols-1 > .col,
.row-cols-md-2 > .col,
.row-cols-lg-3 > .col,
.row-cols-xl-5 > .col {
    margin-bottom: 20px;
}


.text-muted {
    color: #6c757d !important; /* Bootstrap's default muted grey color */
    font-style: italic;
}


.circular-progress-container {
    position: relative;
    width: 140px; /* Container width */
    height: 140px; /* Container height */
    display: inline-block;
    margin-top: 20px; /* Adjusts padding from the top of the card */
}

.circular-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(lightgray 0% 0%, #f8f9fa 0% 100%);
    transition: background 0.4s ease;
    padding: 10px; /* Creates space between the progress ring and the icon */
    box-sizing: border-box; /* Ensures padding doesn't reduce the size of the container */
}

.circular-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 1px solid #f8f9fa; /* Controls the thickness of the progress bar */
    box-sizing: border-box;
}

.circular-progress-container img {
    width: 100px; /* Fix icon size */
    height: 100px; /* Fix icon size */
    border-radius: 50%;
    z-index: 1;
    position: relative;
    object-fit: cover;
}

.circular-progress:hover .progress-text {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    border-radius: 10px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
    font-size: 1.75rem;
    padding-left: 10px;
    padding-right: 10px;
    color: black;
    background-color: rgba(248, 249, 250, 0.7); /* Change this alpha value for different opacity levels */
    font-family: 'Poppins', sans-serif;
    text-shadow: 
        -1px -1px 0 white,  
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white;
}

.image-container {
    background-color: white !important;
    z-index: 100;
}