/* Table Design Styles - Add your page node IDs below */
/* Example: .page-node-170, .page-node-175, etc. */
.page-node-68,
.page-node-170,
.page-node-187,
.page-node-164 {
    .table {
        width: 100%;
        border-collapse: collapse;
        background: #ffffff;
        box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
        border-radius: 8px;
        overflow: hidden;
        font-size: 14px;
    }

    .table thead {
        background-color: var(--primary-color, #2c5aa0);
    }

    .table th {
        background-color: var(--primary-color, #2c5aa0);
        color: #ffffff;
        font-weight: 600;
        font-size: 16px;
        padding: 15px 12px;
        /* text-align: center; */

    }

    .scroll-mobile {
        overflow-x: auto;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        border-radius: 10px;
        padding: 20px;
        margin: 20px 0px;
        display: block;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        white-space: nowrap;
        padding-bottom: 10px;
    }

    .scroll-mobile::-webkit-scrollbar {
        height: 5px;
    }

    .scroll-mobile::-webkit-scrollbar-track {
        background: #e6f4f9;
        border-radius: 10px;
    }

    .scroll-mobile::-webkit-scrollbar-thumb {
        background: #006b7a;
        border-radius: 10px;
    }

    .act-table {
        white-space: nowrap;
        /* columns stay in one line */
        scroll-snap-align: start;
    }

    .table th:last-child {
        border-right: none;
    }

    .table tbody {
        display: table-row-group;
    }

    .table tr {
        background-color: #f5f5f5;
        border-bottom: 1px solid #e0e0e0;
        transition: background-color 0.3s ease;
    }

    .table tr:hover {
        background-color: rgba(44, 90, 160, 0.1);
    }

    .table td {
        padding: 17px 17px;
        /* text-align: center; */
        /* border-right: 1px solid #e0e0e0; */
        vertical-align: middle;
        font-weight: 500;
        color: #444444;
        font-size: 14px;
    }

    .table td:last-child {
        border-right: none;
    }

    .table td strong {
        font-weight: 600;
        color: inherit;
    }

    /* Column grouping visual separation */
    .table td[colspan="3"] {
        border-right: 2px solid rgba(255, 255, 255, 0.3);
    }

    td:nth-child(2) {

        text-align: left;
    }

    /* Accessibility improvements */
    .table tr:focus-within {
        outline: 2px solid var(--primary-color, #2c5aa0);
        outline-offset: -2px;
    }

    /* Print styles */
    @media print {
        .table {
            box-shadow: none;
            border: 1px solid #000;
        }

        .table tr:hover {
            background-color: transparent;
        }

        .table td {
            border: 1px solid #000;
        }
    }
}

/*------------------------------- accordian css ----------------------------  */
.custom-accrodian .card {
    margin-bottom: 10px;
}

/* Accordion header link */
.custom-accrodian .card-header .btn-link {
    position: relative;
    padding-right: 40px;
    /* icon ke liye space */
    padding: 7px;
    font-size: 17px !important;
    display: block;
    text-decoration: none;
}

/* Right side icon */
.custom-accrodian .card-header .btn-link::after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    font-weight: bold;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    /* round icon */
    color: #0d6efd;
    transition: all 0.3s ease;
}

/* Jab accordion open ho */
.custom-accrodian .card-header .btn-link:not(.collapsed)::after {
    content: "−";
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

/* =============================tendar css ==================================== */
.tender-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px;
    margin: 0 auto;
    margin-bottom: 15px;
}

.tender-box li .message-item-info {
    padding: 25px 20px 60px;
}

.tender-box li .message-item-info h3 {
    font-weight: 500;
    font-size: 14px;
}

.tender-box li {
    background: #ffffff;
    position: relative;
    border: 1px solid #e0e0e0;
    text-align: center;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    counter-increment: doc-counter;
    transition: all .3s ease;
}

.tender-box li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

@media (min-width: 768px) and (max-width: 1199px) {
    .tender-box {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .tender-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .tender-box {
        grid-template-columns: repeat(1, 1fr);
    }
}
