        html {
    height: 100%;
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f5f5f5;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
        .content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
    padding: 15px 20px 20px 20px;
    background-color: white;
    flex: 1;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
        header {
            background-color: #1f4d2b;
            color: white;
            padding: 8px 0;
            position: relative;
            min-height: 50px;
            width: 100%;
            z-index: 1030; /* Below Bootstrap modals (1050+) but above content */
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            min-height: 50px;
            padding: 0 20px;
            max-width: 100%;
        }
        .logo-link {
            display: flex;
            align-items: center;
            text-decoration: none;
            z-index: 1000;
            margin-left: 20px;
        }
        /* Ensure header doesn't interfere with Bootstrap modals */
        header {
            z-index: 1030;
        }
        .logo {
            height: 40px;
            width: auto;
            max-height: 50px;
        }
        header .menu {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px;
            padding: 5px 0;
            flex: 1;
        }
        header .menu a {
            color: white;
            text-decoration: none;
            padding: 6px 15px;
            display: inline-block;
            border-radius: 4px;
            transition: background-color 0.3s;
            font-size: 18px;
        }
        header .menu a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        header .menu a.active {
            text-decoration: underline;
            text-underline-offset: 4px;
            text-decoration-thickness: 2px;
        }
        /* Mobile Menu Toggle Button */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 30px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
        }
        .mobile-menu-toggle:focus {
            outline: 2px solid rgba(255, 255, 255, 0.5);
            outline-offset: 2px;
        }
        .hamburger-line {
            width: 100%;
            height: 3px;
            background-color: white;
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }
        .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }
        .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }
        /* Mobile Menu */
        .mobile-menu {
            display: none;
            flex-direction: column;
            background-color: #1f4d2b;
            width: 100%;
            padding: 10px 0;
            margin-top: 8px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        .mobile-menu.active {
            display: flex;
        }
        .mobile-menu a {
            color: white;
            text-decoration: none;
            padding: 12px 20px;
            display: block;
            transition: background-color 0.3s;
            font-size: 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .mobile-menu a:last-child {
            border-bottom: none;
        }
        .mobile-menu a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        .mobile-menu a.active {
            background-color: rgba(255, 255, 255, 0.15);
            text-decoration: underline;
            text-underline-offset: 4px;
            text-decoration-thickness: 2px;
        }
        /* Responsive Styles */
        @media (max-width: 768px) {
            header {
                padding: 12px 0;
                min-height: 50px;
                margin: -5px;
            }
            .header-container {
                min-height: 50px;
                width: 100%;
                padding: 0 15px;
                margin: 0;
                justify-content: space-between;
            }
            .logo {
                height: 35px;
            }
            header .desktop-menu,
            header .menu.desktop-menu {
                display: none !important;
            }
            .mobile-menu-toggle {
                display: flex;
            }
        }
        @media (min-width: 769px) {
            .mobile-menu {
                display: none !important;
            }
        }
        footer {
            background-color: #1f4d2b;
            color: white;
            text-align: center;
            padding: 20px 0;
            margin-top: 0;
        }
    
        .content img {
            max-width: 100%;
            height: auto;
            margin: 20px 20px 20px 0;
        }
        /* Block images by default, but allow inline for text wrapping */
        .content img:not([style*="float"]) {
            display: inline-block;
            vertical-align: top;
        }
        .content img[style*="float: left"],
        .content img[style*="float:left"] {
            float: left !important;
            margin-right: 25px !important;
            margin-bottom: 15px !important;
            margin-top: 0 !important;
            display: inline-block;
        }
        .content img[style*="float: right"],
        .content img[style*="float:right"] {
            float: right;
            margin-left: 25px;
            margin-bottom: 15px;
            margin-top: 0;
        }
        /* For images without float - add right margin */
        .content img:not([style*="float"]) {
            margin-right: 25px !important;
        }
        /* For images inside paragraphs or divs */
        .content p img,
        .content div img {
            margin-right: 25px !important;
            margin-left: 0 !important;
        }

        .content p {
            margin-bottom: 15px;
        }
        .content > *:first-child,
.content p:first-of-type {
            margin-top: 0;
        }
        .content img + p,
        .content p + img {
            margin-top: 0;
        }

    
        /* Styles for float classes from TinyMCE */
        .content img.float-left {
            float: left !important;
            margin-right: 25px !important;
            margin-bottom: 15px !important;
            margin-top: 0 !important;
            display: inline-block;
        }
        .content img.float-right {
            float: right !important;
            margin-left: 25px !important;
            margin-bottom: 15px !important;
            margin-top: 0 !important;
            display: inline-block;
        }
        .content img.center-image {
            display: block !important;
            margin: 0 auto !important;
        }
        /* Bootstrap button support in content */
        /* Ensure Bootstrap styles apply - use lower specificity */
        .content .btn {
            margin: 5px;
        }
        
        /* Ensure Bootstrap button colors work in content area */
        /* Bootstrap 5 uses CSS variables, so we need to ensure they're not overridden */
        .content .btn-primary {
            --bs-btn-color: #fff;
            --bs-btn-bg: #0d6efd;
            --bs-btn-border-color: #0d6efd;
            --bs-btn-hover-color: #fff;
            --bs-btn-hover-bg: #0b5ed7;
            --bs-btn-hover-border-color: #0a58ca;
        }
        .content .btn-secondary {
            --bs-btn-color: #fff;
            --bs-btn-bg: #6c757d;
            --bs-btn-border-color: #6c757d;
            --bs-btn-hover-color: #fff;
            --bs-btn-hover-bg: #5c636a;
            --bs-btn-hover-border-color: #565e64;
        }
        .content .btn-success {
            --bs-btn-color: #fff;
            --bs-btn-bg: #198754;
            --bs-btn-border-color: #198754;
            --bs-btn-hover-color: #fff;
            --bs-btn-hover-bg: #157347;
            --bs-btn-hover-border-color: #146c43;
        }
        .content .btn-danger {
            --bs-btn-color: #fff;
            --bs-btn-bg: #dc3545;
            --bs-btn-border-color: #dc3545;
            --bs-btn-hover-color: #fff;
            --bs-btn-hover-bg: #bb2d3b;
            --bs-btn-hover-border-color: #b02a37;
        }
        .content .btn-warning {
            --bs-btn-color: #000;
            --bs-btn-bg: #ffc107;
            --bs-btn-border-color: #ffc107;
            --bs-btn-hover-color: #000;
            --bs-btn-hover-bg: #ffca2c;
            --bs-btn-hover-border-color: #ffc720;
        }
        .content .btn-light {
            --bs-btn-color: #000;
            --bs-btn-bg: #f8f9fa;
            --bs-btn-border-color: #f8f9fa;
            --bs-btn-hover-color: #000;
            --bs-btn-hover-bg: #f9fafb;
            --bs-btn-hover-border-color: #f9fafb;
        }
        .content .btn-dark {
            --bs-btn-color: #fff;
            --bs-btn-bg: #212529;
            --bs-btn-border-color: #212529;
            --bs-btn-hover-color: #fff;
            --bs-btn-hover-bg: #424649;
            --bs-btn-hover-border-color: #373b3e;
        }
        
        /* Add btn-info support for Bootstrap 5 (removed in BS5, but commonly used) */
        .content .btn-info,
        .btn-info {
            --bs-btn-color: #000;
            --bs-btn-bg: #0dcaf0;
            --bs-btn-border-color: #0dcaf0;
            --bs-btn-hover-color: #000;
            --bs-btn-hover-bg: #31d2f2;
            --bs-btn-hover-border-color: #25cff2;
            color: var(--bs-btn-color);
            background-color: var(--bs-btn-bg);
            border-color: var(--bs-btn-border-color);
        }
        .content .btn-info:hover,
        .btn-info:hover {
            color: var(--bs-btn-hover-color);
            background-color: var(--bs-btn-hover-bg);
            border-color: var(--bs-btn-hover-border-color);
        }

        /* Bootstrap Components Support */
        /* Ensure modals work properly - z-index hierarchy */
        .modal {
            z-index: 1055 !important;
            display: none !important; /* Bootstrap default - will be shown via JS */
        }
        .modal.show {
            display: block !important;
        }
        .modal.fade {
            transition: opacity 0.15s linear;
        }
        .modal.fade:not(.show) {
            opacity: 0;
        }
        .modal-backdrop {
            z-index: 1050 !important;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: #000;
        }
        .modal-backdrop.fade {
            opacity: 0;
        }
        .modal-backdrop.show {
            opacity: 0.5;
        }
        /* Ensure dropdowns work */
        .dropdown-menu {
            z-index: 1000;
        }
        /* Ensure tooltips work */
        .tooltip {
            z-index: 1080;
        }
        /* Ensure popovers work */
        .popover {
            z-index: 1070;
        }
        /* Ensure offcanvas works */
        .offcanvas {
            z-index: 1045;
        }
        .offcanvas-backdrop {
            z-index: 1040;
        }
        /* Ensure body doesn't block modals when modal is open */
        body.modal-open {
            overflow: hidden;
            padding-right: 0 !important;
        }
        /* Ensure Bootstrap components work properly in content area */
        /* Don't override Bootstrap styles - let them apply naturally */
        /* Only ensure proper z-index and positioning */
        .content .modal {
            position: fixed;
        }
        .content .dropdown-menu {
            position: absolute;
        }
        .content .tooltip {
            position: absolute;
        }
        .content .popover {
            position: absolute;
        }
        /* Ensure Bootstrap utilities work in content */
        /* All Bootstrap utility classes should work without interference */
