﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

/* Info icon styling for tooltips */
.info-icon {
    color: #007bff; /* Bootstrap primary */
    margin-left: 5px;
    cursor: pointer;
    font-size: 1em;
    vertical-align: middle;
}
.info-icon i {
    pointer-events: none;
}

.tooltip.bs-tooltip-top .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #007bff !important;
}
.tooltip.bs-tooltip-bottom .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #007bff !important;
}
.tooltip.bs-tooltip-left .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #007bff !important;
}
.tooltip.bs-tooltip-right .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #007bff !important;
}
.tooltip-inner {
    background-color: #007bff !important;
    color: #fff !important;
    font-size: 0.95em;
    padding: 6px 12px;
}

/* Budget by CLIN & Burn Rate */
@media (max-width: 900px) {
    .row {
        flex-direction: column !important;
    }
    .col-lg-8, .col-lg-4, .col-md-7, .col-md-5 {
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

.card .card-header, .card .card-body {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Budget by CLIN - Expandable Employee Details */
.incurred-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 1rem !important;   /* <-- Add !important */
    font-weight: 500 !important;  /* <-- Add !important */
}

.incurred-toggle-btn:hover {
    background-color: #f3f4f6;
}

.incurred-toggle-btn .chevron-icon {
    transition: transform 0.2s ease;
}

.incurred-toggle-btn.expanded .chevron-icon {
    transform: rotate(180deg);
}

.employee-details {
    border-left: 2px solid #e5e7eb;
    padding-left: 8px;
    margin-left: 4px;
}

.employee-details .flex {
    font-size: 15px;
    color: #6b7280;
}

.employee-details .flex:hover {
    background-color: #f9fafb;
    border-radius: 2px;
}

.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.25rem;
}

.text-blue-600 {
    color: #2563eb;
}

.text-blue-800 {
    color: #1e40af;
}

.text-gray-600 {
    color: #4b5563;
}

.h-3 {
    height: 0.75rem;
}

.w-3 {
    width: 0.75rem;
}