/* Minification failed. Returning unminified contents.
(4624,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4625,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4626,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4627,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4628,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4629,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4630,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4631,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4632,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4633,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4634,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4635,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4636,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4637,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4638,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4648,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4663,35): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(4666,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(4670,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4682,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(4686,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(4700,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(4724,26): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(4735,26): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(4745,36): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(4747,25): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(4750,30): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(4751,30): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(4755,54): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(4755,79): run-time error CSS1039: Token not allowed after unary operator: '-primary-dark'
(4757,32): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(4763,54): run-time error CSS1039: Token not allowed after unary operator: '-success-color'
(4763,79): run-time error CSS1039: Token not allowed after unary operator: '-success-dark'
(4765,32): run-time error CSS1039: Token not allowed after unary operator: '-success-color'
(4773,25): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(4783,30): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(4787,25): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(4793,25): run-time error CSS1039: Token not allowed after unary operator: '-success-color'
(4803,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(4805,28): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(4811,35): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(4820,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4827,46): run-time error CSS1039: Token not allowed after unary operator: '-success-color'
(4827,71): run-time error CSS1039: Token not allowed after unary operator: '-success-dark'
(4829,24): run-time error CSS1039: Token not allowed after unary operator: '-success-color'
(4840,46): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(4840,71): run-time error CSS1039: Token not allowed after unary operator: '-primary-dark'
(4869,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4877,22): run-time error CSS1039: Token not allowed after unary operator: '-light-bg'
(4878,28): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(4879,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(4883,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(4896,28): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(4898,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(4904,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-lg'
(4915,33): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(4917,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(4918,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(4923,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(4930,35): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(4932,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4941,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(4953,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(4966,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(4972,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(4976,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4982,17): run-time error CSS1039: Token not allowed after unary operator: '-success-color'
(4992,46): run-time error CSS1039: Token not allowed after unary operator: '-success-color'
(4992,71): run-time error CSS1039: Token not allowed after unary operator: '-success-dark'
(5000,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(5025,46): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(5025,71): run-time error CSS1039: Token not allowed after unary operator: '-primary-dark'
(5033,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(5076,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(5092,32): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(5098,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(5108,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(5127,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-lg'
(5199,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(5230,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-lg'
(5251,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-lg'
(5255,32): run-time error CSS1039: Token not allowed after unary operator: '-success-color'
(5263,17): run-time error CSS1039: Token not allowed after unary operator: '-success-color'
(5270,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(5277,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(5283,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(5292,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(5294,46): run-time error CSS1039: Token not allowed after unary operator: '-success-color'
(5294,71): run-time error CSS1039: Token not allowed after unary operator: '-success-dark'
(5325,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(5337,22): run-time error CSS1039: Token not allowed after unary operator: '-light-bg'
(5338,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(5339,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(5343,22): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(5345,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(5349,46): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(5349,71): run-time error CSS1039: Token not allowed after unary operator: '-primary-dark'
(5777,1): run-time error CSS1019: Unexpected token, found '@'
(5777,2): run-time error CSS1019: Unexpected token, found '@keyframes'
(5778,10): run-time error CSS1035: Expected colon, found '{'
(5789,1): run-time error CSS1019: Unexpected token, found '@'
(5789,2): run-time error CSS1019: Unexpected token, found '@keyframes'
(5790,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(6055,1): run-time error CSS1019: Unexpected token, found '@'
(6082,1): run-time error CSS1019: Unexpected token, found '@'
(6110,1): run-time error CSS1019: Unexpected token, found '@'
(6480,1): run-time error CSS1019: Unexpected token, found '@'
(6502,1): run-time error CSS1019: Unexpected token, found '@'
(6719,1): run-time error CSS1019: Unexpected token, found '@'
(6719,2): run-time error CSS1019: Unexpected token, found '@keyframes'
(6720,10): run-time error CSS1035: Expected colon, found '{'
(6731,1): run-time error CSS1019: Unexpected token, found '@'
(6731,2): run-time error CSS1019: Unexpected token, found '@keyframes'
(6732,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(6996,1): run-time error CSS1019: Unexpected token, found '@'
(7023,1): run-time error CSS1019: Unexpected token, found '@'
(7051,1): run-time error CSS1019: Unexpected token, found '@'
(7421,1): run-time error CSS1019: Unexpected token, found '@'
(7443,1): run-time error CSS1019: Unexpected token, found '@'
 */
.ui-grid{min-height:380px;}.ui-grid .dropdown.open{position:fixed;z-index:10;}.form-group.form-md-line-input .form-control.ng-touched.ng-invalid{border-bottom-color:#f00;}.form-group.form-md-line-input .form-control.ng-touched.ng-invalid.edited:not([readonly])~label:after{background-color:#f00;}.page-footer-inner{padding-bottom:10px;}.md-shadow-zero-light{box-shadow:0 0 0 rgba(0,0,0,.1),0 0 1px rgba(0,0,0,.18) !important;}body[ng-controller] div.modal-backdrop{z-index:10049;}body[ng-controller] div.modal{z-index:10050;}.input-ltr,input[type="email"],input[type="url"],input[type="number"],input[type="tel"]{direction:ltr;}
.audit-log-detail-view h3.form-section{margin-top:5px}.audit-log-detail-view .form-group{margin-bottom:0}.audit-log-detail-view .form-group p.form-control-static{margin:0}.audit-log-detail-view .form-group .control-label{font-weight:bold}
.page-header.navbar .page-logo .logo-default{margin:19px 10px 0 10px;}.page-header.navbar.navbar-fixed-top{z-index:1000;}.page-header.navbar.navbar-static-top{z-index:1000;}.page-header.navbar .top-menu .navbar-nav>li.dropdown-dark .dropdown-submenu:hover>a{background-color:#5b6f7c !important;}.page-header.navbar .top-menu .navbar-nav>li.dropdown-dark .dropdown-submenu>a.open-left:after{content:'';left:7px;}.page-header.navbar .top-menu .navbar-nav>li.dropdown-dark .dropdown-submenu>ul.dropdown-menu{margin-top:-5px !important;}.page-header.navbar .top-menu .navbar-nav>li.dropdown-dark .dropdown-submenu>ul.dropdown-menu:after{display:none !important;}.page-header.navbar .top-menu .navbar-nav>li.dropdown-dark .dropdown-submenu>ul.dropdown-menu li.divider{background-color:#607482 !important;}#UserNotificationDropdown{max-width:320px;width:320px;}#UserNotificationDropdown a.user-notification-item{cursor:default;color:#ccc;}#UserNotificationDropdown a.user-notification-item:hover{text-decoration:none;}#UserNotificationDropdown a.user-notification-item.user-notification-item-unread{color:#fff;}#UserNotificationDropdown a.user-notification-item.user-notification-item-unread .notification-time{color:#ccc;}#UserNotificationDropdown a.user-notification-item.user-notification-item-clickable{cursor:pointer;}#UserNotificationDropdown a.user-notification-item .set-as-read-text{color:#0d0;cursor:pointer;}#UserNotificationDropdown a.user-notification-item .fa-info{color:#0ff;}#UserNotificationDropdown a.user-notification-item .fa-check{color:#0f0;}#UserNotificationDropdown a.user-notification-item .fa-warning{color:#ffa200;}#UserNotificationDropdown a.user-notification-item .fa-bolt,#UserNotificationDropdown a.user-notification-item .fa-bomb{color:#f00;}#UserNotificationDropdown a{color:#fff;}#UserNotificationDropdown .notifications-header{text-align:left;min-height:35px;padding:8px;margin:0;}#UserNotificationDropdown .notifications-header a:hover{text-decoration:underline;}#UserNotificationDropdown .notifications-footer{min-height:35px;padding:8px;margin:0;}#UserNotificationDropdown .notification-empty-text{color:#ccc;padding:10px;text-align:center;}
.page-sidebar-menu .sub-menu .sub-menu-icon{margin-right:3px}
.ou-text{color:#999}.ou-text.ou-text-has-members{color:#000}.ou-text.ou-text-has-members .ou-text-member-count{font-weight:bold}
#NotificationGrid{color:#000;}#NotificationGrid a{color:#000;}#NotificationGrid .notification-read{color:#999;}#NotificationGrid .notification-read a{color:#999;}
.ou-text{color:#999}.ou-text.ou-text-has-members{color:#000}.ou-text.ou-text-has-members .ou-text-member-count{font-weight:bold}
.user-edit-dialog-profile-image{margin-bottom:20px}
.img-profile-picture-in-grid{margin-right:2px}
.feature-tree-textbox{max-width:100px;margin:1px;margin-left:5px}.feature-tree-textbox.feature-tree-textbox-invalid{background:#f00;color:#fff}

.tab-wrap *, .tab-wrap *::before, .tab-wrap *::after {
    box-sizing: border-box;
}

.tab-wrap {
    padding: 16px 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 13px;
}

/* Summary bar (shared pattern) */
.tab-summary-bar {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.tab-sum-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 180px;
}

    .tab-sum-title h3 {
        font-size: 13px;
        font-weight: 700;
        color: #1b1f27;
        margin: 0;
    }

    .tab-sum-title span {
        font-size: 11px;
        color: #6b7280;
        display: block;
        margin-top: 1px;
    }

.tab-sum-div {
    width: 1px;
    background: #eaecf0;
    align-self: stretch;
}

.tab-sum-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 12px;
    min-width: 90px;
}

.tab-sum-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.tab-sum-val {
    font-size: 16px;
    font-weight: 800;
}

/* No data block */
.tab-nodata {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 10px;
}

    .tab-nodata i {
        font-size: 2rem;
        display: block;
        margin-bottom: 8px;
        color: #d1d5db;
    }

/* ════════════════════════════════════════════════════════════
   ACTIVE INSIGHTS TAB
════════════════════════════════════════════════════════════ */

/* Insight card */
.ai-card {
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    transition: box-shadow .2s;
}

    .ai-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,.09);
    }

/* Card header */
.ai-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f8f9fb;
    border-bottom: 1px solid #eaecf0;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-card-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f59e0b;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-emp-name {
    font-size: 13px;
    font-weight: 700;
    color: #1d4ed8;
    cursor: pointer;
}

    .ai-emp-name:hover {
        text-decoration: underline;
    }

.ai-emp-meta {
    font-size: 11px;
    color: #6b7280;
    margin-top: 1px;
}

.ai-count-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    background: #fef3c7;
    color: #92400e;
}

/* Insight list */
.ai-insights {
    padding: 10px 16px 12px;
}

.ai-insight-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed #f0f1f3;
}

    .ai-insight-row:last-child {
        border-bottom: none;
    }

.ai-insight-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fef3c7;
    color: #92400e;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.ai-insight-text {
    font-size: 12px;
    color: #374151;
    line-height: 1.6;
    flex: 1;
}

/* ng-class driven colors from your existing stringNgClass */


/* ════════════════════════════════════════════════════════════
   ERROR ALERTS TAB
════════════════════════════════════════════════════════════ */

.ea-wrap {
    padding: 16px 0;
    font-family: 'Segoe UI', sans-serif;
}

/* Section header */
.ea-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 10px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

    .ea-section-title i {
        font-size: 13px;
    }

    .ea-section-title.red i {
        color: #dc2626;
    }

    .ea-section-title.amber i {
        color: #d97706;
    }

    .ea-section-title.blue i {
        color: #2563eb;
    }

/* Cost centre error card */
.ea-cc-card {
    background: #fff;
    border: 1px solid #fca5a5;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.ea-cc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    background: #fff5f5;
    border-bottom: 1px solid #fee2e2;
    flex-wrap: wrap;
    gap: 6px;
}

.ea-cc-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ea-cc-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ea-cc-name {
    font-size: 12px;
    font-weight: 700;
    color: #7f1d1d;
}

.ea-cc-meta {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 1px;
}

.ea-edit-btn {
    font-size: 11px;
    font-weight: 600;
    color: #dc2626;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    padding: 3px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s;
}

    .ea-edit-btn:hover {
        background: #fca5a5;
    }

.ea-method-chip {
    font-size: 10px;
    font-weight: 600;
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 100px;
}

/* Error list inside card */
.ea-err-list {
    padding: 8px 14px 10px;
}

.ea-err-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px dashed #fee2e2;
    font-size: 12px;
    color: #374151;
}

    .ea-err-row:last-child {
        border-bottom: none;
    }

.ea-err-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dc2626;
    flex-shrink: 0;
    margin-top: 5px;
}

/* Simple error / alert rows */
.ea-simple-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.ea-simple-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 12px;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

    .ea-simple-row.error {
        border-left: 3px solid #dc2626;
        background: #fff5f5;
    }

    .ea-simple-row.alert {
        border-left: 3px solid #d97706;
        background: #fffbeb;
    }

.ea-simple-num {
    font-size: 10px;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .ea-simple-num.error {
        background: #fee2e2;
        color: #dc2626;
    }

    .ea-simple-num.alert {
        background: #fef3c7;
        color: #d97706;
    }

.ea-simple-text {
    flex: 1;
    line-height: 1.6;
}

/* 2-col layout for errors + alerts */
.ea-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .ea-two-col {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════════════════════════
   EXE TIME TAB
════════════════════════════════════════════════════════════ */

.et-wrap {
    padding: 16px 0;
    font-family: 'Segoe UI', sans-serif;
}

/* Summary metrics */
.et-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .et-metrics {
        grid-template-columns: 1fr;
    }
}

.et-metric {
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.et-metric-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 4px;
}

.et-metric-val {
    font-size: 22px;
    font-weight: 800;
}

.et-metric-sub {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.et-val-green {
    color: #065f46;
}

.et-val-amber {
    color: #92400e;
}

.et-val-blue {
    color: #1e40af;
}

/* Timeline list */
.et-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.et-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
}

    .et-step:last-child {
        border-bottom: none;
    }

/* Connector line */
.et-step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.et-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #6b7280;
    flex-shrink: 0;
}

    .et-step-dot.highlight {
        background: #1d4ed8;
        border-color: #1d4ed8;
        color: #fff;
    }

    .et-step-dot.success {
        background: #059669;
        border-color: #059669;
        color: #fff;
    }

    .et-step-dot.warn {
        background: #d97706;
        border-color: #d97706;
        color: #fff;
    }

.et-step-line {
    width: 2px;
    flex: 1;
    min-height: 12px;
    background: #e5e7eb;
    margin-top: 2px;
}

.et-step:last-child .et-step-line {
    display: none;
}

/* Step content */
.et-step-content {
    flex: 1;
    padding-top: 4px;
}

.et-step-text {
    font-size: 12px;
    color: #374151;
    line-height: 1.6;
    font-family: 'Consolas', 'Courier New', monospace;
    background: #f8f9fb;
    border: 1px solid #eaecf0;
    border-radius: 6px;
    padding: 6px 10px;
    word-break: break-all;
}
    /* Highlight key steps */
    .et-step-text.start {
        background: #eff6ff;
        border-color: #bfdbfe;
        color: #1e40af;
        font-weight: 600;
    }

    .et-step-text.end {
        background: #f0fdf4;
        border-color: #bbf7d0;
        color: #065f46;
        font-weight: 600;
    }

    .et-step-text.emp {
        background: #faf5ff;
        border-color: #ddd6fe;
        color: #4c1d95;
    }

    .et-step-text.timing {
        background: #fffbeb;
        border-color: #fde68a;
        color: #92400e;
    }

/* Execution time card */
.et-exec-card {
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.et-exec-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 2px solid #86efac;
    color: #059669;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.et-exec-main {
    flex: 1;
}

.et-exec-title {
    font-size: 13px;
    font-weight: 700;
    color: #1b1f27;
}

.et-exec-sub {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.et-exec-time {
    font-size: 28px;
    font-weight: 800;
    color: #059669;
    white-space: nowrap;
}

.et-exec-time-unit {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.jwt-wrap *, .jwt-wrap *::before, .jwt-wrap *::after {
    box-sizing: border-box;
}

.jwt-wrap {
    padding: 16px 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 13px;
}

/* ── Toolbar ─────────────────────────────────────────────────*/
.jwt-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.jwt-toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.jwt-search-wrap {
    position: relative;
}

    .jwt-search-wrap i {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 12px;
        pointer-events: none;
    }

.jwt-search {
    border: 1px solid #dde3ec;
    border-radius: 8px;
    padding: 7px 12px 7px 32px;
    font-size: 12px;
    color: #1f2937;
    background: #fff;
    outline: none;
    width: 260px;
    transition: border-color .2s, box-shadow .2s;
}

    .jwt-search:focus {
        border-color: #d97706;
        box-shadow: 0 0 0 3px rgba(217,119,6,.12);
    }

.jwt-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
}

.jwt-badge-amber {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
}

.jwt-badge-blue {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

/* ── Summary bar ─────────────────────────────────────────────*/
.jwt-summary-bar {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.jwt-sum-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

    .jwt-sum-title i {
        color: #d97706;
        font-size: 17px;
    }

    .jwt-sum-title h3 {
        font-size: 13px;
        font-weight: 700;
        color: #1b1f27;
        margin: 0;
    }

    .jwt-sum-title span {
        font-size: 11px;
        color: #6b7280;
        display: block;
        margin-top: 1px;
    }

.jwt-sum-div {
    width: 1px;
    background: #eaecf0;
    align-self: stretch;
}

.jwt-sum-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 12px;
    min-width: 110px;
}

.jwt-sum-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.jwt-sum-val {
    font-size: 16px;
    font-weight: 800;
}

.wv-green {
    color: #065f46;
}

.wv-amber {
    color: #92400e;
}

.wv-blue {
    color: #1e40af;
}

.wv-purple {
    color: #4c1d95;
}

.wv-teal {
    color: #164e63;
}

/* ── Job block ───────────────────────────────────────────────*/
.jwt-block {
    background: #fff;
    border: 1px solid #dde3ec;
    border-left: 4px solid #d97706;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    transition: box-shadow .2s;
}

    .jwt-block:hover {
        box-shadow: 0 4px 14px rgba(0,0,0,.09);
    }

    .jwt-block.rank-1 {
        border-left-color: #f59e0b;
    }

    .jwt-block.rank-2 {
        border-left-color: #9ca3af;
    }

    .jwt-block.rank-3 {
        border-left-color: #b45309;
    }

/* ── Row base ────────────────────────────────────────────────*/
.jwt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    flex-wrap: wrap;
    gap: 8px;
    transition: background .15s;
}

.jwt-row-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.jwt-row-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Level 1 — Job */
.jwt-row-l1 {
    padding: 10px 16px;
    background: #fffbeb;
    border-bottom: 1px solid #fef3c7;
}

    .jwt-row-l1:hover {
        background: #fef3c7;
    }

/* Level 2 — Client */
.jwt-row-l2 {
    padding: 8px 16px 8px 36px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    border-left: 2px solid #fde68a;
}

    .jwt-row-l2:hover {
        background: #fffbeb;
    }

/* Level 3 — Cost Centre */
.jwt-row-l3 {
    padding: 7px 16px 7px 60px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    border-left: 2px solid #a5f3fc;
}

    .jwt-row-l3:hover {
        background: #ecfeff;
    }

/* Level 4 — Date */
.jwt-row-l4 {
    padding: 6px 16px 6px 84px;
    background: #fafafa;
    border-bottom: 1px solid #f5f5f5;
    border-left: 2px solid #bbf7d0;
}

    .jwt-row-l4:hover {
        background: #f0fdf4;
    }

/* Level 5 — Employee table */
.jwt-emp-section {
    padding: 8px 16px 12px 108px;
    background: #fafffe;
    border-bottom: 1px solid #ecfdf5;
    border-left: 2px solid #6ee7b7;
}

/* ── Level icons ─────────────────────────────────────────────*/
.jwt-icon-l1 {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #d97706;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: -.5px;
}

.jwt-icon-l2 {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1d4ed8;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jwt-icon-l3 {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #ecfeff;
    color: #164e63;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jwt-icon-l4 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #14532d;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Labels ──────────────────────────────────────────────────*/
.jwt-lbl-l1 {
    font-size: 14px;
    font-weight: 800;
    color: #92400e;
    letter-spacing: .02em;
}

.jwt-lbl-l2 {
    font-size: 12px;
    font-weight: 700;
    color: #1e3a8a;
}

.jwt-lbl-l3 {
    font-size: 11px;
    font-weight: 700;
    color: #164e63;
}

.jwt-lbl-l4 {
    font-size: 11px;
    font-weight: 600;
    color: #166534;
}

.jwt-meta {
    font-size: 10px;
    color: #6b7280;
    margin-top: 1px;
}

.jwt-company-tag {
    font-size: 10px;
    font-weight: 600;
    color: #4c1d95;
    background: #ede9fe;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 4px;
}

/* ── Rank badge ──────────────────────────────────────────────*/
.jwt-rank {
    font-size: 10px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 100px;
    margin-right: 4px;
}

.jwt-rank-1 {
    background: #fef9c3;
    color: #a16207;
}

.jwt-rank-2 {
    background: #f1f5f9;
    color: #475569;
}

.jwt-rank-3 {
    background: #ffedd5;
    color: #7c2d12;
}

/* ── Pills ───────────────────────────────────────────────────*/
.jwt-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    white-space: nowrap;
}

.wp-rev {
    background: #d1fae5;
    color: #064e3b;
}

.wp-hrs {
    background: #dbeafe;
    color: #1e3a8a;
}

.wp-ot {
    background: #fef3c7;
    color: #92400e;
}

.wp-emp {
    background: #f3e8ff;
    color: #4c1d95;
}

.wp-client {
    background: #ffe4e6;
    color: #881337;
}

.wp-cc {
    background: #ecfeff;
    color: #164e63;
}

/* ── Revenue bar ─────────────────────────────────────────────*/
.jwt-bar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.jwt-bar-track {
    width: 56px;
    height: 5px;
    background: #e5e7eb;
    border-radius: 100px;
    overflow: hidden;
    flex-shrink: 0;
}

.jwt-bar-fill {
    height: 100%;
    border-radius: 100px;
}

.jwt-bar-amber {
    background: #f59e0b;
}

.jwt-bar-blue {
    background: #3b82f6;
}

.jwt-bar-teal {
    background: #06b6d4;
}

.jwt-bar-green {
    background: #059669;
}

.jwt-bar-pct {
    font-size: 10px;
    color: #6b7280;
    white-space: nowrap;
}

/* ── Chevron ─────────────────────────────────────────────────*/
.jwt-chev {
    font-size: 11px;
    color: #9ca3af;
    transition: transform .2s;
    flex-shrink: 0;
}

    .jwt-chev.open {
        transform: rotate(180deg);
    }

/* ── Employee table ──────────────────────────────────────────*/
.jwt-emp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-top: 6px;
}

    .jwt-emp-table thead th {
        font-size: 10px;
        font-weight: 700;
        color: #374151;
        text-transform: uppercase;
        letter-spacing: .04em;
        padding: 5px 8px;
        border-bottom: 2px solid #6ee7b7;
        background: #f0fdf4;
        text-align: left;
        white-space: nowrap;
    }

        .jwt-emp-table thead th.r {
            text-align: right;
        }

        .jwt-emp-table thead th.c {
            text-align: center;
        }

    .jwt-emp-table tbody td {
        padding: 6px 8px;
        border-bottom: 1px solid #f0fdf4;
        vertical-align: middle;
        color: #1f2937;
    }

        .jwt-emp-table tbody td.r {
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

        .jwt-emp-table tbody td.c {
            text-align: center;
        }

    .jwt-emp-table tbody tr:last-child td {
        border-bottom: none;
    }

    .jwt-emp-table tbody tr:hover td {
        background: #ecfdf5;
    }

/* Employee avatar + name */
.jwt-emp-av {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fef3c7;
    color: #92400e;
    font-size: 8px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

.jwt-emp-name {
    font-weight: 600;
    color: #b45309;
    cursor: pointer;
    font-size: 11px;
}

    .jwt-emp-name:hover {
        text-decoration: underline;
    }

.jwt-emp-code {
    font-size: 10px;
    color: #9ca3af;
    margin-left: 4px;
}

.jwt-emp-company {
    font-size: 10px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
}

/* Status chip */
.jwt-jchip {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 100px;
    white-space: nowrap;
}

.jc-job {
    background: #d1fae5;
    color: #064e3b;
}

.jc-leave {
    background: #fef3c7;
    color: #92400e;
}

.jc-absent {
    background: #fee2e2;
    color: #7f1d1d;
}

.jc-nb {
    background: #f3e8ff;
    color: #4c1d95;
}

/* Revenue breakup detail */
.jwt-rev-breakup {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 3px;
}

.jwt-rev-item {
    font-size: 10px;
    color: #6b7280;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 1px 6px;
    border-radius: 4px;
}

    .jwt-rev-item strong {
        color: #92400e;
    }

/* P&L */
.jwt-pnl-pos {
    color: #065f46;
    font-weight: 800;
}

.jwt-pnl-neg {
    color: #7f1d1d;
    font-weight: 800;
}

.jwt-pnl-zer {
    color: #374151;
}

/* OT sub */
.jwt-hrs-ot {
    font-size: 10px;
    color: #b45309;
    display: block;
    margin-top: 1px;
}

/* Tfoot */
.jwt-emp-table tfoot td {
    padding: 5px 8px;
    border-top: 1px solid #6ee7b7;
    background: #ecfdf5;
    font-size: 10px;
}

    .jwt-emp-table tfoot td.r {
        text-align: right;
        font-variant-numeric: tabular-nums;
        font-weight: 800;
    }

/* ── No data ─────────────────────────────────────────────────*/
.jwt-nodata {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 10px;
}

    .jwt-nodata i {
        font-size: 2rem;
        display: block;
        margin-bottom: 8px;
        color: #d1d5db;
    }

.pcc-wrap *, .pcc-wrap *::before, .pcc-wrap *::after {
    box-sizing: border-box;
}

.pcc-wrap {
    padding: 16px 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 13px;
}

/* ── Toolbar ─────────────────────────────────────────────────*/
.pcc-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.pcc-toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pcc-search-wrap {
    position: relative;
}

    .pcc-search-wrap i {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 12px;
        pointer-events: none;
    }

.pcc-search {
    border: 1px solid #dde3ec;
    border-radius: 8px;
    padding: 7px 12px 7px 32px;
    font-size: 12px;
    color: #1f2937;
    background: #fff;
    outline: none;
    width: 260px;
    transition: border-color .2s, box-shadow .2s;
}

    .pcc-search:focus {
        border-color: #7c3aed;
        box-shadow: 0 0 0 3px rgba(124,58,237,.12);
    }

.pcc-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
}

.pcc-badge-purple {
    background: #f5f3ff;
    border: 1px solid #c4b5fd;
    color: #4c1d95;
}

.pcc-badge-blue {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

/* ── Summary bar ─────────────────────────────────────────────*/
.pcc-summary-bar {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.pcc-sum-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

    .pcc-sum-title i {
        color: #7c3aed;
        font-size: 17px;
    }

    .pcc-sum-title h3 {
        font-size: 13px;
        font-weight: 700;
        color: #1b1f27;
        margin: 0;
    }

    .pcc-sum-title span {
        font-size: 11px;
        color: #6b7280;
        display: block;
        margin-top: 1px;
    }

.pcc-sum-div {
    width: 1px;
    background: #eaecf0;
    align-self: stretch;
}

.pcc-sum-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 12px;
    min-width: 110px;
}

.pcc-sum-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.pcc-sum-val {
    font-size: 16px;
    font-weight: 800;
}

.psv-green {
    color: #065f46;
}

.psv-purple {
    color: #4c1d95;
}

.psv-blue {
    color: #1e40af;
}

.psv-amber {
    color: #92400e;
}

/* ── Cost Centre block ───────────────────────────────────────*/
.pcc-block {
    background: #fff;
    border: 1px solid #dde3ec;
    border-left: 4px solid #7c3aed;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    transition: box-shadow .2s;
}

    .pcc-block:hover {
        box-shadow: 0 4px 14px rgba(0,0,0,.09);
    }

    .pcc-block.rank-1 {
        border-left-color: #f59e0b;
    }

    .pcc-block.rank-2 {
        border-left-color: #9ca3af;
    }

    .pcc-block.rank-3 {
        border-left-color: #b45309;
    }

/* ── Row base ────────────────────────────────────────────────*/
.pcc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    flex-wrap: wrap;
    gap: 8px;
    transition: background .15s;
}

.pcc-row-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.pcc-row-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Level 1 — Cost Centre */
.pcc-row-l1 {
    padding: 10px 16px;
    background: #faf5ff;
    border-bottom: 1px solid #ede9fe;
}

    .pcc-row-l1:hover {
        background: #f3e8ff;
    }

/* Level 2 — Job */
.pcc-row-l2 {
    padding: 8px 16px 8px 36px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    border-left: 2px solid #ede9fe;
}

    .pcc-row-l2:hover {
        background: #f5f3ff;
    }

/* Level 3 — Date */
.pcc-row-l3 {
    padding: 7px 16px 7px 60px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    border-left: 2px solid #dbeafe;
}

    .pcc-row-l3:hover {
        background: #eff6ff;
    }

/* Level 4 — Employee table */
.pcc-emp-section {
    padding: 8px 16px 12px 84px;
    background: #fdfcff;
    border-bottom: 1px solid #ede9fe;
    border-left: 2px solid #c4b5fd;
}

/* ── Level icons ─────────────────────────────────────────────*/
.pcc-icon-l1 {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #7c3aed;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pcc-icon-l2 {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #fef3c7;
    color: #92400e;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: -.5px;
}

.pcc-icon-l3 {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1e40af;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Labels ──────────────────────────────────────────────────*/
.pcc-lbl-l1 {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.pcc-lbl-l2 {
    font-size: 12px;
    font-weight: 700;
    color: #3b0764;
}

.pcc-lbl-l3 {
    font-size: 11px;
    font-weight: 600;
    color: #1e3a8a;
}

.pcc-meta {
    font-size: 10px;
    color: #6b7280;
    margin-top: 1px;
}

.pcc-client-tag {
    font-size: 10px;
    color: #065f46;
    font-weight: 600;
    background: #dcfce7;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 6px;
}

.pcc-company-tag {
    font-size: 10px;
    color: #4c1d95;
    font-weight: 600;
    background: #ede9fe;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 4px;
}

/* ── Rank badge ──────────────────────────────────────────────*/
.pcc-rank {
    font-size: 10px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 100px;
    margin-right: 4px;
}

.pcc-rank-1 {
    background: #fef9c3;
    color: #a16207;
}

.pcc-rank-2 {
    background: #f1f5f9;
    color: #475569;
}

.pcc-rank-3 {
    background: #ffedd5;
    color: #7c2d12;
}

/* ── Pills ───────────────────────────────────────────────────*/
.pcc-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    white-space: nowrap;
}

.pp-rev {
    background: #d1fae5;
    color: #064e3b;
}

.pp-hrs {
    background: #dbeafe;
    color: #1e3a8a;
}

.pp-ot {
    background: #fef3c7;
    color: #92400e;
}

.pp-emp {
    background: #f3e8ff;
    color: #4c1d95;
}

.pp-jobs {
    background: #fce7f3;
    color: #831843;
}

/* ── Revenue share bar ───────────────────────────────────────*/
.pcc-bar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pcc-bar-track {
    width: 56px;
    height: 5px;
    background: #e5e7eb;
    border-radius: 100px;
    overflow: hidden;
    flex-shrink: 0;
}

.pcc-bar-fill {
    height: 100%;
    border-radius: 100px;
}

.pcc-bar-purple {
    background: #7c3aed;
}

.pcc-bar-amber {
    background: #f59e0b;
}

.pcc-bar-blue {
    background: #3b82f6;
}

.pcc-bar-pct {
    font-size: 10px;
    color: #6b7280;
    white-space: nowrap;
}

/* ── Chevron ─────────────────────────────────────────────────*/
.pcc-chev {
    font-size: 11px;
    color: #9ca3af;
    transition: transform .2s;
    flex-shrink: 0;
}

    .pcc-chev.open {
        transform: rotate(180deg);
    }

/* ── Employee table ──────────────────────────────────────────*/
.pcc-emp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-top: 6px;
}

    .pcc-emp-table thead th {
        font-size: 10px;
        font-weight: 700;
        color: #374151;
        text-transform: uppercase;
        letter-spacing: .04em;
        padding: 5px 8px;
        border-bottom: 2px solid #c4b5fd;
        background: #f5f3ff;
        text-align: left;
        white-space: nowrap;
    }

        .pcc-emp-table thead th.r {
            text-align: right;
        }

        .pcc-emp-table thead th.c {
            text-align: center;
        }

    .pcc-emp-table tbody td {
        padding: 6px 8px;
        border-bottom: 1px solid #f5f3ff;
        vertical-align: middle;
        color: #1f2937;
    }

        .pcc-emp-table tbody td.r {
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

        .pcc-emp-table tbody td.c {
            text-align: center;
        }

    .pcc-emp-table tbody tr:last-child td {
        border-bottom: none;
    }

    .pcc-emp-table tbody tr:hover td {
        background: #faf5ff;
    }

/* Employee avatar + name */
.pcc-emp-av {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ede9fe;
    color: #4c1d95;
    font-size: 8px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

.pcc-emp-name {
    font-weight: 600;
    color: #6d28d9;
    cursor: pointer;
    font-size: 11px;
}

    .pcc-emp-name:hover {
        text-decoration: underline;
    }

.pcc-emp-code {
    font-size: 10px;
    color: #9ca3af;
    margin-left: 4px;
}

.pcc-emp-company {
    font-size: 10px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
}

/* Status chip */
.pcc-jchip {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 100px;
    white-space: nowrap;
}

.jc-job {
    background: #d1fae5;
    color: #064e3b;
}

.jc-leave {
    background: #fef3c7;
    color: #92400e;
}

.jc-absent {
    background: #fee2e2;
    color: #7f1d1d;
}

.jc-nb {
    background: #f3e8ff;
    color: #4c1d95;
}

/* Revenue breakup detail */
.pcc-rev-breakup {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 3px;
}

.pcc-rev-item {
    font-size: 10px;
    color: #6b7280;
    background: #f5f3ff;
    border: 1px solid #ede9fe;
    padding: 1px 6px;
    border-radius: 4px;
}

    .pcc-rev-item strong {
        color: #4c1d95;
    }

/* P&L */
.pcc-pnl-pos {
    color: #065f46;
    font-weight: 800;
}

.pcc-pnl-neg {
    color: #7f1d1d;
    font-weight: 800;
}

.pcc-pnl-zer {
    color: #374151;
}

/* OT sub label */
.pcc-hrs-ot {
    font-size: 10px;
    color: #b45309;
    display: block;
    margin-top: 1px;
}

/* Tfoot */
.pcc-emp-table tfoot td {
    padding: 5px 8px;
    border-top: 1px solid #c4b5fd;
    background: #f5f3ff;
    font-size: 10px;
}

    .pcc-emp-table tfoot td.r {
        text-align: right;
        font-variant-numeric: tabular-nums;
        font-weight: 800;
    }

/* ── No data ─────────────────────────────────────────────────*/
.pcc-nodata {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 10px;
}

    .pcc-nodata i {
        font-size: 2rem;
        display: block;
        margin-bottom: 8px;
        color: #d1d5db;
    }

.cw2-wrap *, .cw2-wrap *::before, .cw2-wrap *::after {
    box-sizing: border-box;
}

.cw2-wrap {
    padding: 16px 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 13px;
}

/* ── Toolbar ─────────────────────────────────────────────────*/
.cw2-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.cw2-toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cw2-search-wrap {
    position: relative;
}

    .cw2-search-wrap i {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 12px;
        pointer-events: none;
    }

.cw2-search {
    border: 1px solid #dde3ec;
    border-radius: 8px;
    padding: 7px 12px 7px 32px;
    font-size: 12px;
    color: #1f2937;
    background: #fff;
    outline: none;
    width: 240px;
    transition: border-color .2s, box-shadow .2s;
}

    .cw2-search:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59,130,246,.12);
    }

.cw2-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
}

.cw2-badge-green {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #15803d;
}

/* ── Summary bar ─────────────────────────────────────────────*/
.cw2-summary-bar {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.cw2-sum-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 180px;
}

    .cw2-sum-title i {
        color: #e05c2a;
        font-size: 16px;
    }

    .cw2-sum-title h3 {
        font-size: 13px;
        font-weight: 700;
        color: #1b1f27;
        margin: 0;
    }

    .cw2-sum-title span {
        font-size: 11px;
        color: #6b7280;
        display: block;
        margin-top: 1px;
    }

.cw2-sum-div {
    width: 1px;
    background: #eaecf0;
    align-self: stretch;
}

.cw2-sum-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 12px;
    min-width: 100px;
}

.cw2-sum-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.cw2-sum-val {
    font-size: 16px;
    font-weight: 800;
}

.sv-green {
    color: #065f46;
}

.sv-blue {
    color: #1e40af;
}

.sv-purple {
    color: #4c1d95;
}

.sv-amber {
    color: #92400e;
}

/* ── Client block ────────────────────────────────────────────*/
.cw2-client {
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

    .cw2-client.rank-1 {
        border-top: 3px solid #f59e0b;
    }

    .cw2-client.rank-2 {
        border-top: 3px solid #9ca3af;
    }

    .cw2-client.rank-3 {
        border-top: 3px solid #b45309;
    }

/* ── Row styles per level ────────────────────────────────────*/
/* Level 1 — Client header */
.cw2-row-l1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    user-select: none;
    flex-wrap: wrap;
    gap: 8px;
}

    .cw2-row-l1:hover {
        background: #e8eef7;
    }

/* Level 2 — Cost Centre */
.cw2-row-l2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 8px 32px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f6;
    cursor: pointer;
    user-select: none;
    flex-wrap: wrap;
    gap: 6px;
}

    .cw2-row-l2:hover {
        background: #eef4fb;
    }

    .cw2-row-l2::before {
        content: '';
        display: inline-block;
        width: 12px;
        height: 1px;
        background: #cbd5e1;
        margin-right: 8px;
        flex-shrink: 0;
    }

/* Level 3 — Job */
.cw2-row-l3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 16px 7px 56px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    user-select: none;
    flex-wrap: wrap;
    gap: 6px;
}

    .cw2-row-l3:hover {
        background: #f0fdf4;
    }

    .cw2-row-l3::before {
        content: '';
        display: inline-block;
        width: 18px;
        height: 1px;
        background: #bfdbfe;
        margin-right: 8px;
        flex-shrink: 0;
    }

/* Level 4 — Date */
.cw2-row-l4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px 6px 80px;
    background: #fafafa;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    user-select: none;
    flex-wrap: wrap;
    gap: 6px;
}

    .cw2-row-l4:hover {
        background: #f0f9ff;
    }

    .cw2-row-l4::before {
        content: '';
        display: inline-block;
        width: 20px;
        height: 1px;
        background: #a5f3fc;
        margin-right: 8px;
        flex-shrink: 0;
    }

/* Level 5 — Employee table wrapper */
.cw2-emp-section {
    padding: 0 16px 10px 104px;
    background: #f8fffe;
    border-bottom: 1px solid #ecfdf5;
}

/* ── Row left sides ──────────────────────────────────────────*/
.cw2-row-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.cw2-row-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* ── Level icons ─────────────────────────────────────────────*/
.cw2-icon-l1 {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #1d4ed8;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cw2-icon-l2 {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #0891b2;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cw2-icon-l3 {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: #fef3c7;
    color: #92400e;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cw2-icon-l4 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0c4a6e;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Label styles per level ──────────────────────────────────*/
.cw2-lbl-l1 {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    user-select: text;
    -webkit-user-select: text;
}

.cw2-lbl-l2 {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.cw2-lbl-l3 {
    font-size: 11px;
    font-weight: 700;
    color: #1e3a5f;
}

.cw2-lbl-l4 {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
}

.cw2-meta {
    font-size: 10px;
    color: #6b7280;
    margin-top: 1px;
}

/* ── Rank badge ──────────────────────────────────────────────*/
.cw2-rank {
    font-size: 10px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 100px;
    margin-right: 4px;
}

.cw2-rank-1 {
    background: #fef9c3;
    color: #a16207;
}

.cw2-rank-2 {
    background: #f1f5f9;
    color: #475569;
}

.cw2-rank-3 {
    background: #ffedd5;
    color: #7c2d12;
}

/* ── Pills ───────────────────────────────────────────────────*/
.cw2-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    white-space: nowrap;
}

.p-rev {
    background: #d1fae5;
    color: #064e3b;
}

.p-hrs {
    background: #dbeafe;
    color: #1e3a8a;
}

.p-ot {
    background: #fef3c7;
    color: #92400e;
}

.p-emp {
    background: #f3e8ff;
    color: #4c1d95;
}

.p-cc {
    background: #e0f2fe;
    color: #0c4a6e;
}

.p-jobs {
    background: #fce7f3;
    color: #831843;
}

.p-date {
    background: #f0fdf4;
    color: #14532d;
    font-size: 11px;
}

.p-pnl-pos {
    background: #dcfce7;
    color: #14532d;
}

.p-pnl-neg {
    background: #fee2e2;
    color: #7f1d1d;
}

/* ── Chevron ─────────────────────────────────────────────────*/
.cw2-chev {
    font-size: 11px;
    color: #9ca3af;
    transition: transform .2s;
    flex-shrink: 0;
}

    .cw2-chev.open {
        transform: rotate(180deg);
    }

/* ── Revenue bar ─────────────────────────────────────────────*/
.cw2-revbar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cw2-revbar-track {
    width: 60px;
    height: 5px;
    background: #e5e7eb;
    border-radius: 100px;
    overflow: hidden;
    flex-shrink: 0;
}

.cw2-revbar-fill {
    height: 100%;
    background: #059669;
    border-radius: 100px;
}

/* ── Employee table (level 5) ────────────────────────────────*/
.cw2-emp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 11px;
}

    .cw2-emp-table thead th {
        font-size: 10px;
        font-weight: 700;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: .04em;
        padding: 5px 8px;
        border-bottom: 2px solid #e5e7eb;
        background: #f0fdf4;
        text-align: left;
        white-space: nowrap;
    }

        .cw2-emp-table thead th.r {
            text-align: right;
        }

    .cw2-emp-table tbody td {
        padding: 5px 8px;
        border-bottom: 1px solid #f0f9f4;
        vertical-align: middle;
        color: #1f2937;
    }

        .cw2-emp-table tbody td.r {
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

    .cw2-emp-table tbody tr:last-child td {
        border-bottom: none;
    }

    .cw2-emp-table tbody tr:hover td {
        background: #ecfdf5;
    }

    .cw2-emp-table tfoot td {
        padding: 5px 8px;
        border-top: 1px solid #d1d5db;
        font-size: 10px;
        background: #f0fdf4;
    }

        .cw2-emp-table tfoot td.r {
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

/* Employee avatar mini */
.cw2-emp-av {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1e40af;
    font-size: 8px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    vertical-align: middle;
}

.cw2-emp-name-lnk {
    font-weight: 600;
    color: #1d4ed8;
    cursor: pointer;
}

    .cw2-emp-name-lnk:hover {
        text-decoration: underline;
    }

/* P&L colors */
.pnl-pos {
    color: #065f46;
    font-weight: 800;
}

.pnl-neg {
    color: #7f1d1d;
    font-weight: 800;
}

.pnl-zer {
    color: #374151;
}

/* Hours sub */
.hrs-ot {
    font-size: 10px;
    color: #b45309;
    display: block;
    margin-top: 1px;
}

/* ── No data ─────────────────────────────────────────────────*/
.cw2-nodata {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 10px;
}

    .cw2-nodata i {
        font-size: 2rem;
        display: block;
        margin-bottom: 8px;
        color: #d1d5db;
    }

/* ── Expand all / collapse all btn ───────────────────────────*/
.cw2-btn {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border: 1px solid #dde3ec;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: background .15s;
}

    .cw2-btn:hover {
        background: #f3f4f6;
    }

/* ── Reset ──────────────────────────────────────────────────── */
.ew-wrap *, .ew-wrap *::before, .ew-wrap *::after {
    box-sizing: border-box;
}

/* ── Wrapper ────────────────────────────────────────────────── */
.ew-wrap {
    padding: 16px 0;
    font-family: 'Segoe UI', sans-serif;
}

/* ── Toolbar row ─────────────────────────────────────────────── */
.ew-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.ew-toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Search box */
.ew-search-wrap {
    position: relative;
}

    .ew-search-wrap i {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 13px;
        pointer-events: none;
    }

.ew-search {
    border: 1px solid #dde3ec;
    border-radius: 8px;
    padding: 7px 12px 7px 32px;
    font-size: 12px;
    color: #1f2937;
    background: #fff;
    outline: none;
    width: 240px;
    transition: border-color .2s, box-shadow .2s;
}

    .ew-search:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59,130,246,.12);
    }

/* Emp count badge */
.ew-count-badge {
    background: #f0f5ff;
    border: 1px solid #c7d7fd;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
}

/* ── Overall summary bar ────────────────────────────────────── */
.ew-summary-bar {
    display: flex;
    align-items: stretch;
    gap: 10px;
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.ew-sum-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 180px;
}

    .ew-sum-title i {
        color: #e05c2a;
        font-size: 16px;
    }

    .ew-sum-title h3 {
        font-size: 13px;
        font-weight: 700;
        color: #1b1f27;
        margin: 0;
    }

    .ew-sum-title span {
        font-size: 11px;
        color: #6b7280;
        display: block;
        margin-top: 1px;
    }

.ew-sum-div {
    width: 1px;
    background: #eaecf0;
    align-self: stretch;
}

.ew-sum-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 12px;
    min-width: 110px;
}

.ew-sum-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.ew-sum-val {
    font-size: 16px;
    font-weight: 800;
}

.sv-amber {
    color: #b45309;
}

.sv-green {
    color: #065f46;
}

.sv-red {
    color: #991b1b;
}

.sv-blue {
    color: #1e40af;
}

/* ── Employee card ───────────────────────────────────────────── */
.ew-emp-card {
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    transition: box-shadow .2s;
}

    .ew-emp-card:hover {
        box-shadow: 0 4px 14px rgba(0,0,0,.09);
    }

/* ── Card header ─────────────────────────────────────────────── */
.ew-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f8f9fb;
    border-bottom: 1px solid #eaecf0;
    cursor: pointer;
    user-select: none;
    flex-wrap: wrap;
    gap: 8px;
}

    .ew-card-header:hover {
        background: #eef2f9;
    }

.ew-card-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Avatar circle */
.ew-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1d4ed8;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: -.5px;
}

.ew-emp-name {
    font-weight: 700;
    color: #1a1d23;
    font-size: 13px;
    cursor: text; /* shows text cursor on hover */
    user-select: text; /* enables text selection */
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.ew-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f8f9fb;
    border-bottom: 1px solid #eaecf0;
    user-select: none; /* prevent accidental selection of pills/meta */
    flex-wrap: wrap;
    gap: 8px;
}

    /* Name element overrides header's user-select: none */
    .ew-card-header .ew-emp-name {
        user-select: text !important;
        -webkit-user-select: text !important;
        cursor: text !important;
    }

/* Clickable zone — the left meta area (avatar + company + supervisor)
   but NOT the name itself */
.ew-card-header-clickzone {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

    .ew-card-header-clickzone:hover {
        opacity: .85;
    }

/* Chevron — the main toggle target */
.ew-chevron {
    font-size: 13px;
    color: #9ca3af;
    transition: transform .22s;
    flex-shrink: 0;
    cursor: pointer;
    padding: 4px 6px; /* larger hit area */
    border-radius: 4px;
}

    .ew-chevron:hover {
        background: #e5e7eb;
        color: #374151;
    }

    .ew-chevron.open {
        transform: rotate(180deg);
    }


.ew-emp-meta {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ew-meta-chip {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-size: 10px;
    font-weight: 600;
    color: #374151;
    padding: 1px 7px;
    border-radius: 4px;
}

    .ew-meta-chip.billable {
        background: #d1fae5;
        border-color: #6ee7b7;
        color: #064e3b;
    }

    .ew-meta-chip.nb {
        background: #f3e8ff;
        border-color: #ddd6fe;
        color: #4c1d95;
    }

/* Header pills */
.ew-hpills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.ew-hpill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.hp-exp {
    background: #fef3c7;
    color: #92400e;
}

.hp-rev {
    background: #d1fae5;
    color: #064e3b;
}

.hp-prof {
    background: #d1fae5;
    color: #064e3b;
}

.hp-loss {
    background: #fee2e2;
    color: #7f1d1d;
}

.hp-even {
    background: #f3f4f6;
    color: #374151;
}

.hp-days-pos {
    background: #ecfdf5;
    color: #065f46;
    font-size: 10px;
}

.hp-days-neg {
    background: #fff1f2;
    color: #7f1d1d;
    font-size: 10px;
}

.ew-chevron {
    font-size: 13px;
    color: #9ca3af;
    transition: transform .22s;
    flex-shrink: 0;
}

    .ew-chevron.open {
        transform: rotate(180deg);
    }

/* ── Card body 2-col grid ────────────────────────────────────── */
.ew-card-body {
    display: grid;
    grid-template-columns: 270px 1fr;
}

    .ew-card-body.ew-collapsed {
        display: none;
    }

/* ── Left panel ──────────────────────────────────────────────── */
.ew-left {
    padding: 14px;
    border-right: 1px solid #eaecf0;
    background: #fdfdfe;
}

.ew-sec-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
    margin-top: 4px;
}

/* Employee info block */
.ew-emp-info {
    margin-bottom: 12px;
}

.ew-emp-info-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    font-size: 12px;
    color: #374151;
    border-bottom: 1px dashed #f3f4f6;
}

    .ew-emp-info-row:last-child {
        border-bottom: none;
    }

    .ew-emp-info-row i {
        color: #9ca3af;
        font-size: 11px;
        width: 14px;
        text-align: center;
    }

    .ew-emp-info-row a {
        color: #1d4ed8;
        cursor: pointer;
        font-size: 11px;
        font-weight: 600;
    }

        .ew-emp-info-row a:hover {
            text-decoration: underline;
        }

/* Linked tags */
.ew-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0 10px;
}

.ew-tag {
    background: #e0f2fe;
    color: #0c4a6e;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
}

/* Metrics 2-col */
.ew-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-bottom: 12px;
}

.ew-metric {
    background: #f3f4f6;
    border-radius: 7px;
    padding: 8px 10px;
}

    .ew-metric.full {
        grid-column: span 2;
    }

.ew-metric-lbl {
    font-size: 10px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 2px;
}

.ew-metric-val {
    font-size: 15px;
    font-weight: 800;
}

.mv-amber {
    color: #b45309;
}

.mv-green {
    color: #065f46;
}

.mv-red {
    color: #991b1b;
}

.mv-gray {
    color: #374151;
}

.mv-blue {
    color: #1e40af;
}

/* Days stat mini row */
.ew-days-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-bottom: 12px;
}

.ew-day-stat {
    border-radius: 7px;
    padding: 6px 10px;
    text-align: center;
}

.ew-day-stat-pos {
    background: #ecfdf5;
}

.ew-day-stat-neg {
    background: #fff1f2;
}

.ew-day-stat-lbl {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
}

.ew-day-stat-val {
    font-size: 17px;
    font-weight: 800;
    margin-top: 1px;
}

.dv-pos {
    color: #065f46;
}

.dv-neg {
    color: #991b1b;
}

/* Expense breakdown table */
.ew-btable {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

    .ew-btable thead th {
        font-size: 10px;
        font-weight: 700;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: .04em;
        padding: 5px 6px;
        border-bottom: 1px solid #eaecf0;
        text-align: left;
    }

        .ew-btable thead th.r {
            text-align: right;
        }

    .ew-btable tbody td {
        padding: 5px 6px;
        border-bottom: 1px solid #f3f4f6;
        color: #374151;
    }

        .ew-btable tbody td.r {
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

    .ew-btable tbody tr:last-child td {
        border-bottom: none;
    }

.ew-status-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
}

.sb-reg {
    background: #dbeafe;
    color: #1e3a8a;
}

.sb-ot1 {
    background: #fef9c3;
    color: #713f12;
}

.sb-ot2 {
    background: #fef3c7;
    color: #92400e;
}

.sb-ot3 {
    background: #ffedd5;
    color: #7c2d12;
}

.sb-nb {
    background: #f3e8ff;
    color: #4c1d95;
}

.sb-abs {
    background: #fee2e2;
    color: #7f1d1d;
}

.sb-oh {
    background: #e0f2fe;
    color: #0c4a6e;
}

.ew-btable tfoot td {
    padding: 5px 6px;
    font-size: 11px;
    border-top: 1px solid #d1d5db;
}

    .ew-btable tfoot td.r {
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

.ft-exp {
    color: #92400e;
    font-weight: 800;
}

.ft-rev {
    color: #064e3b;
    font-weight: 800;
}

.ft-prof {
    color: #065f46;
    font-weight: 800;
}

.ft-loss {
    color: #7f1d1d;
    font-weight: 800;
}

/* NB note */
.ew-nb-note {
    font-size: 10px;
    margin-top: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 5px;
    padding: 5px 8px;
}

    .ew-nb-note i {
        margin-right: 3px;
        font-size: 10px;
    }

/* ── Right panel ─────────────────────────────────────────────── */
.ew-right {
    padding: 14px;
    overflow-x: auto;
}

/* ── Date rows table ─────────────────────────────────────────── */
.ew-dtable {
    width: 100%;
    border-collapse: collapse;
    min-width: 660px;
}

    .ew-dtable thead th {
        font-size: 10px;
        font-weight: 700;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: .04em;
        padding: 7px 10px;
        background: #f8f9fb;
        border-bottom: 2px solid #e5e7eb;
        text-align: left;
        white-space: nowrap;
    }

        .ew-dtable thead th.r {
            text-align: right;
        }

    .ew-dtable tbody td {
        padding: 7px 10px;
        border-bottom: 1px solid #f3f4f6;
        vertical-align: middle;
        font-size: 12px;
        color: #1f2937;
    }

        .ew-dtable tbody td.r {
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

    .ew-dtable tbody tr:last-child td {
        border-bottom: none;
    }

    .ew-dtable tbody tr:hover td {
        background: #f0f5ff;
    }

/* Date cell */
.ew-date-main {
    font-weight: 700;
    color: #1f2937;
    font-size: 12px;
    white-space: nowrap;
}

.ew-date-day {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 1px;
}

/* Job status chip */
.ew-jchip {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    white-space: nowrap;
}

.jc-job {
    background: #d1fae5;
    color: #064e3b;
}

.jc-leave {
    background: #fef3c7;
    color: #92400e;
}

.jc-absent {
    background: #fee2e2;
    color: #7f1d1d;
}

.jc-nb {
    background: #f3e8ff;
    color: #4c1d95;
    border: 1px solid #ddd6fe;
}

/* P&L */
.pnl-pos {
    color: #065f46;
    font-weight: 800;
}

.pnl-neg {
    color: #7f1d1d;
    font-weight: 800;
}

.pnl-zer {
    color: #374151;
    font-weight: 600;
}

/* Abs cost */
.ew-abs {
    color: #b91c1c;
    font-weight: 700;
}

/* Hours */
.ew-hrs {
    font-size: 11px;
    color: #1f2937;
    white-space: nowrap;
}

.ew-hrs-ot {
    display: block;
    font-size: 10px;
    color: #b45309;
    margin-top: 1px;
}

/* Remarks */
.ew-remarks {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.6;
}

/* No data */
.ew-nodata {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: 14px;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 10px;
}

    .ew-nodata i {
        font-size: 2rem;
        display: block;
        margin-bottom: 8px;
        color: #d1d5db;
    }

/* Profit/Loss row striping */
.ew-dtable tbody tr.row-loss td {
    background: #fff8f8;
}

.ew-dtable tbody tr.row-prof td {
    background: #f8fff9;
}

/* ── Reset inside tab ───────────────────────────────────────── */
.dw-wrap *, .dw-wrap *::before, .dw-wrap *::after {
    box-sizing: border-box;
}

/* ── Wrapper ────────────────────────────────────────────────── */
.dw-wrap {
    padding: 16px 0;
    font-family: 'Segoe UI', sans-serif;
}

/* ── Overall summary bar ────────────────────────────────────── */
.dw-summary-bar {
    display: flex;
    align-items: stretch;
    gap: 10px;
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.dw-summary-bar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

    .dw-summary-bar-title i {
        color: #e05c2a;
        font-size: 17px;
    }

    .dw-summary-bar-title h3 {
        font-size: 14px;
        font-weight: 700;
        color: #1b1f27;
        margin: 0;
    }

    .dw-summary-bar-title span {
        font-size: 11px;
        color: #6b7280;
        margin-top: 2px;
        display: block;
    }

.dw-sum-divider {
    width: 1px;
    background: #eaecf0;
    align-self: stretch;
}

.dw-sum-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 14px;
    min-width: 120px;
}

.dw-sum-stat-label {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.dw-sum-stat-value {
    font-size: 17px;
    font-weight: 800;
}

    .dw-sum-stat-value.amber {
        color: #b45309;
    }

    .dw-sum-stat-value.green {
        color: #065f46;
    }

    .dw-sum-stat-value.red {
        color: #991b1b;
    }

    .dw-sum-stat-value.blue {
        color: #1e40af;
    }

/* ── Day card ───────────────────────────────────────────────── */
.dw-day-card {
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    transition: box-shadow .2s;
}

    .dw-day-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,.09);
    }

/* ── Day card header ────────────────────────────────────────── */
.dw-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1.25rem;
    background: #f8f9fb;
    border-bottom: 1px solid #eaecf0;
    user-select: none;
    flex-wrap: nowrap; /* prevent wrapping so pills stay right */
    gap: 10px;
    cursor: default;
}

    .dw-day-header:hover {
        background: #eef2f9;
    }

.dw-day-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1; /* grows to fill available space */
    min-width: 0; /* allows text truncation if needed */
}

.dw-day-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0; /* never shrinks — always stays on right */
}

.dw-day-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e05c2a;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dw-day-ph-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    background: #ede9fe;
    color: #5b21b6;
    margin-left: 4px;
}

.dw-day-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1d23;
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
    display: inline;
}
.dw-day-header .dw-day-name {
    user-select: text !important;
    -webkit-user-select: text !important;
    cursor: text !important;
}


.dw-day-sub {
    font-size: 11px;
    color: #6b7280;
    margin-top: 1px;
}

.dw-day-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    cursor: pointer;
}

.dw-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.pill-exp {
    background: #fef3c7;
    color: #92400e;
}

.pill-rev {
    background: #d1fae5;
    color: #064e3b;
}

.pill-prof {
    background: #d1fae5;
    color: #064e3b;
}

.pill-loss {
    background: #fee2e2;
    color: #7f1d1d;
}

.pill-even {
    background: #f3f4f6;
    color: #374151;
}

/* Sub meta */
.dw-day-sub {
    cursor: pointer;
}

/* Index bubble */
.dw-day-num {
    cursor: pointer;
}

.dw-chevron {
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

    .dw-chevron:hover {
        background: #e5e7eb;
        color: #374151;
    }

    .dw-chevron.open {
        transform: rotate(180deg);
    }

/* ── Day body 2-col grid ────────────────────────────────────── */
.dw-day-body {
    display: grid;
    grid-template-columns: 270px 1fr;
}

    .dw-day-body.dw-collapsed {
        display: none;
    }

/* ── Left panel ─────────────────────────────────────────────── */
.dw-left {
    padding: 14px 14px;
    border-right: 1px solid #eaecf0;
    background: #fdfdfe;
    max-height: 520px;
    overflow-y: auto;
}

.dw-table-scroll {
    overflow-y: auto;
    overflow-x: auto;
    max-height: 460px; /* ~10 rows visible, rest scrolls */
}

.dw-sec-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
    margin-top: 4px;
}

/* ── 3 metric cards ─────────────────────────────────────────── */
.dw-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-bottom: 12px;
}

.dw-metric {
    background: #f3f4f6;
    border-radius: 7px;
    padding: 8px 10px;
}

    .dw-metric.full {
        grid-column: span 2;
    }

.dw-metric-lbl {
    font-size: 10px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 2px;
}

.dw-metric-val {
    font-size: 15px;
    font-weight: 800;
}

.mv-amber {
    color: #b45309;
}

.mv-green {
    color: #065f46;
}

.mv-red {
    color: #991b1b;
}

.mv-gray {
    color: #374151;
}

/* ── Expense breakdown table ────────────────────────────────── */
.dw-btable {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

    .dw-btable thead th {
        font-size: 10px;
        font-weight: 700;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: .04em;
        padding: 5px 6px;
        border-bottom: 1px solid #eaecf0;
        text-align: left;
    }

        .dw-btable thead th.r {
            text-align: right;
        }

    .dw-btable tbody td {
        padding: 5px 6px;
        border-bottom: 1px solid #f3f4f6;
        color: #374151;
    }

        .dw-btable tbody td.r {
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

    .dw-btable tbody tr:last-child td {
        border-bottom: none;
    }

    .dw-btable .dw-status-badge {
        display: inline-block;
        font-size: 10px;
        font-weight: 700;
        padding: 1px 6px;
        border-radius: 4px;
    }

.sb-reg {
    background: #dbeafe;
    color: #1e3a8a;
}

.sb-ot1 {
    background: #fef9c3;
    color: #713f12;
}

.sb-ot2 {
    background: #fef3c7;
    color: #92400e;
}

.sb-ot3 {
    background: #ffedd5;
    color: #7c2d12;
}

.sb-nb {
    background: #f3e8ff;
    color: #4c1d95;
}

.sb-abs {
    background: #fee2e2;
    color: #7f1d1d;
}

.sb-oh {
    background: #e0f2fe;
    color: #0c4a6e;
}

/* Totals footer inside btable */
.dw-btable tfoot td {
    padding: 5px 6px;
    font-size: 11px;
    border-top: 1px solid #d1d5db;
}

    .dw-btable tfoot td.r {
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

.ft-exp {
    color: #92400e;
    font-weight: 800;
}

.ft-rev {
    color: #064e3b;
    font-weight: 800;
}

.ft-prof {
    color: #065f46;
    font-weight: 800;
}

.ft-loss {
    color: #7f1d1d;
    font-weight: 800;
}

/* ── NB note ────────────────────────────────────────────────── */
.dw-nb-note {
    font-size: 10px;
    margin-top: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 5px;
    padding: 5px 8px;
}

    .dw-nb-note i {
        margin-right: 3px;
        font-size: 10px;
    }

/* ── Right panel ────────────────────────────────────────────── */
.dw-right {
    padding: 14px;
    overflow-x: auto;
}

/* ── Employee table ─────────────────────────────────────────── */
.dw-etable {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

    .dw-etable thead th {
        font-size: 10px;
        font-weight: 700;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: .04em;
        padding: 7px 10px;
        background: #f8f9fb;
        border-bottom: 2px solid #e5e7eb;
        text-align: left;
        white-space: nowrap;
    }

        .dw-etable thead th.r {
            text-align: right;
        }

    .dw-etable tbody td {
        padding: 7px 10px;
        border-bottom: 1px solid #f3f4f6;
        vertical-align: top;
        font-size: 12px;
        color: #1f2937;
    }

        .dw-etable tbody td.r {
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

    .dw-etable tbody tr:last-child td {
        border-bottom: none;
    }

    .dw-etable tbody tr:hover td {
        background: #f0f5ff;
    }

/* Employee name link */
.dw-ename {
    font-weight: 700;
    color: #1d4ed8;
    cursor: pointer;
    font-size: 12px;
    display: block;
}

    .dw-ename:hover {
        text-decoration: underline;
    }

/* Job status chip */
.dw-jchip {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    white-space: nowrap;
}

.jc-job {
    background: #d1fae5;
    color: #064e3b;
}

.jc-leave {
    background: #fef3c7;
    color: #92400e;
}

.jc-absent {
    background: #fee2e2;
    color: #7f1d1d;
}

.jc-nb {
    background: #f3e8ff;
    color: #4c1d95;
    border: 1px solid #ddd6fe;
}

/* P&L colors */
.pnl-pos {
    color: #065f46;
    font-weight: 800;
}

.pnl-neg {
    color: #7f1d1d;
    font-weight: 800;
}

.pnl-zer {
    color: #374151;
    font-weight: 600;
}

/* Abs cost */
.dw-abs-cost {
    color: #b91c1c;
    font-weight: 700;
}

/* Hours cell */
.dw-hrs {
    font-size: 11px;
    color: #1f2937;
    white-space: nowrap;
}

.dw-hrs-ot {
    display: block;
    font-size: 10px;
    color: #b45309;
    margin-top: 1px;
}

/* Remarks */
.dw-remarks {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.6;
}

/* No data */
.dw-nodata {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: 14px;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 10px;
}

    .dw-nodata i {
        font-size: 2rem;
        display: block;
        margin-bottom: 8px;
        color: #d1d5db;
    }

.rev-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 16px;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    flex-wrap: wrap;
}

.rev-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    background: #f9fafb;
    color: #374151;
    transition: all .2s;
    font-family: 'Segoe UI', sans-serif;
    outline: none;
    white-space: nowrap;
}

    .rev-toggle-btn:hover {
        background: #f3f4f6;
        border-color: #cbd5e1;
    }

    .rev-toggle-btn.active {
        background: #fef3c7;
        border-color: #fcd34d;
        color: #92400e;
    }

        .rev-toggle-btn.active:hover {
            background: #fde68a;
        }

    .rev-toggle-btn .fa-toggle-on {
        font-size: 17px;
        color: #d97706;
    }

    .rev-toggle-btn .fa-toggle-off {
        font-size: 17px;
        color: #9ca3af;
    }

.rev-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.rev-status {
    font-size: 11px;
    color: #6b7280;
    font-family: 'Segoe UI', sans-serif;
}

    .rev-status strong {
        color: #d97706;
    }

.rev-active-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fef9c3;
    border: 1px solid #fcd34d;
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
}

.rev-tab-chip {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.et-wrap *, .et-wrap *::before, .et-wrap *::after {
    box-sizing: border-box;
}

.et-wrap {
    padding: 16px 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 13px;
}

/* ── Summary bar ─────────────────────────────────────────────*/
.et-summary-bar {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.et-sum-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

    .et-sum-title i {
        color: #0891b2;
        font-size: 17px;
    }

    .et-sum-title h3 {
        font-size: 13px;
        font-weight: 700;
        color: #1b1f27;
        margin: 0;
    }

    .et-sum-title span {
        font-size: 11px;
        color: #6b7280;
        display: block;
        margin-top: 1px;
    }

.et-sum-div {
    width: 1px;
    background: #eaecf0;
    align-self: stretch;
}

.et-sum-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 12px;
    min-width: 110px;
}

.et-sum-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.et-sum-val {
    font-size: 16px;
    font-weight: 800;
}

.esv-teal {
    color: #164e63;
}

.esv-amber {
    color: #92400e;
}

.esv-green {
    color: #065f46;
}

/* ── Timeline container ──────────────────────────────────────*/
.et-timeline {
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

/* ── Step row ────────────────────────────────────────────────*/
.et-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 16px;
    border-bottom: 1px solid #f3f4f6;
    transition: background .15s;
}

    .et-step:last-child {
        border-bottom: none;
    }

    .et-step:hover {
        background: #f8faff;
    }

/* Step index bubble */
.et-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Step icon */
.et-step-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Step text */
.et-step-text {
    flex: 1;
    font-size: 12px;
    line-height: 1.6;
    padding-top: 4px;
    word-break: break-word;
}

/* ── Row type styles ─────────────────────────────────────────*/

/* Start row */
.et-step.et-start-row {
    background: #f0fdf4;
}

    .et-step.et-start-row .et-step-num {
        background: #bbf7d0;
        color: #14532d;
    }

    .et-step.et-start-row .et-step-icon {
        background: #d1fae5;
        color: #065f46;
    }

.et-start {
    color: #065f46;
    font-weight: 700;
}

/* End row */
.et-step.et-end-row {
    background: #f0f9ff;
}

    .et-step.et-end-row .et-step-num {
        background: #bae6fd;
        color: #0c4a6e;
    }

    .et-step.et-end-row .et-step-icon {
        background: #e0f2fe;
        color: #0369a1;
    }

.et-end {
    color: #0369a1;
    font-weight: 700;
}

/* Employee processing row */
.et-step.et-emp-row {
    background: #fffbeb;
}

    .et-step.et-emp-row .et-step-num {
        background: #fde68a;
        color: #92400e;
    }

    .et-step.et-emp-row .et-step-icon {
        background: #fef3c7;
        color: #d97706;
    }

.et-emp {
    color: #92400e;
    font-weight: 600;
}

/* Timing row */
.et-step.et-timing-row {
    background: #faf5ff;
}

    .et-step.et-timing-row .et-step-num {
        background: #e9d5ff;
        color: #4c1d95;
    }

    .et-step.et-timing-row .et-step-icon {
        background: #ede9fe;
        color: #6d28d9;
    }

.et-timing {
    color: #5b21b6;
    font-weight: 500;
}

/* Status row */
.et-step.et-status-row {
    background: #ecfdf5;
}

    .et-step.et-status-row .et-step-num {
        background: #a7f3d0;
        color: #065f46;
    }

    .et-step.et-status-row .et-step-icon {
        background: #d1fae5;
        color: #059669;
    }

.et-status {
    color: #047857;
    font-weight: 600;
}

/* Default row */
.et-step.et-default-row {
}

.et-default {
    color: #374151;
}

/* ── Legend ──────────────────────────────────────────────────*/
.et-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 16px;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

.et-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: #6b7280;
    font-weight: 600;
}

.et-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── No data ─────────────────────────────────────────────────*/
.et-nodata {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 10px;
}

    .et-nodata i {
        font-size: 2rem;
        display: block;
        margin-bottom: 8px;
        color: #d1d5db;
    }

.error-alert-wrapper {
    margin: 12px 0 18px 0;
}

.error-alert-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fff4f4;
    border: 1px solid #ffb3b3;
    border-left: 5px solid #e53935;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    animation: softBlink 2s infinite;
}

.error-alert-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #e53935;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.error-alert-title {
    font-size: 16px;
    font-weight: 700;
    color: #c62828;
    margin-bottom: 4px;
}

.error-alert-message {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
}

@keyframes softBlink {
    0% {
        box-shadow: 0 0 0 rgba(229,57,53,0.15);
    }

    50% {
        box-shadow: 0 0 12px rgba(229,57,53,0.22);
    }

    100% {
        box-shadow: 0 0 0 rgba(229,57,53,0.15);
    }
}

/* Mobile Responsive */
@media(max-width:768px) {

    .error-alert-box {
        align-items: flex-start;
        padding: 12px;
        gap: 10px;
    }

    .error-alert-title {
        font-size: 14px;
    }

    .error-alert-message {
        font-size: 12px;
    }

    .error-alert-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 15px;
    }
}

/* ============================================
   CSS Variables & Base Styles
============================================ */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0b5ed7;
    --success-color: #198754;
    --success-dark: #15a34a;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-primary);
}

/* ============================================
   Page Wrapper
============================================ */
.induction-page-wrapper {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
    min-height: 100vh;
    padding: 20px;
}

.induction-page-header {
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.induction-page-header h3 {
    color: var(--text-primary);
    font-size: 28px;
    margin: 0 0 12px 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: -0.5px;
}

.induction-page-header h3 i {
    font-size: 32px;
    color: var(--primary-color);
}

.induction-page-header .text-muted {
    color: var(--text-secondary);
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}

/* ============================================
   Stepper Wrapper
============================================ */
.stepper-wrapper {
    background: #fff;
    padding: 40px 20px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stepper-progress {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    position: relative;
    padding: 0 10px 12px;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
}

    .stepper-progress::before {
        content: '';
        position: absolute;
        top: 25px;
        left: 70px;
        right: 70px;
        height: 2px;
        background: var(--border-color);
        z-index: 0;
    }

    .stepper-progress li {
        position: relative;
        text-align: center;
        flex: 0 0 140px;
        min-width: 140px;
        cursor: pointer;
        z-index: 1;
        transition: var(--transition);
    }

        .stepper-progress li .step-circle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: #fff;
            border: 2px solid var(--border-color);
            border-radius: 50%;
            color: var(--text-secondary);
            font-weight: 700;
            font-size: 16px;
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
        }

        .stepper-progress li.active .step-circle {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            color: #fff;
            border-color: var(--primary-color);
            transform: scale(1.2);
            box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
        }

        .stepper-progress li.completed .step-circle {
            background: linear-gradient(135deg, var(--success-color) 0%, var(--success-dark) 100%);
            color: #fff;
            border-color: var(--success-color);
            box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
        }

        .stepper-progress li .step-label {
            font-size: 13px;
            margin-top: 12px;
            display: block;
            color: var(--text-secondary);
            font-weight: 600;
            max-width: 140px;
            margin-left: auto;
            margin-right: auto;
            white-space: normal;
            overflow: visible;
            text-overflow: unset;
            line-height: 1.4;
            min-height: 36px;
            transition: var(--transition);
        }

        .stepper-progress li.active .step-label {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 14px;
        }

        .stepper-progress li.completed .step-label {
            color: var(--success-color);
            font-weight: 700;
        }
/* ============================================
   Step Container
============================================ */
.step-container {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.step-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.step-header strong {
    font-size: 18px;
    color: var(--text-primary);
    flex: 1;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.step-header.completed-bg {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-dark) 100%);
    color: #fff;
    border-color: var(--success-color);
}

.step-header.completed-bg strong {
    color: #fff;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.step-header.completed-bg .step-num {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: none;
}

.check-icon {
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
    animation: slideIn 0.4s ease;
}

/* ============================================
   Step Body
============================================ */
.step-body {
    padding: 35px;
    background: #fff;
    color: var(--text-primary);
    line-height: 1.7;
}

.media-container {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.media-container:hover {
    box-shadow: var(--shadow-md);
}

.media-container video,
.media-container iframe {
    display: block;
    background: #000;
    width: 100%;
}

.img-preview {
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.img-preview:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Description & Instruction Boxes
============================================ */
.description-box,
.instruction-box {
    border-radius: 10px;
    padding: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-left: 4px solid var(--primary-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.description-box:hover,
.instruction-box:hover {
    box-shadow: var(--shadow-md);
}

.description-header,
.instruction-header {
    padding: 15px 20px;
    background: linear-gradient(90deg, rgba(13, 110, 253, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.description-header i,
.instruction-header i {
    color: var(--primary-color);
    font-size: 18px;
}

.description-content,
.instruction-content {
    padding: 18px 20px;
}

.description-content p,
.instruction-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.instruction-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instruction-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 0;
    transition: var(--transition);
}

.instruction-list li:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.instruction-list li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: 700;
    min-width: 20px;
    font-size: 16px;
}

/* ============================================
   Buttons
============================================ */
.btn-step {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(25, 135, 84, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-step:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
}

.btn-step:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-step:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-navigate-external {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 18px 25px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-navigate-external:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.btn-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    min-width: 24px;
}

.btn-content {
    flex: 1;
    text-align: left;
}

.btn-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 3px;
}

.btn-subtitle {
    font-size: 13px;
    opacity: 0.9;
}

.btn-arrow {
    font-size: 18px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.btn-navigate-external:hover .btn-arrow {
    transform: translateX(5px);
}

/* ============================================
   Step Footer
============================================ */
.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    border-top: 1px solid var(--border-color);
    gap: 15px;
}

.step-progress-text {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-footer .btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 600;
}

/* ============================================
   Welcome Section
============================================ */
.induction-welcome {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 70vh;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 50px 20px;
    animation: fadeIn 0.8s ease;
    margin: 20px 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.induction-welcome::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.induction-welcome::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.induction-content {
    max-width: 550px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.induction-image {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
    animation: bounce 3s ease-in-out infinite;
}

.induction-welcome h2 {
    font-size: 38px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.induction-welcome h2 span {
    color: #ffd700;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.induction-welcome .subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 500;
}

.btn-start {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    font-size: 16px;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-start:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

/* ============================================
   Completion Section
============================================ */
.induction-complete {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 70vh;
    text-align: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 16px;
    padding: 50px 20px;
    animation: fadeIn 0.8s ease;
    margin: 20px 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.induction-complete::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.completion-card {
    background: #fff;
    padding: 45px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 480px;
    width: 100%;
    border-top: 5px solid var(--success-color);
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.completion-icon {
    font-size: 70px;
    color: var(--success-color);
    margin-bottom: 25px;
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.completion-card h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.completion-card h2 span {
    color: var(--primary-color);
    font-weight: 800;
}

.completion-card .subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 500;
}

.completion-summary {
    margin-bottom: 30px;
    font-size: 15px;
    color: var(--text-primary);
    text-align: center;
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-dark) 100%);
    color: #fff;
    padding: 18px;
    border-radius: 10px;
    font-weight: 600;
}

.completion-summary p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.completion-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.completion-actions .btn-secondary,
.completion-actions .btn-primary {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.completion-actions .btn-secondary {
    background: var(--light-bg);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.completion-actions .btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.completion-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.3);
}

.completion-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* ============================================
   Animations
============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   Responsive Design
============================================ */
@media (max-width: 1024px) {
    .stepper-progress li .step-label {
        max-width: 110px;
        font-size: 12px;
    }

    .step-body {
        padding: 25px;
    }

    .step-header {
        padding: 20px 25px;
    }
}

@media (max-width: 768px) {
    .induction-page-wrapper {
        padding: 15px;
    }

    .induction-page-header {
        padding: 20px;
        margin-bottom: 20px;
    }

    .induction-page-header h3 {
        font-size: 22px;
        gap: 10px;
    }

    .induction-page-header h3 i {
        font-size: 26px;
    }

    .stepper-wrapper {
        padding: 25px 15px;
    }

    .stepper-progress::before {
        left: 40px;
        right: 40px;
    }

    .stepper-progress li .step-circle {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .stepper-progress li .step-label {
        font-size: 11px;
        max-width: 90px;
        margin-top: 10px;
    }

    .step-container {
        margin: 15px 0;
    }

    .step-header {
        padding: 18px 20px;
        flex-wrap: wrap;
    }

    .step-num {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .step-header strong {
        font-size: 16px;
    }

    .step-body {
        padding: 20px;
    }

    .step-footer {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }

    .step-footer .btn {
        width: 100%;
    }

    .step-progress-text {
        font-size: 12px;
    }

    .completion-actions {
        flex-direction: column;
        gap: 12px;
    }

    .completion-actions .btn-secondary,
    .completion-actions .btn-primary {
        max-width: 100%;
        width: 100%;
    }

    .induction-welcome,
    .induction-complete {
        min-height: auto;
        padding: 35px 20px;
    }

    .induction-welcome h2,
    .completion-card h2 {
        font-size: 26px;
    }

    .induction-content {
        max-width: 100%;
    }

    .completion-card {
        padding: 30px 20px;
    }

    .description-box,
    .instruction-box {
        margin-bottom: 20px;
    }

    .media-container {
        margin-bottom: 20px;
    }

    .btn-step,
    .btn-navigate-external {
        width: 100%;
        justify-content: center;
    }

    .instruction-list li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .induction-page-wrapper {
        padding: 10px;
    }

    .induction-page-header {
        padding: 15px;
    }

    .induction-page-header h3 {
        font-size: 18px;
    }

    .stepper-wrapper {
        padding: 15px;
    }

    .stepper-progress {
        flex-wrap: wrap;
        gap: 15px;
    }

    .stepper-progress::before {
        display: none;
    }

    .stepper-progress li {
        flex: 0 1 calc(33.333% - 10px);
        margin-bottom: 10px;
    }

    .stepper-progress li .step-circle {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }

    .stepper-progress li .step-label {
        font-size: 10px;
        max-width: 80px;
        margin-top: 8px;
    }

    .step-container {
        border-radius: 8px;
    }

    .step-header {
        padding: 15px;
        gap: 10px;
    }

    .step-header strong {
        font-size: 14px;
    }

    .step-num {
        width: 32px;
        height: 32px;
    }

    .step-body {
        padding: 15px;
    }

    .step-footer {
        padding: 12px 15px;
    }

    .btn-step,
    .btn-navigate-external {
        padding: 11px 20px;
        font-size: 13px;
    }

    .completion-card {
        padding: 25px 15px;
        max-width: 100%;
    }

    .completion-icon {
        font-size: 50px;
    }

    .induction-welcome h2,
    .completion-card h2 {
        font-size: 20px;
    }

    .induction-welcome .subtitle,
    .completion-card .subtitle {
        font-size: 14px;
    }

    .description-box,
    .instruction-box {
        border-left-width: 3px;
    }

    .description-header,
    .instruction-header {
        padding: 12px 15px;
        font-size: 13px;
    }

    .instruction-list li {
        font-size: 13px;
        padding: 8px 0;
    }
}

/* ============================================
   Print Styles
============================================ */
@media print {
    .step-footer,
    .btn-start,
    .btn-step,
    .btn-navigate-external {
        display: none;
    }

    .induction-welcome,
    .induction-complete {
        display: none;
    }
}

.page-title {
    color: #d32f2f;
}

.text-dim {
    color: #6b7280;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* CARDS & SHADOWS */
.rounded {
    border-radius: 10px;
}

.shadow-soft {
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.shadow-hover {
    transition: transform .2s ease, box-shadow .2s ease;
}

    .shadow-hover:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(0,0,0,.12);
    }

/* SMALL UI */
.chip {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 999px;
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 700;
}

.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #4f46e5;
    border-radius: 50%;
    margin-right: 6px;
}

/* FILTER BOX */
.filter-box {
    border: 1px solid #e6e8ec;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

/* ANIMATIONS */
.animated-supervisor {
    transition: opacity .9s ease-in-out, transform .5s ease;
}

.ng-hide-add, .ng-hide-remove {
    transition: opacity .9s ease-in-out, transform .5s ease;
}

.ng-hide {
    opacity: 0;
    transform: translateY(10px);
}

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* SUPERVISOR PANEL */
.supervisor-panel {
    border-radius: 10px;
    border: 1px solid #e6e8ec;
    overflow: hidden;
    background: #fff;
}

    .supervisor-panel .panel-heading {
        background: #f5f7ff;
        border-bottom: 1px solid #e6e8ec;
        padding: 12px 16px;
    }

/* AVATAR / PHOTO */
.avatar, .avatar-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,#6b46c1,#8b5cf6);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(15,23,42,0.08);
}

.avatar {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    font-size: 34px;
}

.avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 14px;
    font-size: 40px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

.supervisor-photo, .supervisor-photo-lg {
    width: 140px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid rgba(26,35,126,0.08);
    box-shadow: 0 6px 18px rgba(15,23,42,0.05);
}

.supervisor-photo-lg {
    border-width: 4px;
    border-radius: 14px;
}

/* CLIENT CARDS */
.client-col {
    margin-bottom: 12px;
}

.client-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    padding: 12px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease;
    overflow: hidden;
}

    .client-card.shadow-hover:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0,0,0,.10);
    }

.sno {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 6px;
}

/* TITLE clamp to 2 lines */
.client-title {
    margin: 6px 0 10px;
    font-weight: 700;
    color: #1a237e;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    min-height: 2.4em;
}

.client-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.client-footer {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.client-row {
    font-size: 13px;
    color: #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px dashed #eef0f3;
    color: inherit !important;
    text-decoration: none;
}

/* STAT PILLS */
.stat-pill {
    display: inline-block;
    min-width: 64px;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    border: 1px solid transparent;
    margin-left: 8px;
}

.stat-pending {
    background: #fff4e5;
    color: #8b5a00;
    border-color: #ffe3bf;
}

.stat-draft {
    background: #fff8db;
    color: #7a6200;
    border-color: #ffefac;
}

.stat-done {
    background: #eef2ff;
    color: #4338ca;
    border-color: #e0e7ff;
}

/* SUPERVISOR HEADER */
.supervisor-header {
    padding: 10px 6px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.supervisor-meta {
    padding-left: 6px;
    margin-top:20px;
}

.supervisor-name {
    margin: 0;
    font-size: 14px;
    color: #1a237e;
    font-weight: 700;
    white-space: normal; /* ensures wrapping */
    word-break: break-word; /* breaks long words if needed */
}


.supervisor-role {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.supervisor-subinfo {
    font-size: 12px;
    color: #8a8f9b;
    margin-top: 4px;
}

/* COUNTDOWN CHIP */
.countdown-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f7fbff;
    border: 1px solid rgba(26,35,126,0.06);
    min-width: 150px;
    text-align: right;
}

.countdown-title {
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
}

.countdown-value {
    font-size: 18px;
    font-weight: 800;
    color: #1a237e;
}

/* CONTROLS */
.header-controls {
    display: inline-flex;
    gap: 6px;
    margin-top: 8px;
}

.btn-round {
    border-radius: 8px;
    padding: 6px 8px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-xs {
    font-size: 12px;
}

.pause-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 700;
}

    .pause-btn .fa {
        font-size: 14px;
    }

/* RESPONSIVE (merged) */
@@media (max-width: 991px) {
    .supervisor-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .kpi-grid, .kpi-grid-large {
        justify-content: flex-start;
    }

    .countdown-chip {
        min-width: 130px;
    }

    .supervisor-photo-lg, .avatar-lg {
        width: 140px;
        height: 96px;
        border-radius: 12px;
    }

    .kpi-card-lg {
        width: 120px;
        height: 108px;
    }
}

@@media (max-width: 767px) {
    .kpi-card {
        width: 100px;
        height: 100px;
    }

    .supervisor-photo, .avatar {
        width: 64px;
        height: 64px;
        border-radius: 10px;
    }

    .supervisor-name {
        font-size: 15px;
    }

    .client-title {
        -webkit-line-clamp: 2;
        min-height: 2.6em;
    }

    .stat-pill {
        min-width: 56px;
        padding: 4px 6px;
        font-size: 12px;
    }
}

@@media (max-width: 575px) {
    .supervisor-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .kpi-grid-large {
        justify-content: flex-start;
        gap: 10px;
    }

    .countdown-chip {
        min-width: auto;
        align-self: stretch;
        text-align: left;
    }
}

/* utilities */
.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

/* SETTINGS PANEL */
.settings-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 400px;
    height: 100%;
    background: #fff;
    border-left: 1px solid #ccc;
    padding: 15px;
    z-index: 1050;
    box-shadow: -3px 0 8px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
}

    .settings-panel.open {
        right: 0;
    }

    .settings-panel.closed {
        right: -400px;
    }

.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1049;
}

/* Aging Filter Modal */
.small-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 2000;
}

.small-modal {
    position: fixed;
    top: 28%;
    left: 80%;
    transform: translateX(-50%);
    width: 380px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    z-index: 2001;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #333;
    animation: fadeIn .25s ease-out;
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    border-radius: 8px 8px 0 0;
}

    .modal-head .title {
        font-size: 14px;
        font-weight: 600;
        color: #555;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

    .modal-head .close {
        background: none;
        border: none;
        font-size: 18px;
        color: #888;
        cursor: pointer;
        transition: color .2s;
    }

        .modal-head .close:hover {
            color: #333;
        }

.modal-body {
    padding: 12px 26px;
    font-size: 13px;
}

.lbl {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
    font-size: 12px;
}

.chk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
    font-size: 13px;
    cursor: pointer;
}

.date-input {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    width: 180px;
}

.small-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.small-select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
}

.modal-foot {
    display: flex;
    justify-content: flex-end;
    padding: 10px 14px;
    border-top: 1px solid #eee;
    background: #fafafa;
    border-radius: 0 0 8px 8px;
}

.ok-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

    .ok-btn:hover {
        background: #0069d9;
    }

/* KPI / Aging — improved styles */
.kpi-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 6px 8px;
}

/* KPI card base */
.kpi-card {
    border: 1px solid rgba(220,223,230,0.9);
    padding: 12px 18px;
    border-radius: 10px;
    min-width: 140px;
    max-width: 220px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 6px 20px rgba(2,6,23,0.05);
    transition: transform .16s ease, box-shadow .16s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: inherit !important;
    text-decoration: none;
}

    .kpi-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(2,6,23,0.09);
    }

/* icon, title, value */
.kpi-icon {
    font-size: 18px;
    color: #4f46e5;
    margin-bottom: 6px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(79,70,229,0.08);
}

.kpi-title {
    font-size: 13px;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.kpi-value {
    font-size: 20px;
    font-weight: 800;
    color: #1a237e;
    min-width: 40px;
}

/* Color variants (apply to .kpi-card) — pick per card */
.kpi-card.theme-1 {
    background: linear-gradient(135deg,#E6FFFA 0%, #BFF3E8 100%);
    color: #03302a;
    border-color: rgba(0,48,42,0.06);
}

.kpi-card.theme-2 {
    background: linear-gradient(135deg,#FFF7ED 0%, #FFD8A8 100%);
    color: #3b2a10;
    border-color: rgba(60,40,10,0.06);
}

.kpi-card.theme-3 {
    background: linear-gradient(135deg,#EEF2FF 0%, #D6DBFF 100%);
    color: #0b1b66;
    border-color: rgba(10,20,80,0.06);
}

.kpi-card.theme-4 {
    background: linear-gradient(135deg,#FFFBEA 0%, #FFF1B8 100%);
    color: #3b2f00;
    border-color: rgba(60,50,0,0.06);
}

.kpi-card.theme-5 {
    background: linear-gradient(135deg,#F0FFF4 0%, #CFF7E1 100%);
    color: #05302a;
    border-color: rgba(0,45,35,0.06);
}

/* container that mixes KPI and aging inline */
.kpi-with-aging {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

/* Aging inline row */
.aging-row {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 6px 0;
}

/* Aging item */
.aging-item {
    min-width: 96px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(2,6,23,0.04);
    transition: transform .15s ease, box-shadow .15s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    cursor: default;
}

    /* subtle hover lift */
    .aging-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 32px rgba(2,6,23,0.07);
    }

.aging-item-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 2px;
    text-align: center;
}

.aging-item-value {
    font-size: 16px;
    font-weight: 800;
    color: #1a237e;
}

/* Accent backgrounds for aging bands — apply accent-X classes or use ng-class with $index */
.aging-item.accent-0 {
    background: linear-gradient(135deg,#FFF0F6 0%, #FFD6E8 100%);
    color: #3b142b;
}

.aging-item.accent-1 {
    background: linear-gradient(135deg,#FFF7ED 0%, #FFE2B8 100%);
    color: #4a2f00;
}

.aging-item.accent-2 {
    background: linear-gradient(135deg,#E8FBFF 0%, #BEEAF7 100%);
    color: #003241;
}

.aging-item.accent-3 {
    background: linear-gradient(135deg,#F0FFF4 0%, #CFF7E1 100%);
    color: #063226;
}

.aging-item.accent-4 {
    background: linear-gradient(135deg,#F3E8FF 0%, #E6D3FF 100%);
    color: #2b0f4a;
}

/* small helper subtitle inside aging area (optional) */
.aging-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-left: 8px;
}

/* Responsive: allow wrapping on small screens */
@@media (max-width: 700px) {
    .aging-row {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .aging-item {
        min-width: 84px;
        padding: 8px 10px;
    }

    .kpi-card {
        min-width: 120px;
        padding: 10px 12px;
    }

    .kpi-value {
        font-size: 18px;
    }
}

/* narrower phones */
@@media (max-width: 560px) {
    .kpi-card {
        min-width: 96px;
        padding: 8px 10px;
        border-radius: 8px;
    }

    .kpi-title {
        font-size: 12px;
    }

    .kpi-value {
        font-size: 16px;
    }

    .aging-item {
        min-width: 76px;
        padding: 6px 8px;
        font-size: 13px;
        border-radius: 8px;
    }
}

/* Main header layout */
.supervisor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 0;
    width: 100%;
}

/* LEFT block */
.supervisor-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

/* CENTER block */
.supervisor-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* RIGHT block */
.supervisor-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 180px;
}

.legend-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    background: #fff;
}

.legend-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.legend-square {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 6px;
    display: inline-block;
}

.legend-pending {
    background: #ffeb3b;
}

.legend-complete {
    background: #4caf50;
}

.legend-help {
    font-size: 11px;
    color: #666;
    margin-left: 18px;
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30%;
}

.filter-info-box {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 6px;
    font-size: 1.25rem;
    font-weight: 700;
    background: #d9edf7; /* matches alert-info */
    border: 1px solid #bce8f1;
}
.profile-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}



.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 96px;
    height: 96px;
    background: rgba(0,0,0,.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.page-title {
    color: #d32f2f;
}

.text-dim {
    color: #6b7280;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* CARDS & SHADOWS */
.rounded {
    border-radius: 10px;
}

.shadow-soft {
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.shadow-hover {
    transition: transform .2s ease, box-shadow .2s ease;
}

    .shadow-hover:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(0,0,0,.12);
    }

/* SMALL UI */
.chip {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 999px;
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 700;
}

.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #4f46e5;
    border-radius: 50%;
    margin-right: 6px;
}

/* FILTER BOX */
.filter-box {
    border: 1px solid #e6e8ec;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

/* ANIMATIONS */
.animated-supervisor {
    transition: opacity .9s ease-in-out, transform .5s ease;
}

.ng-hide-add, .ng-hide-remove {
    transition: opacity .9s ease-in-out, transform .5s ease;
}

.ng-hide {
    opacity: 0;
    transform: translateY(10px);
}

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* SUPERVISOR PANEL */
.supervisor-panel {
    border-radius: 10px;
    border: 1px solid #e6e8ec;
    overflow: hidden;
    background: #fff;
}

    .supervisor-panel .panel-heading {
        background: #f5f7ff;
        border-bottom: 1px solid #e6e8ec;
        padding: 12px 16px;
    }

/* AVATAR / PHOTO */
.avatar, .avatar-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,#6b46c1,#8b5cf6);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(15,23,42,0.08);
}

.avatar {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    font-size: 34px;
}

.avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 14px;
    font-size: 40px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

.supervisor-photo, .supervisor-photo-lg {
    width: 140px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid rgba(26,35,126,0.08);
    box-shadow: 0 6px 18px rgba(15,23,42,0.05);
}

.supervisor-photo-lg {
    border-width: 4px;
    border-radius: 14px;
}

/* CLIENT CARDS */
.client-col {
    margin-bottom: 12px;
}

.client-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    padding: 12px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease;
    overflow: hidden;
}

    .client-card.shadow-hover:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0,0,0,.10);
    }

.sno {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 6px;
}

/* TITLE clamp to 2 lines */
.client-title {
    margin: 6px 0 10px;
    font-weight: 700;
    color: #1a237e;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    min-height: 2.4em;
}

.client-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.client-footer {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.client-row {
    font-size: 13px;
    color: #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px dashed #eef0f3;
    color: inherit !important;
    text-decoration: none;
}

/* STAT PILLS */
.stat-pill {
    display: inline-block;
    min-width: 64px;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    border: 1px solid transparent;
    margin-left: 8px;
}

.stat-pending {
    background: #fff4e5;
    color: #8b5a00;
    border-color: #ffe3bf;
}

.stat-draft {
    background: #fff8db;
    color: #7a6200;
    border-color: #ffefac;
}

.stat-done {
    background: #eef2ff;
    color: #4338ca;
    border-color: #e0e7ff;
}

/* SUPERVISOR HEADER */
.supervisor-header {
    padding: 10px 6px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.supervisor-meta {
    padding-left: 6px;
}

.supervisor-name {
    margin: 0;
    font-size: 14px;
    color: #1a237e;
    font-weight: 700;
    white-space: normal; /* ensures wrapping */
    word-break: break-word; /* breaks long words if needed */
}


.supervisor-role {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.supervisor-subinfo {
    font-size: 12px;
    color: #8a8f9b;
    margin-top: 4px;
}

/* COUNTDOWN CHIP */
.countdown-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f7fbff;
    border: 1px solid rgba(26,35,126,0.06);
    min-width: 150px;
    text-align: right;
}

.countdown-title {
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
}

.countdown-value {
    font-size: 18px;
    font-weight: 800;
    color: #1a237e;
}

/* CONTROLS */
.header-controls {
    display: inline-flex;
    gap: 6px;
    margin-top: 8px;
}

.btn-round {
    border-radius: 8px;
    padding: 6px 8px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-xs {
    font-size: 12px;
}

.pause-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 700;
}

    .pause-btn .fa {
        font-size: 14px;
    }

/* RESPONSIVE (merged) */
@@media (max-width: 991px) {
    .supervisor-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .kpi-grid, .kpi-grid-large {
        justify-content: flex-start;
    }

    .countdown-chip {
        min-width: 130px;
    }

    .supervisor-photo-lg, .avatar-lg {
        width: 140px;
        height: 96px;
        border-radius: 12px;
    }

    .kpi-card-lg {
        width: 120px;
        height: 108px;
    }
}

@@media (max-width: 767px) {
    .kpi-card {
        width: 100px;
        height: 100px;
    }

    .supervisor-photo, .avatar {
        width: 64px;
        height: 64px;
        border-radius: 10px;
    }

    .supervisor-name {
        font-size: 15px;
    }

    .client-title {
        -webkit-line-clamp: 2;
        min-height: 2.6em;
    }

    .stat-pill {
        min-width: 56px;
        padding: 4px 6px;
        font-size: 12px;
    }
}

@@media (max-width: 575px) {
    .supervisor-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .kpi-grid-large {
        justify-content: flex-start;
        gap: 10px;
    }

    .countdown-chip {
        min-width: auto;
        align-self: stretch;
        text-align: left;
    }
}

/* utilities */
.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

/* SETTINGS PANEL */
.settings-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 400px;
    height: 100%;
    background: #fff;
    border-left: 1px solid #ccc;
    padding: 15px;
    z-index: 1050;
    box-shadow: -3px 0 8px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
}

    .settings-panel.open {
        right: 0;
    }

    .settings-panel.closed {
        right: -400px;
    }

.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1049;
}

/* Aging Filter Modal */
.small-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 2000;
}

.small-modal {
    position: fixed;
    top: 28%;
    left: 80%;
    transform: translateX(-50%);
    width: 380px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    z-index: 2001;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #333;
    animation: fadeIn .25s ease-out;
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    border-radius: 8px 8px 0 0;
}

    .modal-head .title {
        font-size: 14px;
        font-weight: 600;
        color: #555;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

    .modal-head .close {
        background: none;
        border: none;
        font-size: 18px;
        color: #888;
        cursor: pointer;
        transition: color .2s;
    }

        .modal-head .close:hover {
            color: #333;
        }

.modal-body {
    padding: 12px 26px;
    font-size: 13px;
}

.lbl {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
    font-size: 12px;
}

.chk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
    font-size: 13px;
    cursor: pointer;
}

.date-input {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    width: 180px;
}

.small-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.small-select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
}

.modal-foot {
    display: flex;
    justify-content: flex-end;
    padding: 10px 14px;
    border-top: 1px solid #eee;
    background: #fafafa;
    border-radius: 0 0 8px 8px;
}

.ok-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

    .ok-btn:hover {
        background: #0069d9;
    }

/* KPI / Aging — improved styles */
.kpi-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 6px 8px;
}

/* KPI card base */
.kpi-card {
    border: 1px solid rgba(220,223,230,0.9);
    padding: 12px 18px;
    border-radius: 10px;
    min-width: 140px;
    max-width: 220px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 6px 20px rgba(2,6,23,0.05);
    transition: transform .16s ease, box-shadow .16s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: inherit !important;
    text-decoration: none;
}

    .kpi-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(2,6,23,0.09);
    }

/* icon, title, value */
.kpi-icon {
    font-size: 18px;
    color: #4f46e5;
    margin-bottom: 6px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(79,70,229,0.08);
}

.kpi-title {
    font-size: 13px;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.kpi-value {
    font-size: 20px;
    font-weight: 800;
    color: #1a237e;
    min-width: 40px;
}

/* Color variants (apply to .kpi-card) — pick per card */
.kpi-card.theme-1 {
    background: linear-gradient(135deg,#E6FFFA 0%, #BFF3E8 100%);
    color: #03302a;
    border-color: rgba(0,48,42,0.06);
}

.kpi-card.theme-2 {
    background: linear-gradient(135deg,#FFF7ED 0%, #FFD8A8 100%);
    color: #3b2a10;
    border-color: rgba(60,40,10,0.06);
}

.kpi-card.theme-3 {
    background: linear-gradient(135deg,#EEF2FF 0%, #D6DBFF 100%);
    color: #0b1b66;
    border-color: rgba(10,20,80,0.06);
}

.kpi-card.theme-4 {
    background: linear-gradient(135deg,#FFFBEA 0%, #FFF1B8 100%);
    color: #3b2f00;
    border-color: rgba(60,50,0,0.06);
}

.kpi-card.theme-5 {
    background: linear-gradient(135deg,#F0FFF4 0%, #CFF7E1 100%);
    color: #05302a;
    border-color: rgba(0,45,35,0.06);
}

/* container that mixes KPI and aging inline */
.kpi-with-aging {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

/* Aging inline row */
.aging-row {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 6px 0;
}

/* Aging item */
.aging-item {
    min-width: 96px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(2,6,23,0.04);
    transition: transform .15s ease, box-shadow .15s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    cursor: default;
}

    /* subtle hover lift */
    .aging-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 32px rgba(2,6,23,0.07);
    }

.aging-item-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 2px;
    text-align: center;
}

.aging-item-value {
    font-size: 16px;
    font-weight: 800;
    color: #1a237e;
}

/* Accent backgrounds for aging bands — apply accent-X classes or use ng-class with $index */
.aging-item.accent-0 {
    background: linear-gradient(135deg,#FFF0F6 0%, #FFD6E8 100%);
    color: #3b142b;
}

.aging-item.accent-1 {
    background: linear-gradient(135deg,#FFF7ED 0%, #FFE2B8 100%);
    color: #4a2f00;
}

.aging-item.accent-2 {
    background: linear-gradient(135deg,#E8FBFF 0%, #BEEAF7 100%);
    color: #003241;
}

.aging-item.accent-3 {
    background: linear-gradient(135deg,#F0FFF4 0%, #CFF7E1 100%);
    color: #063226;
}

.aging-item.accent-4 {
    background: linear-gradient(135deg,#F3E8FF 0%, #E6D3FF 100%);
    color: #2b0f4a;
}

/* small helper subtitle inside aging area (optional) */
.aging-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-left: 8px;
}

/* Responsive: allow wrapping on small screens */
@@media (max-width: 700px) {
    .aging-row {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .aging-item {
        min-width: 84px;
        padding: 8px 10px;
    }

    .kpi-card {
        min-width: 120px;
        padding: 10px 12px;
    }

    .kpi-value {
        font-size: 18px;
    }
}

/* narrower phones */
@@media (max-width: 560px) {
    .kpi-card {
        min-width: 96px;
        padding: 8px 10px;
        border-radius: 8px;
    }

    .kpi-title {
        font-size: 12px;
    }

    .kpi-value {
        font-size: 16px;
    }

    .aging-item {
        min-width: 76px;
        padding: 6px 8px;
        font-size: 13px;
        border-radius: 8px;
    }
}

/* Main header layout */
.supervisor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 0;
    width: 100%;
}

/* LEFT block */
.supervisor-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

/* CENTER block */
.supervisor-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* RIGHT block */
.supervisor-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 180px;
}

.legend-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    background: #fff;
}

.legend-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.legend-square {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 6px;
    display: inline-block;
}

.legend-pending {
    background: #ffeb3b;
}

.legend-complete {
    background: #4caf50;
}

.legend-help {
    font-size: 11px;
    color: #666;
    margin-left: 18px;
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30%;
}

.filter-info-box {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 6px;
    font-size: 1.25rem;
    font-weight: 700;
    background: #d9edf7; /* matches alert-info */
    border: 1px solid #bce8f1;
}

/* match your existing supervisor-photo size */
.profile-wrapper {
    position: relative;
    display: inline-block;
}

/* corner floating button */
.photo-toggle-btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,.65);
    color: #fff;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

    .photo-toggle-btn:hover {
        transform: scale(1.08);
        background: rgba(0,0,0,.82);
    }

    .photo-toggle-btn i {
        font-size: 14px;
    }

    /* hover effect */
    .image-overlay-view:hover {
        background: rgba(15, 23, 42, 0.72);
        transform: scale(1.02);
    }

/* inner content */
.overlay-content {
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .3px;
}

    /* icon */
    .overlay-content i {
        font-size: 24px;
        margin-bottom: 10px;
        display: block;
    }

    /* text */
    .overlay-content span {
        display: block;
    }
.container .btn-group .active {
    background-color: cornflowerblue;
    color: white;
}

.custom-border1 {
    border: 1px solid lightgrey;
    padding: 5px
}

.custom-border {
    /* border: 2px solid #ccc;*/ /* Border style and color */
    padding: 10px; /* Add some padding for spacing */
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
}

    .custom-border .col-xs-2,
    .custom-border .col-xs-4 {
        margin-bottom: 10px; /* Add margin bottom to space out the columns */
    }

.top-label {
    display: block;
    margin-bottom: 5px; /* Spacing between label and input */
    font-weight: normal;
}

.container {
    margin: 0 auto;
    width: auto;
}

/*.form-wrapper {
        background-color: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        padding: 30px;
    }*/

.form-content {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}


.input-group-addon {
    border-color: #07cdff;
}
    /* Add styles for input group icons */
    .input-group-addon i {
        font-size: 18px; /* Adjust the icon size */
    }

        .input-group-addon i.fa-user {
            color: #007bff; /* Change icon color for user icon */
        }

        .input-group-addon i.fa-hand-pointer-o {
            color: #dc3545; /* Change icon color for hand pointer icon */
        }

        .input-group-addon i.fa-barcode {
            color: #28a745; /* Change icon color for barcode icon */
        }

        .input-group-addon i.fa-user-times {
            color: #ffc107; /* Change icon color for user times icon */
        }

        /* Add color for envelope icon */
        .input-group-addon i.fa-envelope {
            color: #4e73df; /* Change color for envelope icon */
        }

        /* Add color for code icon */
        .input-group-addon i.fa-code {
            color: #1cc88a; /* Change color for code icon */
        }

        .input-group-addon i.fa-edit {
            color: #ff8c16; /* Change color for edit icon */
        }


.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Add margin between each checkbox group */
}

    .checkbox-wrapper input[type="checkbox"] {
        margin-right: 10px; /* Adjust spacing between checkbox and label */
        width: 24px; /* Set width */
        height: 24px; /* Set height */
    }


.form-check-label {
    margin-top: 10px;
}

.thead-custom {
    background-color: #337ab7; /* Set your desired color */
    color: #fff; /* Set text color to white */
}

.table-striped tbody tr.table-row-hover:hover {
    background-color: #f5f5f5; /* Set your desired lighter color */
}

.custom-addon {
    background-color: white; /* Set background color to white */
    border-right: none; /* Remove right-side border */
}

.custom-input {
    border-left: none; /* Remove left-side border */
}

.ui-tab-text {
    font-family: system-ui;
    font-style: oblique;
    font-weight: bolder;
   /* font-variant-caps: all-small-caps;*/
}

body {
    margin-top: 20px;
    background: #FAFAFA;
}

.order-card {
    color: #fff;
}

.bg-c-blue {
    background: linear-gradient(45deg,#4099ff,#73b4ff);
}

.bg-c-green {
    background: linear-gradient(45deg,#2ed8b6,#59e0c5);
}

.bg-c-yellow {
    background: linear-gradient(45deg,#FFB64D,#ffcb80);
}

.bg-c-pink {
    background: linear-gradient(45deg,#FF5370,#ff869a);
}


.card {
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2.94px 0.06px rgba(4,26,55,0.16);
    box-shadow: 0 1px 2.94px 0.06px rgba(4,26,55,0.16);
    border: none;
    margin-bottom: 30px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

    .card .card-block {
        padding: 25px;
    }

.order-card i {
    font-size: 26px;
}

.f-left {
    float: left;
}

.f-right {
    float: right;
}

.show-result {
    margin: 10px;
    padding: 10px;
    color: green;
    font-size: 20px;
}

.star-rating s:hover,
.star-rating s.active {
    color: red;
   
}

.star-rating-rtl s:hover,
.star-rating-rtl s.active {
    color: red;
}

.star-rating s,
.star-rating-rtl s {
    color: black;
    font-size: 50px;
    cursor: default;
    text-decoration: none;
    line-height: 50px;
}

.star-rating {
    padding: 2px;
}

.star-rating-rtl {
    background: #555;
    display: inline-block;
    border: 2px solid #444;
}

    .star-rating-rtl s {
        color: yellow;
    }

.star-rating s:hover:before,
.star-rating s.rated:before,
.star-rating s.active:before {
    content: "\2605";
}

.star-rating s:before {
    content: "\2606";
}

.star-rating-rtl s:hover:after,
.star-rating-rtl s.rated:after,
.star-rating-rtl s.active:after {
    content: "\2605";
}

.star-rating-rtl s:after {
    content: "\2606";
}

.audit-log-detail-view h3.form-section{margin-top:5px}.audit-log-detail-view .form-group{margin-bottom:0}.audit-log-detail-view .form-group p.form-control-static{margin:0}.audit-log-detail-view .form-group .control-label{font-weight:bold}
body {
}

/***
Login page
***/
/* bg color */
.login {
    background-color: #ECF0F1 /*#ED1C24 #364150*/ !important;
}

    .login .logo {
        margin: 0 auto;
        margin-top: 30px;
        padding: 15px;
        text-align: center;
        background-color: transparent;
        /*background-color: lightcoral;*/
        color: darkmagenta;
        font-family: 'Book Antiqua';
        font-size: 48px;
        font-weight: 400 !important;
        position: relative;
        /*left: 900px;*/
    }

    .login .imagechange {
        position:center;
         margin-left: 100px;
         height:250px;
         width:1200px;
    }
    .login .menustyle
    {
        position:relative;
        margin-right:900px;
    }


.card {
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin: auto;
    text-align: center;
    font-family: arial;
}
.card button {
    border: none;
    outline: 0;
    padding: 12px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
}

    .card button:hover {
        opacity: 0.7;
    }


#boxshadow {
    position: relative;
    -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
    -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
    box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
    padding: 10px;
    background: white;
}

    /* Make the image fit the box */
    #boxshadow img {
        width: 100%;
        border: 1px solid #8a4419;
        border-style: inset;
    }

    #boxshadow::after {
        content: '';
        position: absolute;
        z-index: -1; /* hide shadow behind image */
        -webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
        box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
        width: 70%;
        left: 15%; /* one half of the remaining 30% */
        height: 100px;
        bottom: 0;
    }

/*.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 100;
    max-width: 300px;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.card-title {
    margin-bottom: 0.75rem;
}

.card-text:last-child {
    margin-bottom: 0;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}*/

