﻿
.panel {
    max-width: 1100px;
    margin: 10px auto 15px auto;
}

.chart-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    width: 100%;
}

.node-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #1ba0e1;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 114, 188, 0.12);
    z-index: 2;
}

.drop-icon {
    width: 22px;
    height: 22px;
    background: var(--blue, #0072bc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

    .drop-icon svg {
        width: 13px;
        height: 13px;
        fill: currentColor;
    }

.node-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--blue-dark, #0D3E70);
    white-space: nowrap;
}

.line-v {
    width: 2px;
    height: 20px;
    background: #0072bc;
}

/* Tree Branch Levels */
.branch-level3 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    margin-top: 20px;
    padding-top: 20px;
}

    /* Connecting Horizontal Top Line */
    .branch-level3::before {
        content: '';
        position: absolute;
        top: 0;
        left: 16%;
        right: 16%;
        height: 2px;
        background: #0072bc;
    }

    /* Center Vertical Line from General Manager to Split */
    .branch-level3::after {
        content: '';
        position: absolute;
        top: -20px;
        left: 50%;
        width: 2px;
        height: 20px;
        background: #0072bc;
    }

.sub-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

    .sub-branch::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 50%;
        width: 2px;
        height: 20px;
        background: #0072bc;
    }

.sub-tree-horizontal {
    display: flex;
    gap: 15px;
    position: relative;
    margin-top: 20px;
    padding-top: 15px;
}

    .sub-tree-horizontal::before {
        content: '';
        position: absolute;
        top: 0;
        left: 20%;
        right: 20%;
        height: 2px;
        background: #0072bc;
    }

    .sub-tree-horizontal::after {
        content: '';
        position: absolute;
        top: -15px;
        left: 50%;
        width: 2px;
        height: 15px;
        background: #0072bc;
    }

.sub-node-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

    .sub-node-item::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 50%;
        width: 2px;
        height: 15px;
        background: #0072bc;
    }

@media (max-width: 820px) {
    .branch-level3, .sub-tree-horizontal {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-top: 0;
        margin-top: 10px;
    }

        .branch-level3::before, .branch-level3::after,
        .sub-tree-horizontal::before, .sub-tree-horizontal::after,
        .sub-branch::before, .sub-node-item::before {
            display: none;
        }

    .node-container {
        width: 90%;
        justify-content: center;
    }
}
/* Managemnet close**/

                           /*Plumber css start*/
.plumber-table-wrap {
    overflow-x: auto;
    border: 1px solid #c3d5e5;
    border-radius: 4px;
}

.plumber-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

    .plumber-table th {
        background: var(--blue, #0072bc);
        color: #ffffff;
        padding: 10px;
        font-weight: 700;
        border: 1px solid #005c99;
        text-transform: uppercase;
    }

    .plumber-table td {
        padding: 8px 10px;
        border: 1px solid #dce5ec;
        color: #333;
    }

    .plumber-table tr:nth-child(even) {
        background: #f4f8fb;
    }

    .plumber-table tr:hover {
        background: #eaf3f9;
    }
/* 1. Main Content Box and Body Padding  */
.panel {
    margin: 5px auto 10px auto !important;
}

.box-body {
    padding: 8px 15px !important;
}

/* 2. Title Bar */
.title-bar {
    padding: 5px 10px !important;
    font-size: 0.95rem !important;
}

/* 3. Table Rows and Padding  */
.plumber-table th {
    padding: 6px 8px !important;
    font-size: 0.8rem !important;
}

.plumber-table td {
    padding: 5px 8px !important;
    font-size: 0.8rem !important;
}
/*Plumber css start*/
/* Notification css*/
.main-content-box {
    width: 100%;
}

.box-body {
    padding: 0;
}

/* Notification List */
.notif-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .notif-list li {
        padding: 12px 15px;
        border-bottom: 1px dashed #c3d5e5;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.9rem;
    }

        .notif-list li:last-child {
            border-bottom: none;
        }

        .notif-list li a {
            color: #0072bc;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease;
            flex: 1;
        }

            .notif-list li a:hover {
                color: #0d3e70;
                text-decoration: underline;
            }

/* New Badge */
.new-badge {
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    animation: blink 1.5s infinite;
    white-space: nowrap;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

/* Empty notification message */
.no-notification {
    padding: 20px;
    text-align: center;
    color: #777;
}
/**************************************************Notification CSS ENd*************************************************************************************************************/