#navigationPrimary a:hover {
    background-color: #fb923c; /* Light gray background on hover */
    color: #ffffff; /* White text on hover */
    border-radius: 0.75rem; /* Rounded corners on hover */
    transition: background-color 0.3s ease; /* Smooth transition for background color */

}
#navigationUser a:hover {
    background-color: #fb923c; /* Light gray background on hover */
    color: #ffffff; /* White text on hover */
    border-radius: 0.75rem; /* Rounded corners on hover */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.task_count {
    font-weight: bold;
    background-color: #dc2626; /* Standard red-600 */
    color: #ffffff;
    border-radius: 9999px; /* Fully rounded for a badge */
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    display: inline-block;
    min-width: 1.5em;
    text-align: center;
    line-height: 1.5em;
    transition: background-color 0.3s ease;
    box-shadow: 0 0 0 2px #fff;
}

/* Style .read-more as a button for <a> tags */
a.read_more {
    display: inline-block;
    padding: 0.4em 1em;
    background-color: #fb923c;
    color: #fff;
    font-weight: 400;
    border: none;
    border-radius: 0.5em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

a.read_more:hover,
a.read_more:focus {
    background-color: #f97316;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#ajce-link {
    color: #fb923c;
    font-weight: 400;
}

.material-stats {
        display: flex;
        gap: 2em;
        margin: 2em 0;
        padding: 1.5em 2em;
        background: #fff;
        border-radius: 12px;
        /* Removed box-shadow for no outside border */
        font-family: 'Roboto', Arial, sans-serif;
        max-width: 400px;
    }
    .stat-item {
        display: flex;
        align-items: center;
        gap: 0.6em;
        padding: 0.5em 1em;
        border-radius: 8px;
        transition: background 0.2s;
    }
    .stat-item:hover {
        background: #f5f5f5;
    }
    .material-icon {
        display: inline-block;
        width: 2em;
        height: 2em;
        background: no-repeat center/contain;
        margin-right: 0.2em;
        flex-shrink: 0;
    }
    .view-icon {
        background-image: url('data:image/svg+xml;utf8,<svg fill="rgba(33,150,243,1)" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 5c-7 0-10 7-10 7s3 7 10 7 10-7 10-7-3-7-10-7zm0 12c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8a3 3 0 100 6 3 3 0 000-6z"/></svg>');
    }
    .download-icon {
        background-image: url('data:image/svg+xml;utf8,<svg fill="rgba(76,175,80,1)" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 20h14v-2H5v2zm7-18a1 1 0 0 0-1 1v8H8l4 4 4-4h-3V3a1 1 0 0 0-1-1zm0 0"/></svg>');
    }
    .stat-label {
        color: #757575;
        font-size: 1em;
        margin-right: 0.3em;
    }
    .stat-value {
        font-weight: 700;
        font-size: 1.3em;
        padding: 0.15em 0.7em;
        border-radius: 6px;
        background: linear-gradient(90deg, #e3f2fd 0%, #fff 100%);
        color: #1976d2;
        box-shadow: 0 1px 4px rgba(33,150,243,0.07);
        letter-spacing: 0.03em;
        transition: background 0.2s, color 0.2s;
        margin-left: 0.2em;
    }
    .stat-value-downloads {
        background: linear-gradient(90deg, #e8f5e9 0%, #fff 100%);
        color: #388e3c;
        box-shadow: 0 1px 4px rgba(76,175,80,0.07);
    }

    .download-pdf-link {
                    display: inline-flex;
                    align-items: center;
                    text-decoration: none;
                }
.pdf-icon {
                    width: 24px;
                    height: 24px;
                    margin-right: 8px;
                    vertical-align: middle;
                }
 .download-pdf-link .stat-label {
                    white-space: nowrap;
                }

