/* =====================================
   BRAJABANDHU MEDHABRUTI 2026-27
   Primary Color: #01539f
===================================== */

/* Main section */
.container:has(.classic-title) .mid {
    background: #ffffff;
    padding: 28px;
    margin: 20px 0;
    border: 1px solid #e3ebf3;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(1, 83, 159, 0.07);
    color: #334155;
    font-family: "Segoe UI", Arial, sans-serif;
}


/* Breadcrumb Wrapper */
.custom-breadcrumb {
    background: #01539f;
    border-bottom: 1px solid #01539f;
    border-top: 3px solid #01539f;
    padding: 2px 0;
    margin-bottom: 0;
}

/* Breadcrumb List */
.custom-breadcrumb-list {
    background: transparent;
    border-radius: 0;
    padding: 2px 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
}

/* Breadcrumb Links */
.custom-breadcrumb-list li a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.custom-breadcrumb-list li a:hover {
    color: #000;
    text-decoration: underline;
}

/* Home Icon */
.custom-breadcrumb-list .fa-home {
    margin-right: 5px;
    font-size: 13px;
}

/* Separator */
.custom-breadcrumb-list>li+li:before {
    content: "\203A";
    color: #8b9db0;
    padding: 0 10px;
    font-size: 19px;
    vertical-align: -1px;
}

/* Active Page */
.custom-breadcrumb-list>.active {
    color: #fff;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .custom-breadcrumb {
        padding: 3px 12px;
        margin-bottom: 18px;
    }

    .custom-breadcrumb-list {
        padding: 9px 0;
        font-size: 12px;
        line-height: 1.9;
    }

    .custom-breadcrumb-list>li+li:before {
        padding: 0 6px;
    }
}


/* Main heading */
.classic-title {
    text-align: center;
    margin: 0 0 24px;
    padding: 18px 15px;
    background: #01539f;
    border-radius: 9px;
    border-left: 5px solid #f0b429;
}

.classic-title span {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 1.5;
    border: 0;
}

/* Subtitle */
.container:has(.classic-title) p[style*="text-align:center"] {
    color: #01539f;
    font-size: 16px;
    line-height: 1.8;
    margin: 12px 0 22px;
}

.container:has(.classic-title) p[style*="text-align:center"] strong {
    font-weight: 600;
}

/* Table */
.container:has(.classic-title) table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
    border: 1px solid #dbe5ef;
    border-radius: 9px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(1, 83, 159, 0.04);
}

/* Table cells */
.container:has(.classic-title) table td {
    padding: 13px 12px;
    border: none !important;
    border-bottom: 1px solid #e8eef5 !important;
    color: #334155;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

/* Table header */
.container:has(.classic-title) table tr:first-child td {
    background: #e8f1fa !important;
    color: #01539f !important;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 12px;
    border-bottom: 2px solid #c6daed !important;
}

/* Alternate row colors */
.container:has(.classic-title) table tr:nth-child(even):not(:first-child) td {
    background-color: #f7faff;
}

.container:has(.classic-title) table tr:nth-child(odd):not(:first-child) td {
    background-color: #ffffff;
}

/* Subtle hover */
.container:has(.classic-title) table tr:not(:first-child):hover td {
    background-color: #edf5fc !important;
}

/* Link buttons */
.container:has(.classic-title) table td a {
    display: inline-block;
    padding: 7px 13px;
    background: #01539f;
    color: #ffffff !important;
    border: 1px solid #01539f;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color 0.2s ease,
        border-color 0.2s ease;
}

/* Link hover */
.container:has(.classic-title) table td a:hover {
    background: #003d78;
    border-color: #003d78;
    color: #ffffff !important;
}

/* Link focus accessibility */
.container:has(.classic-title) table td a:focus-visible {
    outline: 2px solid #f0b429;
    outline-offset: 3px;
}

/* Link column */
.container:has(.classic-title) table td:first-child {
    width: 75px;
    color: #01539f;
    font-weight: 500;
}

/* District column */
.container:has(.classic-title) table td:nth-child(2) {
    font-weight: 400;
}

/* Last row */
.container:has(.classic-title) table tr:last-child td {
    border-bottom: none !important;
}

/* Tablet and mobile */
@media (max-width: 767px) {
    .container:has(.classic-title) .mid {
        padding: 14px 9px;
        margin: 12px 0;
        border-radius: 10px;
    }

    .classic-title {
        padding: 15px 10px;
        margin-bottom: 18px;
    }

    .classic-title span {
        font-size: 20px;
        font-weight: 600;
    }

    .container:has(.classic-title) table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    .container:has(.classic-title) table tr:first-child td {
        padding: 11px 5px;
        font-size: 12px;
    }

    .container:has(.classic-title) table td:first-child {
        width: 40px;
    }

    .container:has(.classic-title) table td a {
        padding: 7px 8px;
        font-size: 11px;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .container:has(.classic-title) .mid {
        padding: 10px 5px;
    }

    .classic-title span {
        font-size: 17px;
    }

    .container:has(.classic-title) table td {
        padding: 8px 4px;
        font-size: 14px;
    }

    .container:has(.classic-title) table td:first-child {
        width: 30px;
    }

    .container:has(.classic-title) table td a {
        padding: 6px;
        font-size: 10px;
    }
}