:root {
    --deloitte-green: #86BC25;
    --deloitte-dark-green: #43B02A;
    --deloitte-black: #000000;
    --deloitte-dark-gray: #333333;
    --deloitte-medium-gray: #666666;
    --deloitte-light-gray: #F2F2F2;
    --deloitte-white: #FFFFFF;
    --deloitte-blue: #0076A8;
    --deloitte-teal: #62B5E5;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 60px;
    background-color: var(--deloitte-light-gray);
    color: var(--deloitte-dark-gray);
}

/* Navbar */
.deloitte-navbar {
    background-color: var(--deloitte-black);
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.deloitte-logo {
    height: 32px;
    width: auto;
}

.navbar-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.brand-text {
    color: var(--deloitte-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.deloitte-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.deloitte-navbar .nav-link:hover,
.deloitte-navbar .nav-link.active {
    color: var(--deloitte-green) !important;
}

/* Footer */
.deloitte-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: var(--deloitte-black);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Page Header */
.page-header {
    border-bottom: 3px solid var(--deloitte-green);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-weight: 700;
    color: var(--deloitte-black);
    font-size: 1.5rem;
}

.record-count {
    background-color: var(--deloitte-green);
    color: var(--deloitte-white);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Table Styles */
.table-container {
    background-color: var(--deloitte-white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-responsive {
    max-height: 75vh;
}

.dashboard-table {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.dashboard-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.dashboard-table thead th {
    background-color: var(--deloitte-black);
    color: var(--deloitte-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 0.6rem 0.5rem;
    white-space: nowrap;
    border: none;
    position: sticky;
    top: 0;
}

.dashboard-table tbody tr {
    transition: background-color 0.15s ease;
}

.dashboard-table tbody tr:hover {
    background-color: rgba(134, 188, 37, 0.08);
}

.dashboard-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.dashboard-table tbody td {
    padding: 0.45rem 0.5rem;
    white-space: nowrap;
    border-color: var(--deloitte-light-gray);
    vertical-align: middle;
}

.cost-cell {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* Search box */
.search-box {
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.search-box:focus {
    border-color: var(--deloitte-green);
    box-shadow: 0 0 0 0.2rem rgba(134, 188, 37, 0.25);
    outline: none;
}

/* Buttons */
.btn-deloitte {
    background-color: var(--deloitte-green);
    color: var(--deloitte-white);
    font-weight: 600;
    border: none;
}

.btn-deloitte:hover {
    background-color: var(--deloitte-dark-green);
    color: var(--deloitte-white);
}

/* Focus states */
.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 var(--deloitte-green);
}
