﻿
.dataTable th i {
    float: right;
    margin-top: 3px;
}

.dataTable th {
    cursor: pointer;
    padding-right: 25px !important;
    position: relative;
    white-space: nowrap;
}

.dataTable th i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

/* Allow sidebar content to scroll internally so items (e.g. Logout) aren't clipped by .wrapper's overflow:hidden when nav content is taller than the viewport */
.sidebar-content {
    overflow-y: auto;
}

/* Base body text */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Headings */
h1, h2, h3, h4, h5, h6, .header-title {
    font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
}

/* Ensure proper font size and line height for readability */
body {
    font-size: 14px;
    line-height: 1.5;
}

/* Adjust heading sizes */
.header-title {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

@media (min-width: 1920px) {
    body {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
}
.table th {
    font-weight: 600;
}

.list-group-item .color-square {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 10px;
}

.list-group-item.active .color-square {
    border-color: rgba(255,255,255,0.5);
}

/* Home landing page hero */
.home-hero {
    position: relative;
    border-radius: .5rem;
    overflow: hidden;
    min-height: 260px;
    background-image: url('/Images/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.home-hero-overlay {
    width: 100%;
    padding: 3rem 2rem;
    background: linear-gradient(90deg, rgba(0,53,103,.85) 0%, rgba(0,53,103,.55) 60%, rgba(0,53,103,.15) 100%);
    color: #fff;
}

.home-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #fff;
}

.home-hero-subtitle {
    font-size: 1.05rem;
    max-width: 640px;
    margin-bottom: 0;
    opacity: .95;
}

.home-card {
    transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
}

    .home-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    }

.home-card-icon {
    font-size: 1.75rem;
    color: #003567;
    margin-bottom: .75rem;
    display: block;
}
