    .activity-report-box-blur
{
    display: block;
    width: 100vw; /* full window width */
    box-sizing: border-box;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.8); /* semi-transparent white */
    border: 2px solid #001f5b; /* dark blue border */
    border-radius: 6px;
    padding: 15px 30px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.25); /* soft shadow */
    font-weight: bold;
    font-size: 1.75rem;
    color: #001f5b;
    /* blur effect */
    backdrop-filter: blur(5px); /* makes background slightly blurred */
    -webkit-backdrop-filter: blur(5px); /* Safari support */

    margin-bottom: 20px;
}

/* GRADIENT TEXT */
.gradient-outline-text {
    font-weight: bold;
    font-size: 2rem; /* adjust as needed */
    background: linear-gradient(270deg, #007bff, #00d4ff, #6610f2, #ff7f50);
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* Dark blue outline */
    -webkit-text-stroke: 1.5px #001f5b; /* Chrome/Safari */
    text-stroke: 1.5px #001f5b; /* Future support */
    /* Optional subtle shadow */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    /* Gradient animation */
    animation: gradientAnimation 8s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* ================================
   Base HTML / Body
================================ */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden !important; /* prevent horizontal scroll */
    overflow-y: hidden; /* vertical scroll only if needed */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    background-color: #f9f9f9;
}

/* Ensure no bottom margin causes scroll */
body {
    margin-bottom: 0 !important;
}

/* ================================
   Inputs / Textareas / Forms
================================ */
input, textarea, select {
    box-sizing: border-box;
}

textarea {
    height: auto;
    max-height: 40vh; /* prevent very tall textareas */
    width: 100%; /* fill container */
    resize: vertical; /* allow vertical resizing only */
}

/* Reduce input/textarea height for small screens */
@media screen and (max-width: 1024px) {
    body {
        font-size: 12px;
    }

    input, textarea {
        height: 24px;
    }
}

/* Focus highlight */
.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;
}

/* ================================
   Toast / Popup Centered
================================ */
.custom-toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    width: 60%;
    max-width: 600px;
    max-height: 70vh; /* prevent page overflow */
    overflow-y: auto; /* scroll inside toast if content too big */
    overflow-x: hidden;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 0; /* remove padding from container itself */
}

    .custom-toast-container .toast {
        display: block; /* ensure toast is full width */
        width: 100%;
    }

    .custom-toast-container .toast-header {
        padding: 0.75rem 1rem;
        font-weight: bold;
        border-bottom: 1px solid #ddd;
    }

    .custom-toast-container .toast-body {
        padding: 1.5rem 1rem; /* add enough space so it’s not a thin strip */
        font-size: 1.3rem;
        text-align: center;
    }

/* Responsive for small screens */
@media (max-width: 768px) {
    .custom-toast-container {
        width: 90%;
        max-width: 90%;
    }
}

/* ================================
   Tables / Forms Container
================================ */
.form-container {
    max-height: 100vh; /* prevent page scroll due to table/form */
    overflow-y: auto; /* scroll inside container if needed */
    padding-bottom: 1rem;
}

/* ================================
   Prevent unwanted scroll from modals
================================ */
.modal-open {
    overflow: hidden; /* prevent body scroll when modal open */
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

