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;
}



.textboxwidth {
    width: 400px
}

.textboxwidthtextarr {
    width: 600px
}


.search-results {
    position: absolute;
    border: 1px solid #ccc;
    background: white;
    max-height: 500px;
    overflow-y: auto;
    width: 670px;
    display: none;
    z-index: 1000;
}

.search-results div {
    padding: 8px;
    cursor: pointer;
}

    .search-results div:hover {
        background: #7699ed;
    }


.table > :not(caption) > * > * {
    padding: .2rem .2rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.table > :not(caption) > * > * {
    padding: .5rem .5rem;   
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}


.user-menu {
    position: relative;
    display: inline-block;
}

.user-name {
    font-weight: bold;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

    .user-name:hover {
        background: #f8f9fa; /* Light grey background */
    }

.user-menu:hover .dropdown-menu {
    display: block;
    margin-top: 5px;
}

.dropdown-menu {
    min-width: 120px;
    text-align: center;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width:1200px;
    
}


.table-dark1 {
    /*--bs-table-bg: #212529;*/
    --bs-table-striped-bg: #2c3034;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #323539;
    --bs-table-hover-color: #fff;
    color: #fff;
    border-color: #373b3e;
}


.custom-modal-width {
    max-width: 840px;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Prevents unwanted space */
}