﻿.user-hint { /*CtrlV  Doonload*/
    font-size: 12px; /* Small font size */
    color: darkcyan; /* Muted gray color */
    font-style: italic; /* Optional: Italic for auxiliary text */
    margin-top: 4px; /* Space above the hint */
    display: inline; /* Ensures it appears on its own line */
}

.link-download {
    text-decoration: none !important; /* Force removal of underline */
}

.ITSV-link-download {
    text-decoration: none !important; /* Force removal of underline */
}

.ITSV-UHint {
    color: darkcyan; /* Muted gray color */
    margin-top: 4px; /* Space above the hint */
    display: inline; /* Ensures it appears on its own line */
}


.ITSV-LblAgg {
    color: darkcyan; /* Muted gray color */
}

.ctx-icon {
    font-size: 14px;
    vertical-align: middle;
    opacity: 0.7;
}

.ctx-icon:hover {
    opacity: 1;
}

.ctx-warn {
    opacity: 1;
}

.ctx-label {
    font-size: 11px;
    color: #666;
    font-style: italic;
    padding: 3px 8px;
    margin: 2px 0;
    background: #f9f9e8;
    border-left: 3px solid #cca;
    display: none;
}


.ITSV-LblTitle{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.ITSV-LblUMsg {
    font-weight: 500;
    margin-bottom: 10px;
}


.TSV_copy_cell_wrap {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding-right: 18px; /* reserve space for the icon */
}

.TSV_copy_cell_btn {
    position: absolute;
    right: 2px; /* as far right as possible */
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
    cursor: pointer;
}

.ITSV-scrollable-container {
    max-height: 300px;
    padding-bottom: 7px;
    padding-top: 4px;
    width: calc(100vw - 30px); /* Ensures it takes full width but within limits */
    overflow: auto; /* Ensures  scrolling */
    box-sizing: border-box; /* Include padding and borders in the element's total width and height */
}

.ITSCntrlPnl {
    display: inline-block;
}

    .ITSCntrlPnl * {
        margin-right: 3px;
        display: inline-block;
        vertical-align: central  /*To align w CB to th elef*/
        
    }

.ITSV-PnlCntrl {
    display: flex;
    align-items: center;
    margin: 3px 0;
    gap: 4px;

}




.ITS-separator {
    border-left: 1px solid #ccc;
    height: 20px;
    margin: 0 -2px 0 5px;
}

.ITSV-line-through {
    text-decoration: line-through;

}

.ITSV-Panel-Button {
    border: none;
    cursor: pointer;
    height: 20px;
    display: inline-flex;
    align-items: center; /* Center align the SVG vertically */
    justify-content: center;
    transition: border 0.3s ease; /* Add smooth transition effect */
}
    .ITSV-Panel-Button:hover {
        padding: 1px; /* Adjust padding for visual alignment with the new border */
    }

.ITSV-Panel-Button-Alert {
    border: none;
    cursor: pointer;
    height: 20px;
    margin-left:-12px;
    display: inline-flex;
    align-items: center; /* Center align the SVG vertically */
    justify-content: center;
    transition: border 0.3s ease; /* Add smooth transition effect */
}

    .ITSV-Panel-Button-Alert:hover {
        padding: 1px; /* Adjust padding for visual alignment with the new border */
    }


.ITSV-Panel-Button-FltrCls {
    border: none;
    cursor: pointer;
    height: 15px;
    margin-left: -1px;
    margin-bottom:13px;
    display: inline-flex;
    align-items: center; /* Center align the SVG vertically */
    justify-content: center;
    transition: border 0.3s ease; /* Add smooth transition effect */
}

    .ITSV-Panel-Button-FltrCls:hover {
        padding: 1px; /* Adjust padding for visual alignment with the new border */
    }


.ITSV-table {
    margin-top: 5px;
    font-size: 14px;  
}

    .ITSV-table th {
        background-color: #e5e5e5;
        text-align: left;
        white-space: nowrap;
        padding-right: 3px;
        padding-left: 3px;
        font-weight: 650;
        border: 2px solid #ccc;
    }

        .ITSV-table th a {
            text-decoration: none;
            white-space: nowrap;
            color: black;
           
        }

            .ITSV-table th a:hover {
                text-decoration: underline;
                cursor: pointer;
                border: 1px solid #ddd;
            }

.ITSV-txtbox-sel {
    vertical-align: top;
    text-align: center;
    border: 0;
    border-bottom: 1px solid black;
}

.ITSV-symbol-button {
    /* No styles defined */
}

    .ITSV-symbol-button:hover {
        background-color: #d7eff5;
    }

.ITSV-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
    padding-right: 3px;
    padding-left: 2px;
    padding-top: 1px;
    padding-bottom: 1px;
    vertical-align: top;
    border: 1px solid #ccc;  /*ITSV Table Cells */
}

.ITSV-table tr:hover {
    background-color: #bae2e6 !important;
}

.ITSV-wrap-cell {
    word-wrap: break-word;
    white-space: normal;
    max-width: 400px;
}

.ITSV-centered-column {
    text-align: center;
}

.ITSV-usr {
    background-color: #edb4b4
}

.ITSV-table tr:hover td.ITSV-usr {
    background-color: #d29d9d !important;
}


.ITSV-cusr {
    background-color: #cfc9c8
}

.ITSV-table tr:hover td.ITSV-cusr {
    background-color: #b1acaa !important;
}

.ITSV-Sep {
    background-color: #e5e5e5 !important;
    border: none !important;
}

.ITSV-Red {
    background-color: #FFD3F6;
}

    /* Background color on hover */
    .ITSV-Red:hover td {
        background-color: #FCA8EB !important
    }



.svg {
    height: 20px;
    cursor: pointer;
}

    .svg:hover {
          padding: 2px; /* Adjust padding for visual alignment with the new border */
    }

/* Row Detail Popup */
.itsv-row-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.35);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itsv-row-detail-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    max-width: 600px;
    width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.itsv-row-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #e5e5e5;
    border-bottom: 1px solid #ccc;
    font-weight: 650;
}

.itsv-row-detail-close {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.itsv-row-detail-close:hover {
    color: #c00;
}

.itsv-row-detail-body {
    overflow-y: auto;
    padding: 4px 0;
}

.itsv-row-detail-body table {
    width: 100%;
    border-collapse: collapse;
}

.itsv-row-detail-body th {
    text-align: left;
    white-space: nowrap;
    padding: 4px 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 650;
    width: 1%;
    vertical-align: top;
}

.itsv-row-detail-body td {
    padding: 4px 10px;
    border-bottom: 1px solid #e0e0e0;
    word-wrap: break-word;
    white-space: normal;
    max-width: 400px;
    vertical-align: top;
}

.itsv-row-detail-body tr:hover {
    background: #f0f8ff;
}

/* Floating Chat */
#its-chat-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0078d4;
    color: #fff;
    font-size: 24px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    z-index: 10100;
    display: flex;
    align-items: center;
    justify-content: center;
}

#its-chat-btn:hover {
    background: #005a9e;
}

#its-chat-panel {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 350px;
    height: 450px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    z-index: 10100;
    display: none;
    flex-direction: column;
    font-size: 14px;
}

.its-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #0078d4;
    color: #fff;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
}

.its-chat-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
}

.its-chat-header button:hover {
    opacity: .7;
}

.its-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.its-chat-msg-bot,
.its-chat-msg-user {
    padding: 6px 10px;
    border-radius: 6px;
    max-width: 85%;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
}

.its-chat-msg-bot {
    background: #f0f0f0;
    align-self: flex-start;
}

.its-chat-msg-user {
    background: #d4edff;
    align-self: flex-end;
}

.its-chat-msg-label {
    font-weight: 600;
    margin-right: 6px;
    font-size: 12px;
}

.its-chat-faq-area {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.its-chat-faq {
    background: #e8f4fd;
    border: 1px solid #b3d9f2;
    border-radius: 12px;
    padding: 3px 10px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.its-chat-faq:hover {
    background: #cce7f9;
}

.its-chat-input-area {
    display: flex;
    padding: 8px;
    border-top: 1px solid #e0e0e0;
    gap: 6px;
}

.its-chat-input-area input {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 14px;
    outline: none;
}

.its-chat-input-area input:focus {
    border-color: #0078d4;
}

.its-chat-input-area button {
    background: #0078d4;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
}

.its-chat-input-area button:hover {
    background: #005a9e;
}
