:root {
    --dv-primary-color: #A56441;
    --dv-hover-primary-color: #b97337;
}
.button-submit {
    background-color: var( --dv-primary-color) !important;
    font-weight: 700;
    border-color: var( --dv-primary-color) !important;
}

.button-submit:hover {
    background-color: var( --dv-hover-primary-color) !important;
    border-color: var( --dv-hover-primary-color) !important;
    font-weight: 700;
}

.text-brown {
    color: var( --dv-primary-color) !important;
}
.fil0 {fill:#A36648}
.bg-brown {
    background-color: var( --dv-primary-color) !important;
}
.table-brown th {
    background-color: var( --dv-primary-color) !important;
    color: #ffffff !important;
}
.bg-light-brown {
    background-color: #eed1bd !important;
}

.th-black {
    color: #000000 !important;
    font-weight: bolder;
    text-align: center;
}
.checkboxcenter{
    text-align: center;
}
.th-holiday {
    color: #ff0000 !important;
    font-weight: bolder;
    text-align: center;
}
td{
    vertical-align: top;
    padding-top: 20px !important;
}
.active1 {
    background-color: var( --dv-primary-color) !important;
    color: #ffffff !important;
}
.dailyoprationnote{
    width:187px !important;
}
.dailyoprationeoh{
    width:100px !important;
}
.dailyoprationcheckbox{
    width:100px !important;
}
.dailyoprationpar{
    width:78px !important;
}
.dailyoprationstaff {
    width:120px !important;
}
.highlight {
    background-color: #ffe58a;
    padding: 1px 2px;
}
.tablehead th{
    background-color: var( --dv-primary-color) !important;
    color: #ffffff !important;
}
.active1:hover {
    color: #ffffff !important;
}
/*.headcol {*/
/*    position: absolute;*/
/*    width: 5em;*/
/*    left: 0;*/
/*    top: auto;*/
/*    border-top-width: 1px;*/
/*    !*only relevant for first row*!*/
/*    margin-top: -1px;*/
/*    !*compensate for top border*!*/
/*}*/

/*.headcol:before {*/
/*    content: 'Row ';*/
/*}*/
form .error:not(li):not(input) {
    color: #ff4d49;
    font-size: 85%;
    margin-top: 0.25rem;
    width: 100% !important;
}
.btn-outline-custometheme {
    color: #a56441;
    border-color: #a56441;
    background: transparent;
    transition: all 0.2s ease-in-out;
}

/* HOVER */
.btn-outline-custometheme:hover {
    color: #a56441;
    background-color: rgba(165, 100, 65, 0.15); /* light shade */
    border-color: #a56441;
}

/* FOCUS */
.btn-outline-custometheme:focus {
    color: #a56441;
    background-color: rgba(165, 100, 65, 0.15);
    border-color: #a56441;
    box-shadow: 0 0 0 0.2rem rgba(165, 100, 65, 0.25);
}

/* ACTIVE */
.btn-outline-custometheme:active {
    color: #a56441;
    background-color: rgba(165, 100, 65, 0.25); /* slightly darker than hover */
    border-color: #a56441;
}
.layout-wrapper:not(.layout-horizontal) .menu-vertical .menu-sub .menu-link {
    padding-left: 1.5rem !important;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-link.active:hover, .nav-tabs .nav-link.active:focus {
    color: #666cff;
    border: 2px solid;
}
.page-item.active .page-link, .page-item.active .page-link:hover, .page-item.active .page-link:focus, .pagination li.active > a:not(.page-link), .pagination li.active > a:not(.page-link):hover, .pagination li.active > a:not(.page-link):focus {
    border-color: var( --dv-primary-color);
    background-color: var( --dv-primary-color);
    color: #fff;
}
.bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle) {
    background-color: var( --dv-primary-color);
}

.tooltip {
    position: relative;
    display: inline-block;
    opacity: 4 !important;
    font-size: 15px !important;

}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 1 !important;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
/* Target all outline buttons when active */
.btn-outline-primary:active, .btn-outline-primary:focus,
.btn-outline-success:active, .btn-outline-success:focus,
.btn-outline-danger:active, .btn-outline-danger:focus,
.btn-outline-warning:active, .btn-outline-warning:focus {
    background-color: transparent !important;
}

/* CSS FOR HEADER DROPDOWN */

.location-btn {
    background: #e6e9f8 !important;
    border: 1px solid #e3e6ef;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #444;
    transition: all .2s ease;
}

.location-btn:hover {
    background: #e9ecf5;
    border-color: #d0d6e5;
}

.location-btn i {
    color: #6b7280;
}

.location-wrapper {
    position: relative;
}

.location-btn {
    background: #f5f6fa;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.location-content {
    position: absolute;
    top: 40px;
    left: 0;
    width: 260px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
}

.location-search {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.location-search input {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.location-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
    margin: 0;
}

.location-list li {
    list-style: none;
}

.location-list li a {
    display: flex;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
}

.location-list li a:hover {
    background: #f3f4f7;
}
.companyedit.loading {
    pointer-events: none;
    opacity: 0.7;
}
