﻿
.hover-zoom {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
}
.hover-zoom:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}
.slimScrollBar {
    background: rgb(254 157 67) !important;   
}

#invoiceOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25); 
    z-index: 9998; 
}
#invoicePopup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 90%;
    background: #fff;
    border: 1px solid #444;
    padding: 0;
    overflow: auto;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}
.invoice-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 10px 15px;
    text-align: right;
    border-bottom: 1px solid #ccc;
    z-index: 10;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}

    #employeeSearchPanelBody tr,
    #itemSearchPanelBody tr,
    #serialSearchPanelBody tr,
    #clientSearchPanelBody tr,
    #serverSearchPanelBody tr {
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    #employeeSearchPanelBody tr:hover,
    #itemSearchPanelBody tr:hover,
    #serialSearchPanelBody tr:hover,
    #clientSearchPanelBody tr:hover,
    #serverSearchPanelBody tr:hover {
        background-color: #d0e5ff !important;
    }

    #employeeSearchPanelBody tr.table-active,
    #employeeSearchPanelBody tr.table-active td,
    #serialSearchPanelBody tr.table-active,
    #serialSearchPanelBody tr.table-active td,
    #itemSearchPanelBody tr.table-active,
    #itemSearchPanelBody tr.table-active td,
    #clientSearchPanelBody tr.table-active,
    #clientSearchPanelBody tr.table-active td, 
    #serverSearchPanelBody tr.table-active td {
        background-color: #fe9f43 !important;
        color: #fff !important;
    }

    #employeeSearchPanelBody tr:focus,
    #serialSearchPanelBody tr:focus,
    #itemSearchPanelBody tr:focus,
    #clientSearchPanelBody tr:focus,
    #serverSearchPanelBody tr:focus {
        outline: 2px solid #3f6791;
    }




.search-panel {
    display: none;
    position: absolute;
    z-index: 999;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 3px;
    border: 1px solid #ccc;
    max-height: 250px;
    overflow: auto;
    border-radius: 5px;
    background-color: #f8f9fa;
}
.table-active {
    background-color: #d1ecf1;
}



/*
    print page button style 
*/
.action-btn {
    color: white;
    border: none;
    padding: 8px 15px;
    margin-left: 5px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#btnExport {
    background-color: #4CAF50;
}

    #btnExport:hover {
        background-color: #45a049;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

#btnPrintInvoice {
    background-color: #007bff;
}

    #btnPrintInvoice:hover {
        background-color: #0069d9;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

.close-btn {
    background-color: #f44336;
}

    .close-btn:hover {
        background-color: #d32f2f;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }



/*ticketchatbox*/

    /*#chatContainer::-webkit-scrollbar {
        width: 6px;
    }

    #chatContainer::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 5px;
    }

    textarea:focus {
        border-color: #3f6791;
        box-shadow: 0 0 0 0.2rem rgba(63, 103, 145, 0.25);
    }*/

    .supplier-profile-card {
        background: #fff;
        border: 1px solid #e6edf5;
        transition: all 0.3s ease-in-out;
    }

        .supplier-profile-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
        }

    .profile-img img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        background: #fff;
    }

    .supplier-profile-card ul li {
        font-size: 14px;
        color: #333;
        display: flex;
        align-items: center;
    }

    /* Feather icon sizing */
    .feather-sm {
        width: 16px;
        height: 16px;
    }


@media print{
    .text-left{
        text-align:left!important;
    }
    .text-right{
        text-align:right!important;
    }
    .text-center{
        text-align:center!important;
    }
    .text-start{
        text-align:left!important;
    }
    .text-end{
        text-align:right!important;
    }
    .text-center{
        text-align:center!important;
    }
}