﻿:root {
    --soft-border: rgba(15, 23, 42, .10);
    --muted: #64748b;
    --ink: #0f172a;
}

.offcanvas.offcanvas-end {
    width: min(100%, 88vw);
    background: #fff;
}

.offcanvas-header {
    border-bottom: 1px solid var(--soft-border);
    padding-block: 1rem;
}

.offcanvas-title {
    letter-spacing: .2px;
    font-size: 16px;
}

.topbar {
    background: linear-gradient(180deg, rgba(2, 132, 199, .06), rgba(2, 132, 199, 0));
    border: 1px solid var(--soft-border);
    border-radius: 14px;
    padding: 14px;
}

.section-card {
    border: 1px solid var(--soft-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(2, 8, 23, .06);
    overflow: hidden;
}

    .section-card .section-head {
        padding: 5px 16px;
        border-bottom: 1px solid var(--soft-border);
        background: #fbfdff;
    }

    .section-card .section-body {
        padding: 7px;
    }

.hint {
    color: var(--muted);
    font-size: 12px;
}


.table thead th {
    background: #f8fafc;
    border-bottom: 1px solid var(--soft-border) !important;
    white-space: nowrap;
}

.table td, .table th {
    vertical-align: middle;
}

.status-badge {
    font-weight: 600;
    letter-spacing: .1px;
}

.offcanvas-footer {
    border-top: 1px solid var(--soft-border);
    background: #fff;
    padding: 12px 16px;
    position: sticky;
    bottom: 0;
    z-index: 10;
}


.offcanvas {
    transition: transform .28s cubic-bezier(.2,.9,.2,1);
}


.dropzone {
    border: 1px dashed rgba(2, 132, 199, .35);
    background: rgba(2, 132, 199, .05);
    border-radius: 12px;
    padding: 5px;
}

.btn-soft {
    background: rgba(2, 132, 199, .10);
    border-color: rgba(2, 132, 199, .20);
    color: #075985;
}

    .btn-soft:hover {
        background: rgba(2, 132, 199, .16);
        border-color: rgba(2, 132, 199, .26);
        color: #075985;
    }


.table-responsive {
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

#ImportExportDrawercanvas label {
    color: #444;
}

.mt7 {
    margin-top: 7px;
}

#ImportExportDrawercanvas input[type=checkbox], #ImportExportDrawercanvas .form-check .form-check-input {
    border-color: #919191;
}

#tbleImporttable tbody td {
    white-space: nowrap;
    font-size: 12px;
    padding: 5px 7px;
}


#tbleImporttable > tbody td.groupEnd {
    position: sticky !important;
    right: 0px !important;
    background: #fff !important;
    overflow: visible !important;
    z-index: 9;
    min-width: 156px;
    max-width: 156px;
    text-overflow: ellipsis;
    overflow: hidden !important;
}

#tbleImporttable thead tr th.groupEnd {
    position: sticky !important;
    z-index: 999 !important;
    overflow: visible !important;
    right: 0px;
    background: #18AACC;
    color: #fff;
    min-width: 156px;
    max-width: 156px;
}

#tbleImporttable > tbody td.groupSeconfEnd {
    position: sticky !important;
    right: 156px !important;
    background: #fff !important;
    overflow: visible !important;
    z-index: 9;
}

#tbleImporttable thead tr th.groupSeconfEnd {
    position: sticky !important;
    z-index: 999 !important;
    overflow: visible !important;
    right: 156px;
    background: #18AACC;
    color: #fff;
    max-width: 80px;
}

#tbleImporttable tbody td.groupSeconfEnd:after, #tbleImporttable thead th.groupSeconfEnd:after {
    position: absolute;
    top: 0;
    bottom: 1px;
    left: 0;
    width: 30px;
    transform: translateX(-100%);
    content: "";
    pointer-events: none;
    box-shadow: inset -10px 0 8px -8px #00000026;
}

#tbleImporttable tbody tr.validEntry td {
    background: #effff7;
}

#tbleImporttable > tbody tr.validEntry td.groupEnd, #tbleImporttable > tbody tr.validEntry td.groupSeconfEnd {
    background: #e6fff3 !important;
}

.tooltip-ai .tooltip-inner {
    background: #ffffff;
    color: #162433;
    border: 1px solid rgba(24,170,204,.20);
    box-shadow: 0 18px 40px rgba(18,36,51,.12);
    border-radius: 16px;
    padding: 12px 14px;
    text-align: left;
    min-width: 260px;
    max-width: 360px;
}

.tooltip-ai .tooltip-arrow::before {
    border-top-color: #ffffff !important;
    border-bottom-color: #ffffff !important;
}

.tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tooltip-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: .2px;
}

.tooltip-value {
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
    color: #304153;
    background: #f7fbfd;
    border: 1px solid rgba(24,170,204,.10);
    border-radius: 12px;
    padding: 10px 12px;
}

.btnViewDesc {
    border-bottom: dashed 1px #0f7d99;
    font-weight: bold;
    color: #0f7d99;
    font-size: 12px;
}

.vDataimp {
    display: none;
}

    .vDataimp a {
        border-bottom: dashed 1px #0f7d99;
        font-weight: bold;
        color: #0f7d99 !important;
        font-size: 12px;
    }

#btnValidateData {
}

.btnSeetingBG {
    border: 1px dashed rgba(2, 132, 199, .35);
    background: rgba(2, 132, 199, .05);
    border-radius: 12px;
    padding: 12px;
    min-height: 57px;
    text-align: center;
}

.offcanvas-header, .offcanvas-body {
    padding: 7px;
    overflow-x: hidden;
}

.mt6 {
    margin-top: 6px !important;
}
