html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.dotted-border-title {
    display: inline-block;
    border-bottom: 1px dashed rgba(0,0,0,0.2); /* Dotted border line */
    padding-bottom: 5px; /* Space between text and border */
}
legend {
    float: left;
    font-size: 1.3rem;
    line-height: inherit;
    margin-bottom: 1rem;
    padding: 0;
    width: 100%;
    font-weight:600;
}
.add-button {
    background-color: #17a2b8;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}
    .add-button:hover {
        background-color: #138496; /* Hover color */
    }

input[readonly] {
    background-color: #f5f5f5; /* Subtle lighter grey */
    color: #212529; /* Text color for readability */
    border: 1px solid #dee2e6; /* Light border */
    cursor: not-allowed; /* Indicate non-editable */
}
.table-responsive {
    overflow-x: auto; /* Enable horizontal scrolling */
    width: 100%; /* Ensures the container spans full width */
    /* border: 1px solid #dee2e6; */  /* Optional: Add border around the scrollable area */
    margin-bottom: 10px; /* Space below the table */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Horizontal Scroll Bar at the top of List View */
/* Fake scrollbar container styling */
.scroll-sync-wrapper {
    position: relative;
    overflow: hidden;
}

/* Styling for the fake scrollbar */
.fake-scrollbar {
    overflow-x: auto;
    height: 16px; /* Keep the height of the scrollbar */
    margin-bottom: 0px; /* Adjust the negative margin to align with the table */
    position: relative; /* Set position to relative to make z-index work */
    z-index: 10; /* Set a higher z-index to make sure it stays on top */
    background-color: #f0f0f0; /* Optional: Add a background color for better visibility */
    width: 100%;
}

/* Styling for the table container */
#table-wrapper {
    overflow-x: auto;
}

/* Additional styling for table */
.table {
    border-collapse: collapse;
    width: 100%;
}

.table th, .table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/*
    List View related styles.
*/

.table thead th {
    background: linear-gradient(to right, #3a8ec9, #1d6fa5);
    color: white;
    font-weight: bold;
    text-align: left;
    border-bottom: 2px solid #1d6fa5;
    padding: 10px;
    text-transform: uppercase;
    vertical-align: top !important;
}
.table tbody tr td {
    vertical-align: top !important;
}

.table thead th:first-child {
    border-top-left-radius: 10px;
}

.table thead th:last-child {
    border-top-right-radius: 10px;
}

/*
    Tabulator : Header Color improvements.
*/
.tabulator .tabulator-header .tabulator-col {
    background: linear-gradient(to right, #3a8ec9, #1d6fa5);
    color: white; /* White text for contrast */
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #1d6fa5;
    padding: 10px;
    text-transform: uppercase;
    vertical-align: top !important;
}

.tabulator .tabulator-header .tabulator-col {
    border-right: 1px solid #004085; /* Border between columns */
    padding: 10px; /* Padding for header cells */
}

.tabulator .tabulator-header .tabulator-col:hover {
    background-color: #0056b3; /* Hover effect for headers */
}
.tabulator .tabulator-row:hover {
    background-color: #e9ecef; /* Light gray background on row hover */
}

/*.tabulator .tabulator-col,*/
.tabulator .tabulator-cell {
    border-right: none; /* Remove the right border of each column */
}

.btn-width {
    min-width: 75px;
}