/* ================= AUTONOMY MENU OVERRIDES ================= */

/* NAVBAR */
.autonomy-navbar {
    background: linear-gradient(90deg, #08345f, #041f3d) !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25) !important;
    min-height: auto !important;
}

/* MENU LINKS */
.autonomy-navbar .navbar-nav > li > a {
    color: #ffffff !important;
    font-size: 12px !important;   /* 👈 LESS FONT */
    font-weight: 600 !important;
    padding: 12px 14px !important;  /* 👈 COMPACT */
    line-height: 1.4 !important;
    transition: all 0.25s ease !important;
}

/* HOVER / ACTIVE */
.autonomy-navbar .navbar-nav > li:hover > a,
.autonomy-navbar .navbar-nav > li.open > a {
    background: rgba(255,255,255,0.18) !important;
    color: #ffffff !important;
}

/* CARET */
.autonomy-navbar .caret {
    border-top-color: #ffffff !important;
}

/* DROPDOWN */
.autonomy-navbar .dropdown-menu {
    border-radius: 6px !important;
    border: none !important;
    padding: 6px 0 !important;
    min-width: 260px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25) !important;
}

/* DROPDOWN ITEMS */
.autonomy-navbar .dropdown-menu > li > a {
    font-size: 12px !important;   /* 👈 MATCH FONT */
    font-weight: 500 !important;
    color: #1f2933 !important;
    padding: 9px 18px !important;
    transition: all 0.25s ease !important;
}

/* DROPDOWN HOVER */
.autonomy-navbar .dropdown-menu > li > a:hover {
    background: #0b5ed7 !important;
    color: #ffffff !important;
    padding-left: 24px !important;
}

/* MOBILE TOGGLE */
.autonomy-navbar .navbar-toggle {
    border-color: #ffffff !important;
}
.autonomy-navbar .navbar-toggle .icon-bar {
    background-color: #ffffff !important;
}

/* CONTENT PANEL */
.autonomy-panel {
    margin-top: 25px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

@media (min-width: 1200px) {
    .autonomy-container {
        width: 1300px !important;
        max-width: 1300px !important;
    }
}

/* Mobile devices (phones) */
@media (max-width: 767px) {
    /* Dropdown menu links on mobile */
    .autonomy-navbar .dropdown-menu > li > a {
        font-size: 14px !important;      /* Slightly bigger for touch */
        font-weight: 500 !important;
        color: #eff3f7 !important;
        padding: 12px 20px !important;  /* More touch-friendly */
    }

    /* Optional: full-width dropdown on mobile */
    .autonomy-navbar .dropdown-menu {
        width: 100% !important;
    }

    /* Optional: increase navbar toggle button size */
    .autonomy-navbar .navbar-toggle {
        padding: 12px 10px !important;
    }

    .autonomy-navbar .navbar-toggle .icon-bar {
        background-color: #dadfe4 !important;
    }
}

/* ================= AUTONOMY CONTENT PANEL BEAUTIFICATION ================= */

.autonomy-content {
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 10px;
}

/* Header Box */
.autonomy-header-box {
    background: linear-gradient(135deg, #f4f8fc, #ffffff);
    border-left: 5px solid #08345f;
    padding: 1px 14px;
    margin-bottom: 30px;
    border-radius: 6px;
}

/* Title */
.autonomy-title {
    font-size: 22px;
    font-weight: 700;
    color: #08345f;
    margin-bottom: 4px;
}

/* Subtitle */
.autonomy-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

/* Divider */
.autonomy-divider {
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, #0b5ed7, #08345f);
    border-radius: 3px;
}

/* Content text */
.autonomy-text {
    font-size: 14px;
    line-height: 1.9;
    color: #1f2937;
}

/* Headings inside content */
.autonomy-text h1,
.autonomy-text h2,
.autonomy-text h3,
.autonomy-text h4 {
    margin-top: 30px;
    margin-bottom: 12px;
    color: #08345f;
    font-weight: 600;
    position: relative;
}

/* Decorative line for inner headings */
.autonomy-text h2::after,
.autonomy-text h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: #0b5ed7;
    margin-top: 6px;
    border-radius: 2px;
}

/* Lists */
.autonomy-text ul {
    padding-left: 20px;
}
.autonomy-text ul li {
    margin-bottom: 8px;
}

/* Tables */
.autonomy-text table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    font-size: 13px;
}
.autonomy-text table th {
    background: #08345f;
    color: #ffffff;
    padding: 10px;
}
.autonomy-text table td {
    padding: 10px;
    border: 1px solid #e5e7eb;
}

/* Links */
.autonomy-text a {
    color: #0b5ed7;
    font-weight: 500;
}
.autonomy-text a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 767px) {
    .autonomy-content {
        padding: 22px;
    }
    .autonomy-title {
        font-size: 19px;
    }
}

.autonomy-back-btn {
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 4px;
}


/* ===================== GLOBAL ===================== */

.autonomy-container {
    margin-top: 30px;
    margin-bottom: 50px;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

/* ===================== TABS ===================== */

.scheme-tabs .nav-tabs {
    border-bottom: 3px solid #0d6efd;
}

.scheme-tabs .nav-tabs > li > a {
    font-size: 15px;
    font-weight: 600;
    color: #0d6efd;
    padding: 12px 22px;
    border-radius: 6px 6px 0 0;
}

.scheme-tabs .nav-tabs > li.active > a,
.scheme-tabs .nav-tabs > li > a:hover {
    background: linear-gradient(135deg, #0d6efd, #084298);
    color: #fff !important;
    border: none;
}

/* ===================== SEMESTER CARD ===================== */

.scheme-panel {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-bottom: 18px;
    transition: transform 0.2s ease;
}

.scheme-panel:hover {
    transform: translateY(-2px);
}

/* ===================== PANEL HEADER ===================== */

.scheme-panel .panel-heading {
    background: linear-gradient(135deg, #0d6efd, #084298);
    color: #fff;
    padding: 14px 18px;
}

.scheme-panel .panel-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

/* ===================== DISABLED SEMESTER ===================== */

.scheme-panel .panel-heading.disabled {
    background: #f1f3f5;
    color: #6c757d;
}

.scheme-panel .panel-heading.disabled .panel-title::after {
    content: " 🔒";
    font-size: 14px;
}

/* ===================== PANEL BODY ===================== */

.scheme-panel .panel-body {
    background: #ffffff;
    padding: 15px 18px;
}

/* ===================== LIST ===================== */

.scheme-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.scheme-list li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px dashed #dee2e6;
}

.scheme-list li:last-child {
    border-bottom: none;
}

/* ===================== LINKS ===================== */

.scheme-list a {
    color: #0d6efd;
    font-weight: 500;
    text-decoration: none;
}

.scheme-list a:hover {
    color: #084298;
    text-decoration: underline;
}

/* ===================== DISABLED CONTENT ===================== */

.scheme-list.disabled {
    opacity: 0.55;
    pointer-events: none;
}

/* ===================== MOBILE ===================== */

@media (max-width: 768px) {
    .scheme-tabs .nav-tabs > li > a {
        font-size: 14px;
        padding: 10px 14px;
    }

    .scheme-panel .panel-title {
        font-size: 14px;
    }

    .scheme-list li {
        font-size: 13px;
    }
}
.breadcrumb-trail.breadcrumbs {
    background: #fafafa none repeat scroll 0 0;
    margin-bottom: 0px !important;
}


