﻿.ep-align-right {
    text-align: right !important;
}
/*added by rohit 02/03/2026. for ebs_Team_Board*/
/* The Card Cell */
.route-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 10px;
    min-width: 160px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-top: 4px solid #cbd5e0; /* Default Gray */
}

/* Status Logic */
.ontime {
    border-top-color: #48bb78;
    background-color: #f0fff4;
}

.late {
    border-top-color: #f56565;
    background-color: #fff5f5;
}

.delayed {
    border-top-color: #ed8936;
    background-color: #fffaf0;
}

/* Top Row: Time + DE Box */
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-display {
    display: flex;
    flex-direction: column;
}

.label-tiny {
    font-size: 1.2rem;
    font-weight: bold;
    color: #718096;
    padding-bottom: 4px;
}

.time-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
}

.delta-text {
    font-size: 1.2rem;
    font-weight: 400;
    color: #a0aec0;
}

/* The D/E Widget */
.de-widget {
    display: flex;
    gap: 8px;
    background: #edf2f7;
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.de-item {
    text-align: center;
    line-height: 1;
}

.de-label {
    font-size: 1rem;
    color: #3182ce; /* Blue label */
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
}

.de-num {
    font-size: 1rem;
    color: #9b2c2c; /* Dark Red number */
    font-weight: 800;
}

/* Exception Column Styling */
.ex-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
}

.ex-total {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2d3748;
}

.ex-grid {
    display: flex;
    justify-content: space-between;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ex-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    padding: 0 10px; /* add space from separator */
}

    .ex-item:last-child {
        border-right: none;
    }

.unresolved {
    color: red;
}
/*By simran For Testing*/
/* Container to keep everything inline and vertically centered */
.live-status-bar {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

/* Live Badge Styling */
.status-badge.live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #fff0f0;
    color: #d94f4f; /* Matches standard danger red */
    border: 1px solid #ebccd1;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.blink-dot {
    width: 8px;
    height: 8px;
    background-color: #d9534f;
    border-radius: 50%;
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Date, Time, and Cycle Text */
.status-info {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.info-text {
    color: #333;
}

.icon {
    font-size: 13px;
    margin: 0 4px;
}

/* Subtle vertical divider */
.separator {
    width: 1px;
    height: 18px;
    background-color: #ccc;
}

/* Button styled to match your existing blue UI buttons (Search/Clear) */
.btn-primary-outline {
    background-color: #fff;
    color: #337ab7; /* Matches your 'Search' button blue */
    border: 1px solid #337ab7;
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

    .btn-primary-outline:hover {
        background-color: #337ab7;
        color: #fff;
    }
/*end by rohit*/

/*css start by rohit for zpl builder*/
/*@keyframes itemOutlineFade {
  0% {*/
/*outline-color: rgba(0,120,215,0.2);*/
/*outline-color: hsla(var(--inx-primary), var(--inx-alpha-light));
  }
  50% {
    outline-color: hsla(var(--inx-primary), var(--inx-alpha-default));
  }
  100% {
    outline-color: hsla(var(--inx-primary), var(--inx-alpha-light));
  }
}*/
.item-selected {
    outline: 2px solid hsla(var(--inx-primary), var(--inx-alpha-default));
    outline-offset: -2px;
    /*animation: itemOutlineFade 1.4s ease-in-out infinite;*/
    background-color: rgba(0, 120, 215, 0.05);
    position: absolute;
    inset: 0;
}
/*@keyframes resizerGlow {
    0% {
        background: hsla(var(--inx-primary), var(--inx-alpha-light));
    }

    50% {
        background: hsla(var(--inx-primary), var(--inx-alpha-default));
    }

    100% {
        background: hsla(var(--inx-primary), var(--inx-alpha-light));
    }
}*/

.resizerBottom {
    position: absolute;
    width: 100%;
    height: 2px;
    background: hsla(var(--inx-primary), var(--inx-alpha-default));
    /* animation: resizerGlow 1.4s ease-in-out infinite;*/
    /*border-radius: 50%;*/
    /*left: calc(50% - 2px);*/
    bottom: -2px;
    cursor: n-resize;
    pointer-events: all;
    z-index: 999
}

.resizerBottomRight {
    position: absolute;
    width: 10px;
    height: 10px;
    background: hsla(var(--inx-primary), var(--inx-alpha-default));
    /*animation: resizerGlow 1.4s ease-in-out infinite;*/
    border-radius: 50%;
    right: -2px;
    bottom: -2px;
    cursor: nwse-resize;
    pointer-events: all;
    z-index: 999
}

.resizerRight {
    position: absolute;
    width: 2px;
    height: 100%;
    background: hsla(var(--inx-primary), var(--inx-alpha-default));
    /*animation: resizerGlow 1.4s ease-in-out infinite;*/
    /*border-radius: 50%;*/
    right: -2px;
    top: 0px;
    cursor: e-resize;
    pointer-events: all;
    z-index: 999
}

/* Horizontal */
.dim-horizontal {
    position: absolute;
    /*top: -25px;
    left: 10px;
    right: 10px;*/
    height: 20px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 10px;
}

    .dim-horizontal .line {
        flex: 1;
        height: 1px;
        background: black;
    }

    .dim-horizontal .arrow {
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
    }

    .dim-horizontal .left {
        border-right: 8px solid black;
    }

    .dim-horizontal .right {
        border-left: 8px solid black;
    }

.width-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 0px 6px;
    border-radius: 4px;
    width: max-content;
}

/* Vertical */
.dim-vertical {
    position: absolute;
    top: 5px;
    bottom: 10px;
    right: -21px;
    width: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 10px;
}

    .dim-vertical .line {
        flex: 1;
        width: 1px;
        background: black;
    }

    .dim-vertical .arrow {
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
    }

    .dim-vertical .top {
        border-bottom: 8px solid black;
    }

    .dim-vertical .bottom {
        border-top: 8px solid black;
    }

.height-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    background: #ffffff;
    padding: 0px 6px;
    border-radius: 4px;
    width: max-content;
}

.zpl-custom-menu {
    position: absolute;
    display: none;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 6px;
    z-index: 9999;
    min-width: 150px;
}

.zpl-menu-item {
    padding: 8px 12px;
    cursor: pointer;
}

.zpl-menu-item:hover {
    background: #f0f0f0;
}

/* Watermark */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.07;
}
/*css end by rohit for zpl builder*/

/*added by simran for midmark*/

/* =========================================
   1. CONTAINER & BOARD LAYOUT 
   ========================================= */
.kanban-main-wrapper {
    display: flex;
    flex-direction: column;
    padding: 10px;

    height: calc(100vh - 180px);
    width: 100%;
    overflow: hidden;
}

.hide-element {
    display: none !important;
}

.kpi-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.kpi-tile {
    background: white;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    border: 1px solid #d1d9e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


.kb-board-canvas {
    display: flex;
    gap: 20px;
    height: 100%;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
}

.kb-column {
    background-color: #f4f6f9;
 
    min-width: 380px;
    flex: 1;
    border-radius: 8px;
    border: 1px solid #d1d9e6;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kb-column-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 3px solid #d1d9e6; 
    border-radius: 8px 8px 0 0;
    font-size: 1.15rem;
    font-weight: 800; 
}

.kb-card-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto; 
    flex-grow: 1;
}

.kb-card {
    background: white;
    border-radius: 8px;
    padding: 18px; 
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    border-left: 7px solid #ccc; 
    flex-shrink: 0;
}


    .blocked-border, .kb-card.blocked-border {
        border-left-color: #d32f2f;
    }

    .active-border, .kb-card.active-border {
        border-left-color: #1976d2;
    }

    .move-border, .kb-card.move-border {
        border-left-color: #388e3c;
    }

    .complete-border, .kb-card.complete-border {
        border-left-color: #757575;
        opacity: 0.85;
    }

/* =========================================
   4. TEXT HIERARCHY 
   ========================================= */
.kb-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.kb-id {
    font-size: 1.35rem; 
    font-weight: 950; 
    color: #222;
}

.kb-serial {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.item-code {
    font-size: 1.2rem;
    font-weight: 900;
    color: #1a498b;
    margin-top: 10px;
}

.item-name {
    font-size: 1rem;
    color: #444;
    font-weight: 600;
    white-space: normal;
    line-height: 1.3;
}


.kb-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9; 
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    border: 1px solid #cbd5e1;
}

.meta-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 800;
}

.meta-val {
    font-size: 1.05rem;
    font-weight: 900;
    color: #1e293b;
}

.kb-dependency-alert {
    margin-top: 10px;
    padding: 10px;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
}

.alert-text {
    color: #d32f2f;
    font-size: 0.9rem;
    font-weight: 800;
}

/* Scrollbar Customization (Industrial look) */
.kb-card-list::-webkit-scrollbar {
    width: 8px;
}

.kb-card-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.active-tab {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-weight: 800;
    color: #1565c0;
}

.time-tab {
    color: #64748b;
    transition: all 0.2s;
}

    .time-tab:hover {
        color: #1e293b;
    }
.kb-metrics-container {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-left: 40px;
    margin-top: -10px;
}

.kb-metric-card {
    min-width: 170px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 18px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .kb-metric-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

.kb-metric-move {
    border-bottom: 4px solid #1d4ed8;
}

.kb-metric-build {
    border-bottom: 4px solid #15803d;
}

.kb-metric-block {
    border-bottom: 4px solid #b91c1c;
}

.kb-metric-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px; 
}

.kb-metric-value {
    font-size: 1.8rem; 
    font-weight: 900;
    line-height: 1.1;
}

.text-move {
    color: #1d4ed8;
}

.text-build {
    color: #15803d;
}

.text-block {
    color: #b91c1c;
}
