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;
}
.theme-background {
    /*background-color: #6482AD !important;*/
    color: black !important;
}
.main {
    height: calc(100vh - 167px) !important;
}

.main-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}


/*Grid styling */

/* Remove Extra Borders */
.e-grid .e-rowcell {
    border: none;
}

.e-grid .e-row.e-selectionbackground {
    background-color: #BBDEFB !important; /* Light blue selection */
    color: #000 !important;
}


/* General Grid Styling */
.e-grid .e-headercell {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #546E7A;
    border-bottom: 1px solid #dee2e6;
    padding: 10px;
}

/* Row Styling */
.e-grid .e-row {
    /*border: none;*/
}

/* Ensure row colors alternate properly */
.e-grid .e-content tr:nth-child(odd) {
    background-color: #fafafa !important; /* Light blue for odd rows */
}

.e-grid .e-content tr:nth-child(even) {
    background-color: #ffffff !important; /* White for even rows */
}

/* Ensure hover effect works */
.e-grid .e-content tr:hover {
    background-color: #e9ecef !important;
}


/*Scrollbar Styling*/
/* Width of the scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

/* Track (background of scrollbar) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

/* Handle (draggable part of scrollbar) */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media(max-width:767px){
    .main {
        height: calc(100vh - 16px) !important;
    }
    .main .card-body {
        overflow: auto;
    }
}
