/* Hide the cursor outside of input fields */
body {
    caret-color: transparent; /* This hides the cursor */
}

/*Show the cursor inside input fields*/
input, textarea, select, button {
    caret-color: auto; /*This shows the blinking cursor inside input fields */
}
/***/
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, body {
    height: 100%;
    margin: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    flex: 1;
}


.footer {
    line-height: 40px;
    white-space: nowrap;
    width: 100%;
    /*background-color: var(--bs-body-bg);*/
    background-color: var(--bs-body-bg-rgb);
}


.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;
}

/** Paging and search containers */
.fade-toggle {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.fade-toggle.show {
    opacity: 1;
}

.widget-container {
    position: relative;
    min-height: 120px;
}

.spinner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
    background-color: rgba(255,255,255,0.55);
    z-index: 5;
}

[data-bs-theme="dark"] .spinner-overlay {
    background-color: rgba(0,0,0,0.45);
}


.blurred {
    filter: blur(3px);
    opacity: .6;
}
/* sorting headers */
.order-icon, .date-picker-filter, .search-selector {
    cursor: pointer;
}

.order-header {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    cursor: pointer;
}

.order-header .sort-icon {
    min-width: 1.2em; /* reserve icon space */
    cursor: pointer;
    font-size: xx-small;
}

.order-header .add-order,
.order-header .remove-order {
    visibility: hidden;
    min-width: 1.2em; /* reserve space */
    padding: 0;
    margin: 0;
    text-decoration: none;
    cursor: pointer;
}

.order-header:hover .add-order[data-show='true'],
.order-header:hover .remove-order[data-show='true'] {
    visibility: visible;
}
/****/
.toggle-active-icon:hover {
    background-color: #ccf0f0;
}
.form-group .bi {
    vertical-align: middle;
    margin-right: 0.25rem;
}

/******/
.navbar {
    max-height: 60px;  typical BS5 navbar height 
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
/* Ensure collapsed navbar dropdown appears above everything */
.navbar-collapse {
    z-index: 1050; /* same as Bootstrap modal dropdowns */
    background-color: var(--bs-body-bg); /* optional: match navbar bg */
}