.ldetails-heading h2{
    font-size: 20px;
}
.ldetails-heading span{
    cursor: pointer;
}
.table tbody tr:hover td {
    background-color: #f2f2f2 !important;
    transition: background-color 0.3s ease;
}
.lap-tab{
    margin-top: 30px;
}
.lap-tab ul li{
    cursor: pointer;
}
.laptop-details-modal{
    width: 100%;
    background-color: #fff;
    padding: 24px 24px;
}
.laptop-details-modal .modal-content {
    background-color: #fff;
    padding: 24px;
    border-radius: 0px;
}
.ldetails-heading{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 14px;
    margin-bottom: 20px;
}
.ldetails-li h2{
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #e8e8e8;
    background-color: #e7e7e7;
    padding: 12px 14px;
    border-radius: 2px;
    margin-bottom: 16px;
}
.ldetails-li {
    border: 1px solid #e8e8e8;
    margin-bottom: 30px;
}
.ldetails-li ul{
    display: flex;
    flex-wrap: wrap;
    padding-left: 13px;
    margin: 0px;
}
.ldetails-li ul li{
    width: 30%;
    margin-bottom: 20px;
}
.ldetails-li ul li label{
    display: block;
    font-weight: 600;
    font-size: 14px;
}
.ldetails-li ul li span{
    font-size: 14px;
    font-weight: 400;
}

.head-row td{
    background-color: #f1f1f1;
    font-weight: bold;
}
.column-one{
    align-items: start;
}
.asset-select-row .form-select{
    margin-left: 30px;
    padding: 4px 14px;
    height: 0px;
    min-height: 30px;
}
.lchange_status,.assign{
    color: #d10000;
    margin: 0px 10px;
    cursor: pointer;
}
.lap_id{
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}
.status-operational {
    background-color: #30a93d !important; /* Green */
    color: #fff !important;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
}

.status-in-repair {
    background-color: #FFC0C0 !important; /* Light Red */
    color: #000 !important;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
}

.status-retired {
    background-color: #800000 !important; /* Dark Red */
    color: #fff !important;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
}

.status-pending-setup {
    background-color: #FFFF99 !important; /* Yellow */
    color: #000 !important;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
}

.status-spare-backup {
    background-color: #ADD8E6 !important; /* Light Blue */
    color: #000 !important;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
}

.status-return-progress {
    background-color: #000000 !important; /* Black */
    color: #fff !important;
    text-align: center;
    padding: 5px;
    border-radius: 4px;

}
.status-assigned{
    background-color: #30a93d !important; /* Green */
    color: #fff !important;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
}
.status-inventory{
    background-color: #FFFF99 !important; /* Yellow */
    color: #000!important;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
}
/* add asset */
.add-asset-div{
    margin-top: 30px;
}
.ledit{
    display: flex;
}
.ledit ul{
    display: flex;
    justify-content: space-around;
    width: 120px;
    margin-right: 20px;
}
.ledit ul li{
    text-decoration: underline;
    cursor: pointer;
}
.ledit ul li:last-child{
    color: red;
}

/* dashboard */
.asset.emp-dashboard .emp-small-card-view{
    justify-content: start;
    flex-wrap: wrap;
}

.asset .emp-small-card {
    width: 18%;
    margin: 15px 10px;
    margin-top: 0px;
}
.view-history{
    cursor: pointer;
    margin-right: 20px;
    color: blue;
}

/* Modal styling */
.historyasset.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0px;
    width: 40%;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 0px;
    z-index: 1000;
    right: 0px;
    left: initial;
}

.historyasset .modal-header, .historyasset .modal-footer {
    padding: 10px 24px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
}

.historyasset .modal-header h2 {
    margin: 0;
}

.historyasset .modal-body {
    padding: 20px;
}

.historyasset .modal-footer {
    border-top: 1px solid #ddd;
    text-align: right;
}

.historyasset .close {
    float: right;
    font-size: 1.5em;
    cursor: pointer;
}

/* Overlay styling */
.asset-overlay.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.add-asset{
    font-size: 24px;
}
.ss-type{
    border: 1px solid #30a93d;
    background-color: #30a93d2b;
    margin-left: 20px;
}
/* Show modal */
.historyasset.modal.show,  .asset-overlay.modal-overlay.show {
    display: block;
}
.historyasset .modal-header{
    display: flex;
    justify-content: space-between;
}
.historyasset .modal-header h2{
    font-size: 20px;
}
.history-li {
    border-bottom: 1px solid #dbdbdb;
}
.history-li ul{
    display: flex;
    flex-wrap: wrap;
}
.history-li li{
    width: 30%;
    margin-bottom: 10px;
    padding-top: 10px;
}
.history-li li label{
    display: flex;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}
.history-li li span{
    font-size: 14px;
}
.history-li p label{
    font-size: 16px;
    font-weight: 500;
}
#changeStatusModal .form-floating>label {
    left: 0px !important;
}
.asset.list-view{
    padding: 24px 24px;
    border: 1px solid #e1dddd;
    border-radius: 4px;
}
.asset-dashboard-filter .row{
    padding-left: 10px;
}
.asset-dashboard-filter .row #asset_type{
    border: 1px solid #30a93d;
    background-color: #30a93d2b;
}
.asset-dashboard-filter .row label::after{
    background-color: #e0f1e0;
}
#brandChart{
    margin: 0 auto;
    width: 50%;
}
.asset.emp-dash-split {
    margin: 0px 10px;
}
.warranty-table h5{
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 40px;
}
.warranty-table h5 span{
    font-size: 12px;
    opacity: 0.5;
}
@media only screen and (max-width: 1000px) {
    .historyasset.modal {
        width: 90%;
    }
    .table thead tr th {
        min-width: 130px;
    }
}