/* General Styles for home */
html, body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* Ribbon and Menu Styling */
.top-ribbon {
    background: linear-gradient(to right, white 0%, gray 50%, black 100%);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 14px;
    width: 100vw;
    box-sizing: border-box;
}

    .top-ribbon .logo-left {
        margin-right: auto;
    }

    .top-ribbon .logo-right {
        margin-left: auto;
        margin-right: 20px;
    }

/* Sticky Header Class */
.sticky-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* styles for icon ribbon in layout file*/
.icon-ribbon {
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    background-color: lightgrey;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    overflow: hidden;
    z-index: 999; /* Ensure it stays below the navbar */
}
    /*Social media icons*/
    .icon-ribbon .social-media-icons a {
        font-size: 20px;
        text-decoration: none;
    }

#mpfwct {
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 2.2em;
    font-weight: bolder;
    text-align: center;
    font-family: 'Roboto', Arial, sans-serif;
    flex: 1;
}

/* Content Styling */
.content {
    padding: 20px;
    text-align: center;
}

    .content h1 {
        color: blue;
        font-size: 2.2em;
        margin-bottom: 10px;
        font-weight: bolder;
    }

    .content p {
        color: forestgreen;
        font-size: 1.2em;
    }

/* Keyframe Animations */
@keyframes mpfwctanimation {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 0.25;
    }

    50% {
        opacity: 0.50;
    }

    75% {
        opacity: 0.75;
    }

    100% {
        opacity: 1;
    }
}

/* Custom Button and Links */
.btn:focus, .btn:active:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

a {
    color: #0077cc;
}

.btn-primary {
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Navbar Customization */
.navbar-custom {
    background-color: #007bff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

    .navbar-custom .nav-link {
        color: #ffffff;
        font-size: 18px;
        text-decoration: none;
    }

        .navbar-custom .nav-link:hover {
            color: #ff0000;
        }

        .navbar-custom .nav-link.active {
            color: #ffffff;
            background-color: #1b6ec2;
            border-color: #1861ac;
        }

    .navbar-custom .ms-auto .toggle-button {
        color: #ffffff;
        background: transparent;
        border: none;
        padding: 5px 10px;
        box-shadow: none;
        cursor: pointer;
        outline: none;
    }

        .navbar-custom .ms-auto .toggle-button:disabled {
            color: gray; /* Text color when disabled */
        }

/* dropdown menu styling */
.dropdown {
    position: relative;
}

/* Dropdown Button Styling */
#dropdownMenuButton {
    background: transparent;
    border: none;
    padding: 0;
    color: #ffffff;
}
    /* Button Hover Effect */
    #dropdownMenuButton:hover {
        color: #FFD700; /* Set color for hover state */
    }

/* Main Menu */
.dropdown-menu {
    border: none;
    border-radius: 0;
    width: 350px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
/* Main Menu Item Styles */
.dropdown-item {
    text-decoration: none;
    padding: 10px 20px;
}
    /* Main Menu Item Hover Effect */
    .dropdown-item:hover {
        color: red;
    }
/* Submenu Styling - Grows from right to left */
.dropdown-submenu {
    position: relative;
}
    /* Submenu Hidden Initially */
    .dropdown-submenu .dropdown-menu {
        display: none;
        position: absolute;
        top: 0;
        left: 100%; /*Position the submenu to the right of the parent item */
        margin-top: -1px; /* Adjusts vertical alignment */
        z-index: 1000; /* Ensures it's above other dropdowns */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    /* Display Submenu on Hover */
    .dropdown-submenu:hover .dropdown-menu {
        display: block;
    }
    /* Styling for the 'Admin Console' link */
    .dropdown-submenu .dropdown-item {
        text-decoration: none;
    }
    /* Admin Console Arrow Styling */
    .dropdown-submenu .dropdown-toggle i {
        margin-left: 10px;
    }
    /* Submenu Item Styling */
    .dropdown-submenu .dropdown-item {
        padding: 8px 20px;
    }
        /* Submenu Item Hover Effect */
        .dropdown-submenu .dropdown-item:hover {
            color: red;
        }
    /* Arrow Icon for Admin Console - right Arrow */
    .dropdown-submenu .dropdown-toggle i {
        transition: transform 0.3s ease;
    }
    /* Rotate the arrow when hovering over the Admin Console */
    .dropdown-submenu .dropdown-toggle:hover i {
        transform: rotate(180deg); /* Flip the arrow on hover */
    }

    /* Remove the default down arrow from the Admin Console */
    .dropdown-submenu .dropdown-toggle::after {
        content: none; /* Removes the default arrow */
    }
/* Enabled menu item */
.enabled-menu {
    color: none;
}
/* Disabled items appearance */
.disabled-menu {
    pointer-events: none; /* Prevent clicks */
    color: gray !important; /* Grayed out text */
    cursor: not-allowed; /* Change cursor to indicate disabled */
}
    /* Remove hover effect for disabled items */
    .disabled-menu:hover {
        /* none */
    }
/* Grayed out text for "(Sign In required)" */
.text-muted {
    color: #6c757d; /* Light gray color */
}
/* Menu Separator */
.menu-separator {
    border-top: 1px solid black;
    margin: 5px 0;
}

/* Family Explorer */
.full-height-container {
    display: flex;
    height: 70vh;
}

.left-pane {
    flex: 1;
    max-width: 30%;
    padding: 10px;
    background-color: #f0f8ff;
    overflow: auto;
}

.right-pane {
    flex: 3;
    max-width: 70%;
    padding: 10px;
    background-color: #fef9f9;
    overflow: auto;
}
/* coloring for treeview node icons */
.fas.fa-user {
    color: forestgreen
}

.fas.fa-users {
    color: #007bff
}
/* Header and Button Styles */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Other Styles (Table, Loader, etc.) */
.spouse-details td {
    color: blue;
    font-size: 1em;
    font-weight: bold;
}

.loader {
    border: 5px solid #00ffff;
    border-top: 5px solid red;
    width: 25px;
    height: 25px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* to place the text on right side of image */
.member-details-container {
    display: flex;
}
/* Profile photo container */
.profile-photo {
    display: flex; /* Use flexbox layout */
    align-items: center; /* Align items vertically center */
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 5px;
    position: relative;
    border: 1px solid #ddd;
    background-color: #fff;
    justify-content: center;
    border-radius: 60%;
}
    /* Profile image styling */
    .profile-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 60%;
    }
    /* Fallback icon for profile photo */
    .profile-photo i {
        font-size: 50px;
        color: gray;
    }

/* Label styles for desktop profile page*/
.info-label {
    display: inline-block;
    width: 200px;
    border: outset;
    padding-left: 5px;
}
/* value styles for desktop profile page*/
.info-value {
    display: inline-block;
    border: outset;
    text-align: right;
    padding-right: 5px;
    font-weight: bold;
    color: darkgreen;
    width: 400px;
}

/* history head section with image background*/
.history-bg-img-container {
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    background-image: url('/images/PaikatHomePortrait.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    height: 100vh; /* Full viewport height for demonstration */
}
/* history content styling */
.brief-history-container {
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #f8f9fa;
    column-count: 5; /* Number of columns */
    column-gap: 20px; /* Gap between columns */
}
    /* Justify text content */
    .brief-history-container p {
        text-align: justify;
    }

.image-caption-container {
    break-inside: avoid; /* Prevent images from breaking across columns */
    width: 100%; /* Adjust as needed for your design */
    margin: 10px 0; /* Space around the image and caption */
}

    .image-caption-container img {
        width: 100%; /* Make the image responsive */
        max-width: 100%; /* Ensure the image fits within the column */
    }

    .image-caption-container .caption {
        font-size: 0.9em;
        color: #555;
        text-align: center;
        font-style: italic;
    }
/* read more button in history view*/
.read-more-container {
    text-align: center;
    margin-top: 20px;
}

#readMoreBtn {
    position: relative;
    margin-bottom: 70px;
    animation: oscillate 1s infinite alternate;
}

@keyframes oscillate {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

/*Attention grabber effects*/
.blink {
    animation: blink 1s infinite;
}
/* Blinking Animation */
@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Oval Circle Drawing Animation */
@keyframes drawOval {
    0% {
        clip-path: ellipse(0% 0% at 50% 50%);
    }

    100% {
        clip-path: ellipse(100% 50% at 50% 50%);
    }
}

.drawOval {
    position: relative;
    border: 2px solid red;
    border-radius: 50%;
    animation: drawOval 2s ease-out 3;
}

/* contact page styling */
.con-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.con-board-members {
    background: #007BFF;
    color: #00ff21;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .con-board-members h2 {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

.con-member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.con-member-card {
    background: #fff;
    color: blue;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .con-member-card img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        margin-bottom: 0.5rem;
    }

    .con-member-card h3 {
        margin: 0.5rem 0 0.25rem;
    }

.con-pedigree-report {
    background: #FFC107;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .con-pedigree-report h2 {
        margin-top: 0;
    }

.con-pedigree-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .con-pedigree-form label {
        font-weight: bold;
    }

    .con-pedigree-form input, .con-pedigree-form select, .con-pedigree-form textarea, .con-pedigree-form button {
        padding: 0.5rem;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .con-pedigree-form button {
        background: #28A745;
        color: #fff;
        border: none;
        cursor: pointer;
    }

        .con-pedigree-form button:hover {
            background: #218838;
        }

.con-trust-contact {
    background: #17A2B8;
    color: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .con-trust-contact h2 {
        margin-top: 0;
    }

    .con-trust-contact p {
        margin: 0.5rem 0;
        display: flex;
        align-items: center;
    }

        .con-trust-contact p i {
            margin-right: 0.5rem;
        }

.entry-mandatory::after {
    content: " *";
    color: red;
}

/* for reCaptcha */
.captcha-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.captcha-checkbox {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    display: inline-block;
    margin-right: 10px;
    position: relative;
    transition: all 0.5s ease-in-out;
}

.captcha-checkbox:checked + .checkmark {
    background-color: #4CAF50;
    border-color: #4CAF50;
    box-shadow: 0 0 10px #4CAF50, 0 0 20px #4CAF50;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Search drawer classes */
.drawer {
    position: fixed;
    top: 18%;
    right: 0;
    width: 400px;
    height: 80%;
    background: white;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
}

    .drawer.open {
        transform: translateX(0);
    }

.drawer-content {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.selectable-row {
    cursor: pointer;
    transition: background 0.2s;
}

.selected-row {
    background-color: #cce5ff !important;
}

#searchResultsContainer {
    display: none;
    margin-top: 10px;
}

.table-container {
    max-height: 300px;
    max-width: 100%;
    overflow: auto;
    border: 2px solid #007bff;
    border-radius: 5px;
    padding: 5px;
}

.table {
    width: 100%;
    min-width: 400px;
    table-layout: fixed;
}

    .table th:nth-child(1),
    .table td:nth-child(1) {
        width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* scroll notification if doesn't fit in container */
.notification-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

#notificationText {
    display: inline-block;
    white-space: nowrap;
    position: relative;
    will-change: transform;
}

/* notification megaphone icon animation */
.megaphone-icon {
    font-size: 24px;
    color: red;
    position: relative;
    display: inline-block;
    animation: megaphone-shake 0.5s infinite alternate ease-in-out;
}

/* Shaking Animation */
@keyframes megaphone-shake {
    0% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

/* for leftside bar menu */
/* ===== Root Menu Styling (Modern & Compact) ===== */
.accordion-button {
    padding: 0.35rem 0.75rem; /* Reduced padding for compact look */
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.1;
    color: #222;
    background-color: transparent;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .accordion-button:hover {
        background-color: #e2e2e2;
        color: #000;
        font-weight: 500;
    }

.accordion-header {
    margin-bottom: 0;
}

.sidebar-section-title {
    padding: 0.35rem 0.75rem;
    font-weight: 300;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #444;
}
/* ===== Submenu Styling (Second Level Dropdown) ===== */
.nav-item {
    margin-bottom: 0.2rem;
}

.nav-link {
    padding: 0.25rem 1rem;
    font-size: 0.95rem;
    font-weight: 300;
    color: darkblue;
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .nav-link:hover {
        background-color: #e9e9e9;
        color: #000;
        font-weight: 500;
    }
/* ===== Dropdown Head Styling (Second Level Menu) ===== */
.nav-item > .accordion-button {
    font-size: 0.9rem;
    color: #007bff;
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 300;
}

    .nav-item > .accordion-button:hover {
        background-color: #e0e0e0;
        color: #0056b3;
        font-weight: 500;
    }
/* ===== Nesting and Layout ===== */
.nav {
    padding-left: 0.5rem;
}
/* ===== Disabled States ===== */
.root-disabled {
    opacity: 0.6;
    pointer-events: none;
    color: #888;
}

    .root-disabled .accordion-button {
        pointer-events: none;
        color: #888;
        background-color: transparent;
    }

/* home page profile image drop down */
#profileDropdown {
    display: none; /* Initially hidden */
    position: absolute;
    top: 60px;
    right: 0;
    background-color: aquamarine;
    border: 1px solid #ccc;
}

    #profileDropdown.show {
        display: block; /* Show when toggled */
    }

/* Indeterminate Progress Bar */
.progress-bar-container {
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    overflow: hidden;
    margin-top: 10px;
}

.indeterminate-bar {
    position: absolute;
    width: 30%;
    height: 100%;
    background: linear-gradient( to right, transparent 0%, #007bff 50%, transparent 100% );
    animation: move-indeterminate 1.5s infinite;
    opacity: 0.7;
    filter: blur(1px);
}

@keyframes move-indeterminate {
    0% {
        left: -30%;
    }

    50% {
        left: 50%;
    }

    100% {
        left: 100%;
    }
}

/* Sidebar menu busy effect */
@keyframes waveText {
    0% {
        transform: scale(1);
        color: #007bff;
        text-shadow: 0 0 2px #fff;
    }

    50% {
        transform: scale(1.1) rotate(-1deg);
        color: #00bcd4;
        text-shadow: 0 0 6px #00bcd4;
    }

    100% {
        transform: scale(1);
        color: #007bff;
        text-shadow: 0 0 2px #fff;
    }
}

.menu-animate-wave {
    animation: waveText 1s infinite ease-in-out;
    transition: all 0.3s ease;
    opacity: 0.6;
    cursor: wait;
}

/* To make bootstratp table element compact */
.compact-table td,
.compact-table th {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    line-height: 1 !important;
    font-size: 0.92rem !important;
    vertical-align: middle !important;
}

.compact-table .d-inline-block {
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.compact-table .btn,
.compact-table .btn-sm {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 0.92rem !important;
    line-height: 1 !important;
    height: 22px !important;
    min-height: 0 !important;
}

    .compact-table .btn i {
        font-size: 0.92rem !important;
        line-height: 1 !important;
        vertical-align: middle !important;
    }

/* shining text for attention */
.shine-text {
    display: inline-block;
    position: relative;
    color: #ff0000; /* fallback for non-supporting browsers */
    background: linear-gradient( 90deg, #fff 0%, #fff 40%, #ff0000 50%, #fff 60%, #fff 100% );
    background-size: 200% 100%;
    background-position: -100% 0;
    /* WebKit-only properties for the effect */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine-text-move 2s linear infinite;
}

@keyframes shine-text-move {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/*            ***********************Mobile view CSS classes********************                */
body {
    background: #f8f9fa;
    font-size: 1.05rem;
}

.mobile-header {
    background: #007bff;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

.mobile-logo {
    height: 48px;
    margin-bottom: 0.5rem;
}

.mobile-notification-bar {
    background: #007bff;
    color: #fff;
    padding: 8px 12px;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.mobile-notification-scroll-12 {
    display: inline-block;
    min-width: max-content;
    padding-left: 100%;
    animation: scroll-left-mob 12s linear infinite;
}
.mobile-notification-scroll-24 {
    display: inline-block;
    min-width: max-content;
    padding-left: 100%;
    animation: scroll-left-mob 24s linear infinite;
}
.mobile-notification-scroll-36 {
    display: inline-block;
    min-width: max-content;
    padding-left: 100%;
    animation: scroll-left-mob 36s linear infinite;
}

@keyframes scroll-left-mob {
    0% {
        transform: translateX(10%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.mobile-nav {
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
}

    .mobile-nav a {
        color: #007bff;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
    }

.mobile-content {
    padding: 1rem;
    padding-bottom: 3.5rem; /* for footer space */
}

.mobile-footer {
    background: #222;
    color: #ffe066;
    text-align: center;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
}

.mobile-social {
    margin: 1rem 0 0.5rem 0;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

    .mobile-social a {
        color: inherit;
        font-size: 1.5rem;
    }

.glitter-text {
    color: red;
    filter: brightness(1.3) drop-shadow(0 0 2px gold) drop-shadow(0 0 4px #ff0);
    transition: filter 0.3s ease-in-out;
}

    .glitter-text:hover {
        filter: brightness(1.6) drop-shadow(0 0 4px gold) drop-shadow(0 0 8px #ff0);
    }

/* Label styles for mobile profile page */
.info-row-mob {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 0;
    padding: 0;
    /*background: #f9f9f9;*/
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    width: 100%;
}
.info-label-mob {
    flex: 0 0 35%; /* Label gets about 35% of the row */
    white-space: nowrap;
    font-weight: 600;
    color: #444;
}
.info-value-mob {
    flex: 1; /* Value stretches to fill the remaining space */
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    color: darkgreen;
}
.profile-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.member-info {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
    margin: 0 auto;
}
.member-details-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.spouse-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1rem;
}

.spouse-card {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fafafa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.spouse-field {
    margin-bottom: 6px;
    font-size: 0.95rem;
}
    .spouse-field strong {
        color: #444;
    }
    .spouse-value {
        color: green;
        font-weight: bold;
    }

/* Mobile view side bar menu styles */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: #222;
    color: white;
    z-index: 9999;
    padding: 1rem;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

    .mobile-sidebar.d-none {
        display: none;
    }

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-links a {
    display: block;
    padding: 10px 0;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #444;
}

    .sidebar-links a:hover {
        background-color: #333;
    }

/* Searched node of Tree View Styles */
.tree-node.highlight {
    background-color: #fffd8f;
    transition: background-color 0.5s ease;
}

/* make an input box like a clickable link*/
.input-link {
    color: #0d6efd; /* Bootstrap primary blue */
    text-decoration: underline;
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding-left: 0;
    pointer-events: auto;
}
    .input-link:focus {
        outline: none;
        box-shadow: none;
    }