body {
    font-size: 0.875rem;
}
a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.meterReadingCard {
    background: #EEEEEE;
    margin-bottom: 25pt;
}

.tooltip-inner {
    background: #eeeeee;
    color: #000000;
    border: 1px solid #3f3caa;
    text-align: left;
}

.tooltip.show {
    opacity: 1;
}

form button {
    margin-top: 10px;
}

label {
    margin-bottom: 0px;
}

/* Hide the databables selector for selecting show many rows should be displayed. */
#customerList_length, #meterReadingCardsList_length {
    display: none;
}

.datepicker {
    width: 200px;
}

div.implausibleValue input {
    color: red;
}

.card-header {
    padding: 0;
}

.card {
    background-color: #eee;
    border: none;
}

.filter-form .datepicker {
    width: 100%;
}

.dz-error-mark {
    background-color: #f00;
}

.form-group .expected-value-deviation-fields {
    display: flex;
}

.form-group .expected-value-deviation-fields input,
.form-group .expected-value-deviation-fields #slider
{
    float: left;
}

.form-group .expected-value-deviation-fields #slider
{
    margin: 0.5rem 2rem 0rem 2rem;
    width: 40%;
}

.form-control .expected-value-deviation-fields label {
    display: inline;
    vertical-align: middle;
}

.form-control.range-slider-field {
    display: inline;
    width: 6em;
}

.form-error-icon {
    display: none;
}

#form_langCodes .col-form-label {
    display: none;
}

label .invalid-feedback {
    display: none !important;
}


.table td, .table th {
    vertical-align: middle;
}

.table .tdTextAlignCenter, .table .thTextAlignCenter {
    text-align: center;
}

/*
 * Styling of form elements in tables
 */
.table .form-group {
    margin-bottom: 0;
}

.table input[type="checkbox"] {
    transform: scale(1.5);
}

.table label {
    display: none;
}

.hidden {
    display: none;
}

/*
 * Bootstrap 5's css styles for .form-check and for .form-check .form-check-input breaks centering in table cells.
 * These rules neutralize the Bootstrap defaults specifically for checkboxes in tables to allow proper centering
 * with text-center and align-middle.
 */
table td .form-check {
    display: block;
    min-height: 0;
    padding-left: 0;
    margin-bottom: 0;
}

table td .form-check .form-check-input {
    float: none;
    margin-left: 0;
}

/* Staff Navigation Styling */
.staff-nav .nav-link {
    color: #495057;
    background-color: #e9ecef;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.staff-nav .nav-link:hover {
    background-color: #0d6efd;
    color: #ffffff;
    text-decoration: none;
    transform: translateX(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.staff-nav .nav-link i {
    width: 20px;
    text-align: center;
}

.staff-nav hr {
    border-top: 1px solid #dee2e6;
    opacity: 0.5;
}
