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-bottom: 60px;
}

.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;
}

/* Darken Blue for Primary Button Style */
.btn-primary {
    color: #fff !important;
    background-color: #084298 !important;
    border-color: #1861ac;
}

.btn-primary:hover {
    background-color: #000066 !important;
}

#grid_pdfexport > span.e-tbar-btn-text {
    font-weight: bold;
    color: white !important;
    font-size: 14px;
}

#grid_pdfexport > span.e-btn-icon.e-pdfexport.e-icons.e-icon-left {
    font-weight: bold;
    font-size: 20px;
    color: white;
}

.e-toolbar .e-toolbar-item .e-tbar-btn:hover {
    background-color: #660000;
    border-radius: 5px;
}

.e-toolbar .e-toolbar-item .e-tbar-btn {
    background-color: darkred;
    border-radius: 5px;
}

.e-toolbar .e-toolbar-item .e-tbar-btn:active,
.e-toolbar .e-toolbar-item .e-tbar-btn:focus {
    background-color: #660000; /* or your preferred color */
    color: #fff; /* optional: ensures text stays visible */
}

.custom-css {
    vertical-align: top !important;
    white-space: normal !important; /* Ensures wrapping */
    word-break: break-word; /* Breaks long words */
}


.datepicker-arrow-container {
    position: relative;
}

.datepicker-arrow {
    position: absolute;
    right: 1rem; /* Move a bit more to the right */
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    height: 100%;
}

    .datepicker-arrow svg {
        width: 12px;
        height: 12px;
        display: block;
    }



/* Beige/tan hover for top controls - only if NOT disabled */
.form-floating > .form-control:not(:disabled):hover,
.form-floating > .form-select:not(:disabled):hover,
.form-floating.datepicker-arrow-container > .form-control:not(:disabled):hover {
    background-color: rgba(37, 140, 251, 0.15);
    border-color: #8cc6fa;
    color: #212529;
    cursor: pointer;
    /* Ensure the background covers the padding area */
    box-shadow: none !important;
}

/* Optional: also darken the datepicker input border on hover for consistency - only if NOT disabled */
.form-floating > .form-control:not(:disabled):hover,
.form-floating.datepicker-arrow-container > .form-control:not(:disabled):hover {
    border-color: #8cc6fa;
    cursor: pointer;
}

.word-break-semi {    
    white-space: nowrap;
}

.word-break-comma {
    white-space: nowrap;
}



/** Arrow Button styles */

.admin-flex-row {
    display: flex;
    align-items: center; /* Vertically center children */
    gap: 2rem;
}

.admin-flex-col {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
}

.arrow-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    height: 100%;
}

    .arrow-buttons button {
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 0.5rem;
        padding: 0.25rem;
        font-size: 2rem;
        width: 3rem;
        height: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

        .arrow-buttons button:hover,
        .arrow-buttons button:focus {
            background: #084298; /* Dark blue background */
            border-color: #1861ac; /* Slightly lighter border */
            color: #fff; /* White icon/text (for Unicode) */
            /* For SVG arrows, ensure the fill changes as well: */
        }

            .arrow-buttons button:hover svg polygon,
            .arrow-buttons button:focus svg polygon {
                fill: #fff; /* White arrow on hover */
            }






