/* MTD Tax — Custom Styles */

/* Ensure navbar active links are visually distinct */
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid rgba(255,255,255,0.6);
}

/* Card hover effect for dashboards */
.card-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* Smaller badge-like button */
.btn-xs {
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
}

/* Pre/code blocks in audit log */
pre.audit-detail {
    max-height: 150px;
    overflow-y: auto;
    font-size: 0.7rem;
}

/* Sticky top for long tables */
.table th {
    position: sticky;
    top: 0;
    background: inherit;
    z-index: 1;
}

/* Obligation status colours in calendar */
.obligation-due-soon {
    background-color: #fff3cd;
}
.obligation-overdue {
    background-color: #f8d7da;
}
.obligation-fulfilled {
    background-color: #d1e7dd;
}

/* Footer */
footer {
    font-size: 0.85rem;
}

/* Flash messages should not be too tall */
.alert {
    max-height: 200px;
    overflow-y: auto;
}

/* WCAG 2.1 AA — ensure visible focus indicator on keyboard navigation */
:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
}
