/* BASE TEMPLATE */

.main-content {
    margin: 0;
  }

  @media (max-width: 992px) {
  .main-content table {
    width: 100%;  /* Make tables take up the full width of the screen */
    margin: 0 auto;  /* Ensure the table is centered */
  }
}

.custom-navbar {
    height: 80px;         /* Set the desired height */
    padding: 0 1rem;      /* Adjust padding */
    line-height: 80px;    /* Vertically align text and content */
}



.scrollable-dropdown {
    max-height: 350px; /* Adjust based on how much of the menu you want visible */
    overflow-y: auto;  /* Adds a scrollbar when the content exceeds max height */
  }

  /* Style for the skyscraper ad placeholder */
  .skyscraper-banner {
      width: 160px; /* Width of the skyscraper banner */
      height: 600px; /* Height of the skyscraper banner */
      background-color: #f0f0f0; /* Set a background color */
      border: 1px solid #ccc; /* Add a border for visibility */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: #666; /* Text color */
      margin: 20px auto; /* Center horizontally and add vertical spacing */
  }
  .skyscraper-banner h1 {
      font-size: 20px;
      margin: 20px 0;
  }
  .skyscraper-banner p {
      font-size: 16px;
      margin: 10px 0;
  }
  .skyscraper-banner a {
      display: inline-block;
      background-color: #007BFF;
      color: #ffffff;
      padding: 10px 20px;
      text-decoration: none;
      border-radius: 5px;
      font-size: 14px;
      margin-top: 20px;
  }

  .large-rectangle-banner {
      width: 336px; /* Width of the large rectangle ad */
      height: 280px; /* Height of the large rectangle ad */
      background-color: #f0f0f0; /* Light gray background for the placeholder */
      border: 1px solid #ddd; /* Light gray border */
      text-align: center;
      line-height: 280px; /* Center text vertically */
      margin: 20px auto; /* Margin top and bottom with auto horizontal margin for centering */
      color: #333; /* Darker text color */
  }

  @media (max-width: 992px) {
      .skyscraper-banner, .large-rectangle-banner {
          display: none; /* Hide banners on screens smaller than 992px */
      }
  }

/* BASE TEMPLATE END */

.title-h2 {
    font-size: 2em;  /* Same as <h2> size */
    margin: 0.75em 0; /* Same as <h2> margins */
    font-weight: bold; /* Ensure bold text like <h2> */
}

.converted-dates-container {
    background-color: #f0f0f0; /* Light grey background */
    padding: 10px;            /* Adds padding around the content */
    border-radius: 5px;       /* Optional: Adds rounded corners */
}

/* Optional: Style the input and button to match */
.calendar-form-container {
    width: 300px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* ||||||||||| */

/* Ensure the code block uses a monospaced font and adds some extra styling */
pre code {
    font-family: "Courier New", Courier, monospace; /* Customize the monospace font */
    font-size: 1rem; /* Set the font size */
}

/* Reduce the left padding of the pre element */
pre {
    padding-left: 0.1rem !important; /* Adjust left padding */
    padding-right: 0.1rem; /* Maintain right padding */
    padding-top: 0.1rem; /* Maintain top padding */
    padding-bottom: 1rem; /* Maintain bottom padding */
}

/* Container for the code block */
.code-container {
    position: relative; /* Make the container relatively positioned */
    padding-left: 0rem;
    padding-right: 0rem;
    padding-top: 0; 
    /* padding-bottom: 1rem; */
    /* display: block; */
    background-color: #f4f4f4;
    border-radius: 5px;
    border: 1px solid #ddd;
    white-space: pre; /* Preserve exact spacing and formatting */
}

.code-container pre,
.code-container code {
    margin: 1; /* Remove default margin */
    padding: 0; /* Remove any padding if applicable */
    line-height: 1.5; /* Adjust line spacing */
    font-family: "Courier New", monospace; /* Ensure consistent monospace font */
    position: relative; /* Allow fine-tuning */
    top: -30px; /* Move the <pre> up by 10px */
}

/* Container for code output */
.code-output-container {
    background-color: #f4f4f4; /* Light background color for better readability */
    border: 1px solid #ddd; /* Light border to define the area */
    border-radius: 5px; /* Rounded corners */
    padding: 20px; /* Space inside the container */
    margin-bottom: 5px; /* Space below the container */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
    max-width: 100%; /* Responsive, will take up full width */
    overflow-x: auto; /* Horizontal scroll for long code */
    
}

/* Style the <pre> tag to format the code properly */
.code-output {
    background-color: #0D0D0D; /* Darker background for the code block */
    color: #f8f8f2; /* Lighter text for better contrast */
    font-family: "Courier New", monospace; /* Monospace font for code */
    /* display: flex;  Enable flexbox for vertical centering */
    align-items: center; /* Vertically center content */
    justify-content: left; /* Optionally, center content horizontally */
    height: 100%; /* Ensure the container takes full height */
    padding: 15px;  /* Remove vertical padding, keep horizontal */
    border-radius: 5px; /* Rounded corners for the pre block */
    overflow-x: auto; /* Allow horizontal scrolling for long lines */
    white-space: pre-wrap; /* Wrap long lines */
    font-family: "Courier New", Courier, monospace; /* Customize the monospace font */
    font-size: 1rem; /* Set the font size */
    font-weight: 800; /* Bold text */

    
 
}

.code-output span {
    display: inline; /* Keep spans inline */
    margin-bottom: 5px; /* Add some spacing between the lines */
}


/* Add syntax highlighting by coloring specific keywords (optional) */
.code-output span.keyword {
    color: #00A67D; /* Cyan for keywords */
}

.code-output span.string {
    color: #e6db74; /* Yellowish for strings */
}

.code-output span.comment {
    color: #75715e; /* Grey for comments */
}

.code-output span.number {
    color: #DF3079; /* Purple for numbers */
}


/* Position the button in the top-right corner */
.copy-button {
    position: absolute;
    top: 0.5rem; /* Position near the top */
    right: 3.5rem; /* Position near the right */
    /* background-color: #4CAF50; */
    color: white;
    border: none;
    /* padding: 5px 10px; */
    cursor: pointer;
    /* border-radius: 3px; */
}

.link-button {
    position: absolute;
    top: 0.5rem; /* Position near the top */
    right: 0.5rem; /* Position near the right */
    color: white;
    border: none;
    cursor: pointer;

    /* Center the icon using flexbox */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Set a fixed width for centering */
    height: 36px; /* Set a fixed height for centering */
    /*background-color: #4CAF50;  Optional: background color */
    /*border-radius: 50%;  Optional: make the button circular */
}

/* .copy-button:hover {
    background-color: #45a049;
} */

/* Ensure the code block text uses a monospace font */
/* .code-container pre {
    font-family: 'Courier New', Courier, monospace;
    margin: 0; /* Remove any margin from the pre element 
    color: #333333;} */

/* UPVOTE SYSTEM */
.upvote-container {
    top: 0.5rem; /* Position near the top */
    right: 6.5rem; /* Position near the right */
    display: flex;
    flex-direction: column; /* Stack the elements vertically */
    align-items: center; /* Center the elements horizontally */
    justify-content: center; /* Center the elements vertically */
    width: 40px; /* Set the width to 40px */
    height: 36px; /* Set the height to 36px */
    position: absolute; /* Keep this for the +1 animation */
    background-color: #0d6efd; /* Optional: background color */
    border-radius: 5px; /* Optional: rounded corners */
    font-size: 24px; /* General font size for contents */
    cursor: pointer; /* Show pointer to indicate it's clickable */


}

.upvote-container:hover {
    background-color: #0b5ed7;
}

.upvote-button {
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px; /* Adjust font size to fit the container */
}

/* .upvote-button:hover {
    color: #0b5ed7;
} */

.upvote-count {
    font-size: 10px; /* Adjust the font size of the count */
    text-align: center; /* Center the count text */
    margin-top: 0.5px; /* Small gap between the button and the count */
    color: #ffffff;


}

 /* Animation styles for +1 graphic */
 .plus-one {
    position: absolute;
    top: -30px; /* Start above the button */
    left: 8px; /* Adjust based on where you want it to appear */
    font-size: 20px;
    color: green;
    opacity: 0;
    font-weight:bold;
    pointer-events: none; /* Prevent interaction */
    /*transition: none;  Ensure no animation on page load */
    /*animation: fadeUp 2s forwards;  Animation lasts 1 second */
}

/* Class for animation (add this dynamically) */
.plus-one.animate {
    opacity: 1;
    animation: fadeUp 2.5s forwards; /* Apply the animation only when this class is added */
}

/* Balloon styles */
.balloons-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0px;
    margin-top: -10px; /* Bring them closer to the button */

}

.balloon {
    font-size: 20px; /* Adjust the emoji size */
    opacity: 0;
    position: relative;
    margin-left: -8px; /* Adjust to overlap balloons slightly */

}

.balloon.animate {
    animation: floatBalloon 2s forwards;
}

/* Keyframes for +1 fade-up animation */
@keyframes fadeUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Keyframes for balloon float animation */
@keyframes floatBalloon {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px); /* Move up */
    }
}

/* Rotation animation for the thumb */
@keyframes thumbRotation {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(-40deg); } /* Rotate left */
    100% { transform: rotate(40deg); } /* Rotate back to right */
}

.animate-thumb {
    animation: thumbRotation 0.5s ease-in-out; /* 0.5s animation for smoother transition */
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
    top: 0;
    left: 90%;
    margin-top: 0;
}

/* Ensure the submenu is positioned correctly */
.dropdown-submenu .dropdown-menu {
    display: none;  /* Hide the submenu initially */
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Ensure the dropdown remains visible when active */
.dropdown-menu.show {
    display: block !important; /* Override Bootstrap's default hiding behavior */
}

/* Highlight active parent menu */
.dropdown-submenu.show > .dropdown-toggle {
    font-weight: bold; /* Make text bold */
    color: #0A58CA; /* Change color to indicate active state */
    background-color: #bcdbff; /* Optional: Add background color */
    border-radius: 10px; /* Ensure rounded corners */
}

/* input, button {
    padding: 10px;
    font-size: 1rem;
}

button {
    margin-top: 10px;
} */

.table-container {
    overflow-x: auto; /* Allows horizontal scrolling if the table overflows */
}
table {
    table-layout: fixed; /* Ensures that the table width respects the container */
    width: 100%;
}
td {
    word-wrap: break-word; /* Breaks long words to prevent overflow */
}

.align-items {
    display: inline-block;
    font-size: 1rem;
    padding-left: 5px;   /* Space between icon and text */
    padding-right: 5px;
    line-height: 1.5;
}
.nav-link.align-items {
    text-decoration: none; /* Ensures consistency with non-link elements */
    color: inherit; /* Keeps same color as static text */
    font-weight: bold;
}

input::placeholder {
    font-style: italic;
    color: #c4c4c4 !important; /* Force the color to apply */
}

textarea::placeholder {
    font-style: italic;
    color: #c4c4c4 !important; /* Optional: Adjust the color of the placeholder text */
}

.left-column {
    width: 200px; /* Adjust the width as needed */
}

.right-column {
    width: 300px; /* Adjust the width as needed */
}

.middle-column {
    width: 300px; /* Adjust the width as needed */
}

.custom-form-width {
    width: 100px;  /* Adjust the percentage as needed */
}

.custom-width {
    width: 350px;
}

.small-width {
    width: 250px;
}

.table {
    font-size: 14px;
}

.table thead th {
    position: sticky;
    top: 0;
    background-color: #343a40; /* Matches the .table-dark background color */
    color: #fff; /* Text color for better contrast */
    z-index: 1; /* Keeps header on top */
    border-bottom: 2px solid #dee2e6; /* Border for visual separation */
}

/* Table container styling */
.table-container {
    max-height: 1400px;
    overflow: hidden;
    transition: all 0.3s ease;
    scrollbar-gutter: stable; /* Reserve space for the scrollbar */
}

/* Show scrollbar on hover */
.table-container:hover {
    overflow-y: auto;
}

/* Optional: Style for WebKit browsers (Chrome, Safari) */
.table-container::-webkit-scrollbar {
    width: 8px;
}

.table-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

/* Table container styling */
.table-container-multi {
    max-height: 500px;
    overflow: hidden;
    transition: all 0.3s ease;
    scrollbar-gutter: stable; /* Reserve space for the scrollbar */
}

/* Show scrollbar on hover */
.table-container-multi:hover {
    overflow-y: auto;
}

/* Optional: Style for WebKit browsers (Chrome, Safari) */
.table-container-multi::-webkit-scrollbar {
    width: 8px;
}

.table-container-multi::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.table-container-multi::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

/* COUNTDOWN TIMERS */
       /* General Styling */
       .clock {
        display: flex;
        gap: 20px;
        font-size: 2rem;
        justify-content: center;
        margin-top: 20px;
    }

    .time-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #333;
        color: #fff;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        width: 175px;
        height: 160px;
        font-family: 'Courier New', Courier, monospace;
        font-weight: bold;
    }

    .time-box span {
        display: block;
        font-size: 4rem;
        line-height: 1;
    }

    .label {
        margin-top: 10px;
        font-size: 1rem;
        color: #999;
    }

    .total-seconds-box {
        margin-top: 20px;
        text-align: center;
        font-size: 1.5rem;
    }

    /* Emoji bounce animation */
    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-20px);
        }
    }

    .emoji {
        font-size: 3rem;
        animation: bounce 1s infinite;
        margin-top: 20px;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
        text-align: center;
    }

    .emoji.visible {
        opacity: 1;
    }

    .complete-text {
        font-size: 1.5rem;
        color: #333;
        margin-top: 20px;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .complete-text.visible {
        opacity: 1;
    }

    /* Countdown reaches zero effect */
    @keyframes pulse {
        0% {
            transform: scale(1);
            background-color: #333;
        }
        50% {
            transform: scale(1.2);
            background-color: #ff4d4d; /* Red color flash */
        }
        100% {
            transform: scale(1);
            background-color: #333;
        }
    }

    .time-box.pulse {
        animation: pulse 1s infinite;
    }

    h1 {
        font-size: 2em; /* Adjust this value to match h2's font size */
    }


    /* 2038 COUNTDOWN TIMER */
    .clock {
        display: flex;
        gap: 20px; /* Increase gap between the boxes */
        font-size: 2rem;
    }
    
    .time-box {
        display: flex;  /* Use flexbox for centering */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #333;
        color: #fff;
        border-radius: 10px;
        padding: 20px;  /* Increase padding for a wider look */
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        width: 175px;  /* Increased width */
        height: 160px;  /* Increased height */
        font-family: 'Courier New', Courier, monospace;
        font-weight: bold;
    }
    
    .time-box span {
        display: block;
        font-size: 4rem;  /* Increase font size for better readability */
        line-height: 1;   /* Prevent extra space around numbers */
    }
    
    .label {
        margin-top: 10px;
        font-size: 1rem;  /* Increase label size */
        color: #999;
    }
    
    /* Optional styling for total seconds */
    .total-seconds-box {
        margin-top: 20px;
        text-align: center;
        font-size: 1.5rem;
    }

    #ref-pages *:not(h1, h2, h3, h4, h5, h6) {
        font-size: 14px !important;
    }

    .tick{
        margin-bottom: 2px; /* Adds 2px padding between the lines */
    }

    #currentEpochTimeLarge{
        display: inline-block; /* Allows width to take effect */
        width: 12ch; /* Reserve space for up to 8 characters (e.g., a large Unix timestamp) */
        text-align: center; /* Center the text within the span */
        font-family: 'Courier New', monospace; /* Optional: Monospaced font for consistent spacing */
        /* font-weight: bold; */
        font-size: 26px;
        padding: 5px; /* Add padding for better aesthetics */
        background-color: #000; /* Dark background */
        color: #fff; /* White text */
        border-radius: 5px; /* Optional: Rounded corners */
    }
    

    .shared-time-style {
        display: inline-block; /* Allows width to take effect */
        width: 14ch; /* Reserve space for up to 8 characters (e.g., a large Unix timestamp) */
        text-align: center; /* Center the text within the span */
        font-family: 'Courier New', monospace; /* Optional: Monospaced font for consistent spacing */
        line-height: 1.2; /* Adjust line spacing (1.8 is 180% of font size) */
        /* font-weight: bold; */
        font-size: 26px;
        padding: 5px; /* Add padding for better aesthetics */
        background-color: #000; /* Dark background */
        color: #fff; /* White text */
        border-radius: 5px; /* Optional: Rounded corners */
    }
 
    .shared-time-style span {
        display: block; /* Ensure spans are on separate lines */
        font-size: 20px; /* Adjust font size */
        margin-bottom: 0px; /* Add spacing between the lines */
    }
    
    .shared-time-style span:last-child {
        margin-bottom: 0; /* Remove bottom margin for the last span */
    }

    .epoch-problem-countdown {
        display: inline-block; /* Allows width to take effect */
        width: 50ch; /* Reserve space for up to 8 characters (e.g., a large Unix timestamp) */
        text-align: center; /* Center the text within the span */
        font-family: 'Courier New', monospace; /* Optional: Monospaced font for consistent spacing */
        line-height: 1.2; /* Adjust line spacing (1.8 is 180% of font size) */
        /* font-weight: bold; */
        font-size: 20px;
        padding: 5px; /* Add padding for better aesthetics */
        background-color: #000; /* Dark background */
        color: #fff; /* White text */
        border-radius: 5px; /* Optional: Rounded corners */
    }

    .unix-timestamp-container {
        display: flex; /* Arrange digits in a row */
        justify-content: center; /* Center the digits horizontally */
        gap: 1px; /* Space between digits */
        margin: 10px 0; /* Consistent vertical margin */
        flex-wrap: wrap; /* Allow wrapping if the container is too small */
        text-align: center; /* Ensure center alignment of the content */
        width: 100%; /* Ensure the container takes full width */
        max-width: 100%; /* Prevent overflow */
    }
    
    .unix-timestamp-container span {
        display: inline-block; /* Ensure each digit is treated as a block */
        width: 1ch; /* Fixed width for uniform appearance */
        min-width: 1ch; /* Ensure each span element doesn't collapse */
        text-align: center; /* Center the text within each block */
        font-family: 'Courier New', monospace; /* Monospaced font for consistency */
        font-size: 2rem; /* Adjust font size */
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
        background-color: #212529;
        color: #fff; /* White text */
        border-radius: 4px; /* Optional: Rounded corners */
        padding: 5px; /* Add padding for aesthetics */
        margin: 0 2px; /* Space between the boxes */
        white-space: nowrap; /* Prevent the digits from breaking or collapsing */
    }
    
    /* Ensuring that the elements align well */
    .d-flex {
        justify-content: center; /* Center content */
        align-items: center; /* Ensure alignment */
        flex-wrap: wrap; /* Ensure wrapping in small screens */
    }
    
    /* Apply consistent spacing and alignment for small and large screens */
    .col-12 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Responsive font sizes and padding adjustments */
    @media (max-width: 768px) {
        .unix-timestamp-container {
            font-size: 14px; /* Smaller font size for smaller screens */
        }
    
        .unix-timestamp-container span {
            font-size: 1.5rem; /* Adjust individual digit size for smaller screens */
            margin: 0 1px; /* Adjust margin for smaller screens */
        }
    
        .badge {
            padding: 8px 12px; /* Adjust padding for badges on smaller screens */
        }
    }
    
    @media (min-width: 769px) {
        .unix-timestamp-container {
            font-size: 20px; /* Larger font size for bigger screens */
        }
    
        .unix-timestamp-container span {
            font-size: 2rem; /* Ensure proper size for larger screens */
        }
    }
    
    
    /* Container style for shared time */
.human-time-style {
    display: flex; /* Arrange spans in a row */
    justify-content: center; 
    align-items: center; /* Center content vertically */
    gap: 1px; /* Space between elements */
    /* background-color: #212529; Dark background */
    border-radius: 4px; /* Rounded corners */
    padding: 0px; /* Optional: Add padding */
}

/* Style for individual spans */
.human-time-style span {
    display: inline-block; /* Ensure each element is treated as a block */
    width: Auto; /* Adjust width dynamically */
    min-width: 1ch; /* Ensure consistent sizing for characters */
    text-align: center; /* Center the text */
    font-family: 'Courier New', monospace; /* Monospaced font for consistency */
    font-size: 24px; /* Adjust font size */
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    color: #fff; /* White text */
    border-radius: 4px; /* Rounded corners */
    padding: 1px; /* Add padding */
    margin: 0 2px; /* Space between the boxes */
}

    /* Container style for shared time */
    .human-date {
        display: flex; /* Arrange spans in a row */
        justify-content: center; 
        align-items: center; /* Center content vertically */
        gap: 1px; /* Space between elements */
        /* background-color: #212529; Dark background */
        border-radius: 4px; /* Rounded corners */
        padding: 2px; /* Optional: Add padding */
    }
    
    /* Style for individual spans */
    .human-date span {
        display: inline-block; /* Ensure each element is treated as a block */
        width: Auto; /* Adjust width dynamically */
        min-width: 1ch; /* Ensure consistent sizing for characters */
        text-align: center; /* Center the text */
        font-family: 'Courier New', monospace; /* Monospaced font for consistency */
        font-size: 24px; /* Adjust font size */
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
        color: #fff; /* White text */
        border-radius: 4px; /* Rounded corners */
        padding: 5px; /* Add padding */
        margin: 0 2px; /* Space between the boxes */
    }


    .others-scroll-container {
        max-height: 300px; /* Adjust height to show around 10 items */
        overflow-y: auto;
        /*border: 1px solid #ddd;  Optional: adds a border for better visibility */
        /*padding-right: 5px; Optional: prevents scrollbar overlap */
    }
    
    /* For WebKit-based browsers (Chrome, Edge, Safari) */
.others-scroll-container::-webkit-scrollbar {
    width: 6px; /* Reduce the width of the scrollbar */
}

.others-scroll-container::-webkit-scrollbar-track {
    background: transparent; /* Remove the white bar */
}

.others-scroll-container::-webkit-scrollbar-thumb {
    background: #aaa; /* Scrollbar paddle color */
    border-radius: 4px; /* Optional: Makes the scrollbar rounded */
}

.others-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #888; /* Darker color on hover */
}

/* For Firefox */
.others-scroll-container {
    scrollbar-width: thin; /* Makes the scrollbar thinner */
    scrollbar-color: #aaa transparent; /* Thumb color and track color */
}


/* Style for the active menu item */
nav ul li.active a {
    display: inline-flex;  /* Align text with flex */
    align-items: center;   /* Center align text */
    padding: .1875rem .5rem; /* Same padding as btn-toggle-nav */
    margin-top: .125rem;    /* Same margin */
    margin-left: 1.25rem;   /* Aligns with other nav links */
    font-weight: 600;       /* Match font-weight of btn-toggle */
    color: #0A58CA;         /* Keep active text blue */
    text-decoration: none;  /* Remove underline */
    background-color: #bcdbff; /* Match hover effect */
    border-radius: 10px;    /* Rounded corners */
}

/* Ensure hover effect remains consistent */
nav ul li.active a:hover,
nav ul li.active a:focus {
    color: #0A58CA; /* Match hover text color */
    background-color: #bcdbff; /* Match hover background */
    border-radius: 10px;
}

.home-link {
    display: inline-flex;
    align-items: center;
    padding: .1875rem .5rem; 
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    background-color: transparent;
    border-radius: 10px;
    margin-bottom: 5px; /* Adds spacing below the element */

}

/* Match the hover effect of btn-toggle-nav */
.home-link:hover,
.home-link:focus {
    background-color: #bcdbff;
    color: #0A58CA;
    border-radius: 10px;
}

/* Ensure the active state remains consistent */
.home-link.active {
    background-color: #bcdbff;
    color: #0A58CA;
    border-radius: 10px;
}


/* Customizing Tooltip */
.tooltip-inner {
    background-color: #333; /* Dark background */
    color: #fff; /* White text */
    font-size: 14px; /* Adjust font size */
    padding: 10px 15px; /* Adjust padding */
    border-radius: 5px; /* Round corners */
    max-width: none; /* Allow text to wrap */
}

.tooltip-arrow {
    border-top-color: #333; /* Tooltip arrow color */
}

/* Optional: Change Tooltip position (can be used to further customize placement) */
.tooltip.bs-tooltip-left .tooltip-arrow {
    border-left-color: #333; /* Arrow color on the left side */
}

#errorContainer {
    display: inline !important;
}