﻿
#mdlForwardedCalls.modal.left .modal-dialog {
    position: fixed;
    right: 0;
    margin: auto;
    min-width: 85%;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

#mdlForwardedCalls.modal.left .modal-header {
    padding: 10px;
}

    #mdlForwardedCalls.modal.left .modal-header h4 {
        font-size: 18px;
        font-weight: 600;
    }

#mdlForwardedCalls.modal.left .modal-content {
    height: 100%;
}

#mdlForwardedCalls.modal.right.fade .modal-dialog {
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

#mdlForwardedCalls.modal.fade.show .modal-dialog {
    right: 0;
}













#mdlRejectedCalls.modal.left .modal-dialog {
    position: fixed;
    right: 0;
    margin: auto;
    min-width: 85%;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

#mdlRejectedCalls.modal.left .modal-header {
    padding: 10px;
}

    #mdlRejectedCalls.modal.left .modal-header h4 {
        font-size: 18px;
        font-weight: 600;
    }

#mdlRejectedCalls.modal.left .modal-content {
    height: 100%;
}

#mdlRejectedCalls.modal.right.fade .modal-dialog {
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

#mdlRejectedCalls.modal.fade.show .modal-dialog {
    right: 0;
}











.table-scroll {
    max-height: 72vh;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}

table {
    margin: 0;
}

.table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    white-space: nowrap;
    font-weight: 700;
    font-size: 13px;
}

.table tfoot td {
    position: sticky;
    bottom: 0;
    z-index: 3;
    background: #e9ecef;
    font-weight: 800;
    white-space: nowrap;
}

.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.col-level {
    min-width: 260px;
}

.col-emp {
    min-width: 220px;
}

/* Level header row */
tr.level-row > td {
    background: var(--head);
    font-weight: 800;
    border-top: 2px solid var(--line);
}

.lvl-btn {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    cursor: pointer !important;
}

.lvl-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 700;
}

.caret {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.lvl-btn[aria-expanded="true"] .caret svg {
    transform: rotate(180deg);
}

.caret svg {
    transition: transform .15s ease-in-out;
}

/* Highlight cells */


.hl-agegt14 {
    background: #fff9df;
}

/* KPI */
.kpi {
    display: inline-flex;
    align-items: center;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid var(--line);
    background: #fff;
    white-space: nowrap;
}

.kpi-good {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #065f46;
}

.kpi-mid {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.kpi-bad {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* Make hover subtle and premium */
.table-hover tbody tr:hover td {
    background: #f8fafc;
}

.table tbody tr td {
    padding: 6px;
    color: #4c4c4c;
}

.table tbody tr {
    border-bottom: solid #ebf2f6 5px;
}

.table tfoot td {
    background: #24a19c;
    color: #fff;
}

.min100 {
    min-width: 100px;
}

.empSet {
    margin-left: 20px;
}

:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --border: #e7eaf3;
    --muted: #6b7280;
    --brand: #2563eb;
    --ok: #16a34a;
    --warn: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 10px 30px rgba(16,24,40,.08);
}

.table tbody tr.level-row td {
    background: #fff8fe;
    background: linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(16, 185, 129, .05)), var(--card);
}

.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;
}

.viewDetails {
    margin-right: 4px;
    vertical-align: -1px;
}

.table tbody tr td.hl-pending {
    background: #ffe3e0 !important;
}

svg {
    vertical-align: -2px;
}

#TOPtokenTable {
    max-height: 80vh;
}

button:focus {
    outline: none;
}


tr {
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    tr.animate-show {
        max-height: 200px; /* Adjust based on your row content height */
        opacity: 1;
    }

    tr.animate-hide {
        max-height: 0;
        opacity: 0;
    }


.box-header h3 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 0px;
    margin-top: 4px;
}

.checkboxSet {
    margin-top: 7px;
    margin-left: 5px;
    font-weight: bold;
    color: #96598a;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 165px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #96598a;
    color: #fff;
}


.viewTokenDetails, .viewTokenDetailsInner {
    cursor: pointer;
}

    .viewTokenDetails:hover, .viewTokenDetailsInner:hover {
        color: #96598a;
        cursor: pointer;
    }

.select2-container {
    width: 100% !important;
}

    .select2-container .select2-selection--single {
        height: 34px;
        border: 1px solid #ced4da;
    }

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px;
}

body {
    overflow-x: hidden;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 165px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #96598a;
    color: #fff;
}

.pt2 {
    padding-top: 2px;
}

.table tbody tr {
    border-bottom: solid #ebf2f6 5px;
}

    .table tbody tr td {
        padding: 6px;
        color: #4c4c4c;
    }

.table tfoot th {
    background: #24a19c;
}
/*.table-hover tbody tr{transition: all 0.4s ease-in-out;
}
        .table tbody tr {    
    -webkit-transition: all 0.1s ease;
    transition: all 0.1s ease;
}
           tbody tr{    
  opacity: 0;
  animation-name: fadeIn;
  animation-duration: 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}*/

.table tbody tr td.tdred {
    background: #ffe2e5;
    color: #f64e60 !important;
    font-weight: bold;
}

.table tbody tr td.tdgreen {
    background: #c9f7f5;
    color: #12827c !important;
    font-weight: bold;
}

.table tbody tr td.pl30 {
    padding-left: 30px;
}

.table tbody tr.innerRow {
    background: #dcdcdc;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#tblExecutiveTokenAllDates {
    max-height: 480px;
}

.ml30 {
    margin-left: 30px;
}

.tdHighlighted {
    background: #f9f5ea;
}

.viewDetails {
    cursor: pointer;
}

.iconsetcal {
    position: absolute;
    top: 28px;
    right: 23px;
    font-size: 17px;
    color: #8c8c8c;
}

.pendingHighlighted, .table tbody tr td.pendingHighlighted {
    background: #ffe3e0;
    color: #73403c;
}

.table tbody tr td {
    padding: 4px;
}

.select2Set .select2-container .select2-selection--single {
    height: 26px;
}

.select2Set .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px;
}

.select2Set .select2-container--default .select2-selection--single .select2-selection__arrow b {
    top: 38%;
}

.box-header h3 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 0px;
    margin-top: 4px;
}

.page-titles {
    padding: 2px 15px;
}

.box {
    margin-bottom: 6px;
}

.box-body {
    padding: 4px 2px 4px 2px;
}

.titleHeader {
    margin-top: 2px;
}

.table th {
    padding: 6px 4px;
}

.checkboxSet {
    margin-top: 7px;
    margin-left: 5px;
    font-weight: bold;
    color: #96598a;
}

.icon-plus:before {
    content: "\e095";
}

.icon-minus:before {
    content: "\e615";
}

#levelWise {
    display: none;
}

#TOPtblforwardcalldetails {
    max-height: 80vh;
}

#mdlForwardedCalls.modal.left .modal-dialog {
    position: fixed;
    right: 0;
    margin: auto;
    min-width: 98%;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

#mdlForwardedCalls.modal.left .modal-header {
    padding: 10px;
}

    #mdlForwardedCalls.modal.left .modal-header h4 {
        font-size: 18px;
        font-weight: 600;
    }

#mdlForwardedCalls.modal.left .modal-content {
    height: 100%;
}

#mdlForwardedCalls.modal.right.fade .modal-dialog {
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

#mdlForwardedCalls.modal.fade.show .modal-dialog {
    right: 0;
}








#mdlRejectedCalls.modal.left .modal-dialog {
    position: fixed;
    right: 0;
    margin: auto;
    min-width: 98%;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

#mdlRejectedCalls.modal.left .modal-header {
    padding: 10px;
}

    #mdlRejectedCalls.modal.left .modal-header h4 {
        font-size: 18px;
        font-weight: 600;
    }

#mdlRejectedCalls.modal.left .modal-content {
    height: 100%;
}

#mdlRejectedCalls.modal.right.fade .modal-dialog {
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

#mdlRejectedCalls.modal.fade.show .modal-dialog {
    right: 0;
}



.level-row {
    background: #f1f1f1;
}

.lvl-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
}

.grand-total {
    background: #0fa3a3;
    color: white;
    font-weight: bold;
}

.hl-pending {
    color: red;
}

.hl-agegt14 {
    color: orange;
}


.arrow-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px; /* size of button */
    height: 30px;
    border: 1px solid #ccc; /* light border */
    border-radius: 50%; /* makes it circular */
    background-color: #fff; /* white background */
    cursor: pointer;
    font-size: 12px; /* size of arrow */
    color: #333; /* arrow color */
    transition: transform 0.2s; /* smooth rotation */
}

    .arrow-btn.rotate {
        transform: rotate(180deg); /* rotate arrow on toggle */
    }



.viewTokenDetails {
    color: #4c4c4c !important;
}

.RejectedCall {
    color: #ff4c4c !important;
    font-weight: bold;
}


    .RejectedCall svg path {
        fill: #ff4c4c !important;
    }