html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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 #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
}
#loginModal .btn-primary {
    background-color: #5257b4 !important;
    border-color: #5257b4 !important;
}
#loginModal .btn-close {
    filter: invert(1) brightness(2);
}
.btn-aife {
    background-color: #5257b4 !important;
    border-color: #5257b4 !important;
    color: #fff !important;
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.cursorHand {
    cursor: pointer;
}

.AIFEChrome {
    background-color: #5257b4;
    color: white;
}

.AIFEChromeText
{
    margin:2px;
}
.AIFEColor {
    color: #5257b4;
}
.AIFEBackground {
    background-color: #5257b4;
}
.dropdown-item:hover {
    background-color: #cfd2ff !important;
}


.AIFEFakeDialog {
    border: 1px outset;
    max-width: 640px;
    min-width: 640px;
    background-color: lightgrey;
    max-height: 640px;
    min-height: 640px;
}


.DialogHidden{
    display:none;
}

.input-error {
    border-color: #dc3545 !important; /* Bootstrap danger red */
}


/* Datatables Accent Theme */
table.dataTable thead th {
    background-color: #5257b4 !important;
    color: white !important;
}

table.dataTable tbody tr:hover {
    background-color: rgba(82, 87, 180, 0.15) !important;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #5257b4 !important;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #5257b4 !important;
}


#trackingTable_wrapper {
    max-height: calc(100vh - 200px); /* adjust based on your header/footer */
    overflow-y: auto;
    width: 100%;
    padding-bottom: 60px; /* footer height */
    overflow-x: hidden !important;
}

#trackingTable,
#trackingTable td,
#trackingTable th {
    font-size: 0.7rem !important; /* half of Bootstrap’s default 1rem */
    line-height: 1.1; /* tighten vertical spacing */
    padding: 2px 4px !important; /* reduce cell padding */
}




/* Shrink timestamp column */
.col-timestamp {
    width: 120px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Shrink IP column */
.col-ip {
    width: 110px;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Optional: tighten other columns */
.col-user,
.col-event,
.col-details {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Prevent wrapping */
.dt-nowrap {
    white-space: nowrap;
}

.tracking-theme {
    border: 2px solid #5257b4 !important;
}

.active > .page-link {
    background-color: #5257b4 !important;
    border-color: #5257b4 !important;
}



table.dataTable {
    margin-top: 0 !important;
}

.dataTables_wrapper .row {
    margin-bottom: 0 !important;
}

.search-stateSelect
{
    min-width:200px;
}
/* Grey card background */
.search-card {
    background: #f2f2f2;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(82, 87, 180, 0.25);
    border: 2px solid #5257b4;
}

/* Full-width blue section headers */
.section-header {
    background: #5257b4;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
}

/* Tight form spacing */
.search-card .form-select,
.search-card .form-control {
    padding: 4px 8px;
    font-size: 0.9rem;
}

/* Tight labels */
.search-card .form-label {
    margin-bottom: 2px;
    font-size: 0.85rem;
}

/* Grey button */
.search-btn {
    background: #d9d9d9;
    color: #333;
    border: 1px solid #bfbfbf;
    padding: 6px 16px;
    font-size: 0.9rem;
    border-radius: 4px;
    margin-left: auto;
    display: block;

   
}

    .search-btn:hover {
        background: #c9c9c9;
    }




.tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
    border-right-color: #5257b4;
}

.tooltip-inner {
    background-color: #5257b4;
    color: #fff;
}