html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    padding-top: 70px;
}

/* Charts layout */
.charts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.chart {
    flex: 1 1 420px;
    min-width: 360px;
    height: 360px;
    max-width: 600px;
}

h2 {
    margin-bottom: 24px;
}

h3 {
    margin-top: 48px;
}

h4 {
    margin-top: 24px;
}

/* ============================================
   Tick2Tick Theme Presets
   ============================================ */
:root {
    --t2t-primary-color: #305243;
    --t2t-primary-hover: #3a634f;
    --t2t-primary-active: #274036;
}

/* ============================================
   Tick2Tick solid button
   ============================================ */
.btn-t2t {
    color: #fff;
    background-color: var(--t2t-primary-color);
    border-color: var(--t2t-primary-color);
    transition: all .15s ease-in-out;
}

    .btn-t2t:hover,
    .btn-t2t:focus {
        color: #fff;
        background-color: var(--t2t-primary-hover);
        border-color: var(--t2t-primary-hover);
    }

    .btn-t2t:active {
        color: #fff;
        background-color: var(--t2t-primary-active);
        border-color: var(--t2t-primary-active);
    }

    .btn-t2t:disabled,
    .btn-t2t.disabled {
        color: #fff;
        background-color: var(--t2t-primary-color);
        border-color: var(--t2t-primary-color);
        opacity: .65;
    }

/* ============================================
   Tick2Tick outline button
   ============================================ */
.btn-outline-t2t {
    color: var(--t2t-primary-color);
    border: 1px solid var(--t2t-primary-color);
    background-color: transparent;
    font-weight: 500;
    transition: all .15s ease-in-out;
}

    .btn-outline-t2t:hover,
    .btn-outline-t2t:focus {
        color: #fff;
        background-color: var(--t2t-primary-color);
        border-color: var(--t2t-primary-color);
    }

    .btn-outline-t2t:active {
        color: #fff;
        background-color: var(--t2t-primary-active);
        border-color: var(--t2t-primary-active);
    }

    .btn-outline-t2t:disabled,
    .btn-outline-t2t.disabled {
        color: var(--t2t-primary-color);
        background-color: transparent;
        border-color: var(--t2t-primary-color);
        opacity: .65;
    }

/* ============================================
   Tick2Tick Navbar Theme
   ============================================ */
.navbar-t2t {
    background-color: var(--t2t-primary-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

    .navbar-t2t .navbar-brand,
    .navbar-t2t .nav-link,
    .navbar-t2t .dropdown-toggle {
        color: #fff !important;
        transition: color .15s ease-in-out, background-color .15s ease-in-out;
    }

        .navbar-t2t .nav-link:hover,
        .navbar-t2t .nav-link:focus,
        .navbar-t2t .dropdown-toggle:hover,
        .navbar-t2t .dropdown-toggle:focus {
            color: #e2e8e2 !important;
        }

    /* Mobile toggler */
    .navbar-t2t .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.25);
    }

    .navbar-t2t .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* Optional dropdown hover (if used) */
    .navbar-t2t .dropdown-menu {
        background-color: #fff;
    }

    .navbar-t2t .dropdown-item:hover {
        background-color: var(--t2t-primary-color);
        color: #fff;
    }

.dropdown-item.text-dark:hover {
    color: #fff !important;
}

/* ============================================
   Tick2Tick Account Nav (Manage / Settings)
   ============================================ */
.nav-t2t .nav-link {
    color: var(--t2t-primary-color);
    border-radius: 6px;
    transition: all 0.15s ease-in-out;
}

    .nav-t2t .nav-link:hover,
    .nav-t2t .nav-link:focus {
        color: #fff;
        background-color: var(--t2t-primary-hover);
    }

    .nav-t2t .nav-link.active {
        color: #fff;
        background-color: var(--t2t-primary-color);
        border-color: var(--t2t-primary-color);
    }

/* ============================================
   Tick2Tick Text Color
   ============================================ */
.text-t2t {
    color: var(--t2t-primary-color) !important;
}

.text-t2t-hover:hover {
    color: var(--t2t-primary-hover) !important;
}

/* ============================================
   Tick2Tick Links and Checkboxes
   ============================================ */

/* --- Links --- */
a.t2t-link,
a.t2t-link:link,
a.t2t-link:visited {
    color: var(--t2t-primary-color);
    transition: color 0.15s ease-in-out;
}

    a.t2t-link:hover,
    a.t2t-link:focus {
        color: var(--t2t-primary-hover);
        text-decoration: underline;
    }

/* --- Checkboxes --- */
.form-check-input.t2t-check {
    border: 1.8px solid var(--t2t-primary-color);
    width: 1.1em;
    height: 1.1em;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

    .form-check-input.t2t-check:checked {
        background-color: var(--t2t-primary-color);
        border-color: var(--t2t-primary-color);
    }

    .form-check-input.t2t-check:focus {
        box-shadow: 0 0 0 0.15rem rgba(48, 82, 67, 0.25);
        border-color: var(--t2t-primary-hover);
    }

/* ============================================
   Tick2Tick Form Controls
   ============================================ */
.form-control:focus {
    border-color: var(--t2t-primary-color);
    box-shadow: 0 0 0 0.2rem rgba(48, 82, 67, 0.25); /* subtle green glow */
    outline: 0;
}

.t2t-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    padding: 0;
    position: relative;
}

    .t2t-icon-btn i {
        font-size: 22px;
        color: white;
        line-height: 1;
    }

/* Base dropdown look */
#notificationDropdown {
    width: 400px !important; /* wider */
    color: #000;
    max-height: 50vh;
    flex-direction: column; /* allow internal sections to size properly */
}

    /* Make sure all text defaults to dark */
    #notificationDropdown .dropdown-header,
    #notificationDropdown .dropdown-item,
    #notificationDropdown li,
    #notificationDropdown .small {
        color: #000 !important;
    }

    /* Allow wrapping for long messages */
    #notificationDropdown .dropdown-item {
        white-space: normal;
        border-radius: 8px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        /* Hover effect: dark background + white text */
        #notificationDropdown .dropdown-item:hover {
            background-color: var(--t2t-primary-color); /* deep green tone like your screenshot */
            color: #fff !important;
        }

            /* Ensure inner text (title, small, link) also turns white */
            #notificationDropdown .dropdown-item:hover .fw-semibold,
            #notificationDropdown .dropdown-item:hover .small,
            #notificationDropdown .dropdown-item:hover a {
                color: #fff !important;
            }

            /* Optional: make the check button visible against dark bg */
            #notificationDropdown .dropdown-item:hover button {
                border-color: #fff !important;
                color: #fff !important;
            }

    /* Widen the dropdown shadow slightly for balance */
    #notificationDropdown.shadow-sm {
        box-shadow: 0 4px 12px rgba(0,0,0,.25) !important;
    }

 Scrollable notification list area 
#notificationList {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 60px;
}

/* Tighter badge placement */
.t2t-badge {
    position: absolute;
    top: -4px; /* tweak 2–4px to taste */
    right: 5px; /* tweak 2–6px to taste */
    transform: none; /* cancel the big 50% translate */
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#notificationClearAll.btn.btn-sm {
    padding: .15rem .5rem;
}

.grid-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap; /* allow wrapping on mobile */
}

.grid-box {
    flex: 1 1 45%; /* two grids side-by-side on desktop */
    min-width: 300px; /* forced stacking below this width */
}

@media (max-width: 768px) {
    .grid-box {
        flex: 1 1 100%; /* full width on mobile */
    }
}

.t2t-section-block {
    display: block;
    width: 100%;
    margin-bottom: 24px; /* space between the two sections */
}

    .t2t-section-block > div:first-child {
        margin-bottom: 8px; /* space between checkbox and its grids */
    }