/* ==========================================================================
   SIKOBE theme — academic palette for the OBE curriculum management app.
   Loaded after volt.min.css so these rules take precedence.
   ========================================================================== */

:root {
    --sikobe-navy: #16335b;
    --sikobe-navy-dark: #0f2444;
    --sikobe-navy-deep: #0a1a33;
    --sikobe-teal: #14919b;
    --sikobe-teal-dark: #0e6f77;
    --sikobe-gold: #e8b93e;
    --sikobe-gold-dark: #c99a1e;
    --sikobe-red: #c0424e;
    --sikobe-red-dark: #a3323d;
    --sikobe-bg: #f5f7fb;
    --sikobe-ink: #1f2a3d;
}

/* ---------- Global surface ---------- */

body {
    background-color: var(--sikobe-bg);
    color: var(--sikobe-ink);
}

/* ---------- Sidebar ---------- */

.sidebar,
.sidebar.bg-gray-800 {
    background: linear-gradient(180deg, var(--sikobe-navy-dark) 0%, var(--sikobe-navy) 100%) !important;
}

.sidebar .nav-link {
    border-radius: 0.5rem;
    transition: background-color 0.15s ease;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.sidebar .nav-item.active > .nav-link {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 3px 0 0 var(--sikobe-gold);
}

.sidebar small {
    color: var(--sikobe-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Brand block at the top of the sidebar */
.sikobe-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 0.5rem 1.1rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sikobe-brand svg {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    color: var(--sikobe-gold);
}

.sikobe-brand .sikobe-brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffffff;
    line-height: 1.1;
    display: block;
}

.sikobe-brand .sikobe-brand-tag {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.03em;
    display: block;
}

/* ---------- Top navbar ---------- */

.navbar-dashboard {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(15, 36, 68, 0.06);
    padding: 0.55rem 1rem !important;
    margin-top: 1rem;
}

.sikobe-topbar-title {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.sikobe-topbar-title .sikobe-topbar-name {
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--sikobe-navy);
    font-size: 1rem;
}

.sikobe-topbar-title .sikobe-topbar-sub {
    font-size: 0.72rem;
    color: #8593a9;
}

.navbar-dashboard .sidebar-toggle {
    color: var(--sikobe-navy);
}

/* Konteks admin prodi (universitas & prodi) di topbar */
.sikobe-topbar-context {
    position: relative;
    gap: 0.6rem;
    padding: 0.35rem 0.95rem 0.35rem 0.4rem;
    background: linear-gradient(135deg, rgba(15, 36, 68, 0.055) 0%, rgba(15, 36, 68, 0.02) 100%);
    border: 1px solid rgba(15, 36, 68, 0.1);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(15, 36, 68, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sikobe-topbar-context::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--sikobe-gold) 0%, #e0a92e 100%);
    opacity: 0;
}

.sikobe-topbar-context:hover {
    box-shadow: 0 4px 14px rgba(15, 36, 68, 0.12);
    transform: translateY(-1px);
}

.sikobe-topbar-context-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sikobe-navy) 0%, #1c4173 100%);
    color: var(--sikobe-gold);
    box-shadow: 0 2px 6px rgba(15, 36, 68, 0.25);
    flex-shrink: 0;
}

.sikobe-topbar-context-icon .icon {
    width: 16px;
    height: 16px;
}

.sikobe-topbar-context-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sikobe-topbar-context .sikobe-topbar-prodi {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--sikobe-navy);
    letter-spacing: 0.01em;
}

.sikobe-topbar-context .sikobe-topbar-univ {
    font-size: 0.64rem;
    font-weight: 600;
    color: #97a2b5;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* Initials avatar */
.sikobe-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sikobe-navy) 0%, #1c4173 100%);
    color: var(--sikobe-gold);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 6px rgba(15, 36, 68, 0.25);
    flex-shrink: 0;
}

.sikobe-user-name {
    font-weight: 600;
    color: var(--sikobe-ink);
    font-size: 0.85rem;
    line-height: 1.2;
    display: block;
}

.sikobe-user-role {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--sikobe-teal-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
}

.dashboard-dropdown .dropdown-header {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8593a9;
}

/* ---------- Footer ---------- */

.sikobe-footer {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(15, 36, 68, 0.06);
    border-top: 3px solid var(--sikobe-gold);
    padding: 1.4rem 1.75rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sikobe-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sikobe-footer-brand svg {
    width: 26px;
    height: 26px;
    color: var(--sikobe-navy);
}

.sikobe-footer-brand .sikobe-footer-name {
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--sikobe-navy);
    font-size: 0.95rem;
    line-height: 1.15;
    display: block;
}

.sikobe-footer-brand .sikobe-footer-tag {
    font-size: 0.72rem;
    color: #8593a9;
    display: block;
}

.sikobe-footer-copy {
    font-size: 0.78rem;
    color: #8593a9;
    text-align: right;
}

/* ---------- Buttons ---------- */

.btn-gray-800,
.btn-secondary {
    background-color: var(--sikobe-navy);
    border-color: var(--sikobe-navy);
    color: #fff;
}

.btn-gray-800:hover, .btn-gray-800:focus, .btn-gray-800:active,
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: var(--sikobe-navy-dark) !important;
    border-color: var(--sikobe-navy-dark) !important;
    color: #fff;
}

.btn-primary {
    background-color: var(--sikobe-navy);
    border-color: var(--sikobe-navy);
    color: #fff;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--sikobe-navy-dark) !important;
    border-color: var(--sikobe-navy-dark) !important;
    color: #fff;
}

.btn-info {
    background-color: var(--sikobe-teal);
    border-color: var(--sikobe-teal);
    color: #fff;
}

.btn-info:hover, .btn-info:focus, .btn-info:active {
    background-color: var(--sikobe-teal-dark) !important;
    border-color: var(--sikobe-teal-dark) !important;
    color: #fff;
}

.btn-danger {
    background-color: var(--sikobe-red);
    border-color: var(--sikobe-red);
    color: #fff;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    background-color: var(--sikobe-red-dark) !important;
    border-color: var(--sikobe-red-dark) !important;
    color: #fff;
}

.btn-warning {
    background-color: var(--sikobe-gold);
    border-color: var(--sikobe-gold);
    color: var(--sikobe-navy-dark);
}

.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
    background-color: var(--sikobe-gold-dark) !important;
    border-color: var(--sikobe-gold-dark) !important;
    color: var(--sikobe-navy-dark);
}

/* Disabled states keep the theme color (Volt's own :disabled rules
   would otherwise fall back to its sand palette) */
.btn-secondary:disabled, .btn-secondary.disabled,
.btn-gray-800:disabled, .btn-gray-800.disabled,
.btn-primary:disabled, .btn-primary.disabled {
    background-color: var(--sikobe-navy);
    border-color: var(--sikobe-navy);
    color: #fff;
}

.btn-info:disabled, .btn-info.disabled {
    background-color: var(--sikobe-teal);
    border-color: var(--sikobe-teal);
    color: #fff;
}

.btn-danger:disabled, .btn-danger.disabled {
    background-color: var(--sikobe-red);
    border-color: var(--sikobe-red);
    color: #fff;
}

/* Focus rings in matching hues */
.btn-gray-800:focus, .btn-secondary:focus, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(22, 51, 91, 0.25) !important;
}

.btn-info:focus {
    box-shadow: 0 0 0 0.2rem rgba(20, 145, 155, 0.25) !important;
}

.btn-danger:focus {
    box-shadow: 0 0 0 0.2rem rgba(192, 66, 78, 0.25) !important;
}

.btn-warning:focus {
    box-shadow: 0 0 0 0.2rem rgba(232, 185, 62, 0.35) !important;
}

/* ---------- Cards & tables ---------- */

.card {
    border: 0;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(15, 36, 68, 0.06);
}

.card .card-header {
    border-radius: 0.75rem 0.75rem 0 0;
}

.table thead.thead-light th,
.table .thead-light th {
    background-color: #e9eef7;
    color: var(--sikobe-navy);
    border-bottom: 2px solid #d4deee;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.table-hover tbody tr:hover {
    background-color: #eef3fb;
}

/* ---------- Forms ---------- */

.form-control:focus, .form-select:focus {
    border-color: var(--sikobe-teal);
    box-shadow: 0 0 0 0.2rem rgba(20, 145, 155, 0.15);
}

.input-group-text {
    color: var(--sikobe-navy);
}

/* ---------- Links & misc accents ---------- */

a {
    color: var(--sikobe-teal-dark);
}

a:hover {
    color: var(--sikobe-navy);
}

.text-primary { color: var(--sikobe-navy) !important; }
.bg-primary { background-color: var(--sikobe-navy) !important; }

/* ---------- Dashboard ---------- */

.sikobe-hero {
    background:
        radial-gradient(600px 300px at 100% -30%, rgba(232, 185, 62, 0.18), transparent 60%),
        radial-gradient(500px 260px at -10% 130%, rgba(20, 145, 155, 0.25), transparent 55%),
        linear-gradient(135deg, var(--sikobe-navy-dark) 0%, var(--sikobe-navy) 60%, #1c4173 100%);
    border-radius: 0.9rem;
    color: #fff;
    padding: 1.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(15, 36, 68, 0.25);
}

.sikobe-hero h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.sikobe-hero .sikobe-hero-sub {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.sikobe-hero .sikobe-hero-role {
    display: inline-block;
    margin-top: 0.7rem;
    padding: 0.3rem 0.85rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.12);
    color: var(--sikobe-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.sikobe-hero svg {
    flex-shrink: 0;
    color: rgba(232, 185, 62, 0.85);
}

.sikobe-stat-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(15, 36, 68, 0.06);
    padding: 1.15rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    height: 100%;
}

.sikobe-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sikobe-stat-icon svg { width: 22px; height: 22px; }

.sikobe-stat-icon-navy { background: #e9eef7; color: var(--sikobe-navy); }
.sikobe-stat-icon-teal { background: #e3f3f4; color: var(--sikobe-teal-dark); }
.sikobe-stat-icon-gold { background: #fbf1d9; color: var(--sikobe-gold-dark); }
.sikobe-stat-icon-red  { background: #f8e6e8; color: var(--sikobe-red); }

.sikobe-stat-value {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--sikobe-navy);
    line-height: 1.1;
    display: block;
}

.sikobe-stat-label {
    font-size: 0.75rem;
    color: #8593a9;
    display: block;
}

.sikobe-banner img {
    width: 100%;
    border-radius: 0.9rem;
    box-shadow: 0 2px 12px rgba(15, 36, 68, 0.08);
    display: block;
}

/* ---------- Kurikulum detail sheets ---------- */

#sheetTabs {
    border-bottom: none;
    gap: 0.15rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    background: #edf1f7;
    border-radius: 2rem;
    padding: 0.3rem;
    box-shadow: inset 0 1px 3px rgba(15, 36, 68, 0.06);
    scrollbar-width: none;
}

#sheetTabs::-webkit-scrollbar {
    display: none;
}

#sheetTabs .nav-item {
    flex-shrink: 0;
}

#sheetTabs .nav-link {
    border: none;
    border-radius: 2rem;
    color: #64748b;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.45rem 1rem;
    white-space: nowrap;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

#sheetTabs .nav-link:hover:not(.active) {
    background: rgba(255, 255, 255, 0.75);
    color: var(--sikobe-navy);
}

#sheetTabs .nav-link.active {
    background: linear-gradient(135deg, var(--sikobe-navy) 0%, #1c4173 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(15, 36, 68, 0.28);
}

.tab-content h5.fs-5 {
    border-left: 4px solid var(--sikobe-gold);
    padding-left: 0.7rem;
    color: var(--sikobe-navy);
}

.tab-content .table {
    font-size: 0.85rem;
}

.tab-content .table-bordered th {
    background: #f0f4fa;
    color: var(--sikobe-navy);
}

.sikobe-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

/* ---------- Data listing helpers ---------- */

.sikobe-mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sikobe-navy) 0%, #1c4173 100%);
    color: var(--sikobe-gold);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.sikobe-person {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.sikobe-person .sikobe-person-name {
    font-weight: 600;
    color: var(--sikobe-ink);
    font-size: 0.85rem;
    line-height: 1.25;
    display: block;
}

.sikobe-person .sikobe-person-email {
    font-size: 0.75rem;
    color: #8593a9;
    display: block;
}

.sikobe-pill {
    display: inline-block;
    padding: 0.28rem 0.7rem;
    border-radius: 2rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.sikobe-pill-navy {
    background: #e9eef7;
    color: var(--sikobe-navy);
}

.sikobe-pill-teal {
    background: #e3f3f4;
    color: var(--sikobe-teal-dark);
}

.sikobe-pill-gold {
    background: #fbf1d9;
    color: var(--sikobe-gold-dark);
}

.sikobe-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 0.5rem;
    border-radius: 2rem;
    background: var(--sikobe-navy);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.sikobe-card-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sikobe-card-title svg {
    width: 22px;
    height: 22px;
    color: var(--sikobe-teal);
    flex-shrink: 0;
}

.sikobe-card-title .sikobe-card-sub {
    font-size: 0.75rem;
    color: #8593a9;
    display: block;
    font-weight: 400;
}

.sikobe-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #8593a9;
}

.sikobe-empty-state svg {
    width: 46px;
    height: 46px;
    color: #c3cfdf;
    margin-bottom: 0.75rem;
}

.sikobe-action-btns {
    display: flex;
    gap: 0.25rem;
    justify-content: flex-end;
}

/* ==========================================================================
   Login page
   ========================================================================== */

.sikobe-login-bg {
    min-height: 100vh;
    background:
        radial-gradient(1100px 500px at 85% -10%, rgba(20, 145, 155, 0.35), transparent 60%),
        radial-gradient(900px 460px at -10% 110%, rgba(232, 185, 62, 0.18), transparent 55%),
        linear-gradient(160deg, var(--sikobe-navy-deep) 0%, var(--sikobe-navy) 55%, #1c4173 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.sikobe-login-card {
    display: flex;
    width: 100%;
    max-width: 900px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(5, 14, 30, 0.45);
    background: #fff;
}

/* Left brand panel */
.sikobe-login-brand {
    flex: 1 1 46%;
    background:
        radial-gradient(500px 300px at 110% -20%, rgba(232, 185, 62, 0.22), transparent 60%),
        linear-gradient(200deg, var(--sikobe-navy) 0%, var(--sikobe-navy-deep) 100%);
    color: #fff;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sikobe-login-brand svg.sikobe-cap {
    width: 52px;
    height: 52px;
    color: var(--sikobe-gold);
    margin-bottom: 1.25rem;
}

.sikobe-login-brand h1 {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 0.35rem;
}

.sikobe-login-brand .sikobe-tagline {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.sikobe-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.65rem;
}

.sikobe-feature svg {
    width: 17px;
    height: 17px;
    margin-top: 0.15rem;
    color: var(--sikobe-teal);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 2px;
    flex-shrink: 0;
}

/* Right form panel */
.sikobe-login-form {
    flex: 1 1 54%;
    padding: 3rem 2.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sikobe-login-form h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sikobe-navy);
    margin-bottom: 0.25rem;
}

.sikobe-login-form .sikobe-form-sub {
    color: #6b7a90;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.sikobe-login-form .btn-login {
    background: linear-gradient(135deg, var(--sikobe-navy) 0%, #1c4173 100%);
    border: 0;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.7rem;
    border-radius: 0.55rem;
}

.sikobe-login-form .btn-login:hover:not(:disabled) {
    background: var(--sikobe-navy-dark);
}

.sikobe-login-footer {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.78rem;
    color: #93a1b5;
}

@media (max-width: 767.98px) {
    .sikobe-login-brand { display: none; }
    .sikobe-login-form { padding: 2.25rem 1.5rem; }
}

/* ============================================================
   /mata-kuliah — banner periode aktif, pill tabs, status switch
   ============================================================ */
.sikobe-period-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
    padding: 1rem 1.35rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--sikobe-navy) 0%, #1c4173 100%);
    box-shadow: 0 6px 18px rgba(15, 36, 68, 0.18);
}

.sikobe-period-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.sikobe-period-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(232, 185, 62, 0.16);
    color: var(--sikobe-gold);
    flex-shrink: 0;
}

.sikobe-period-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.15rem;
}

.sikobe-period-value {
    display: inline-flex;
    align-items: center;
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

/* Badge semester (Ganjil / Genap) di dalam banner */
.sikobe-period-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    padding: 0.15rem 0.7rem 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(232, 185, 62, 0.18);
    border: 1px solid rgba(232, 185, 62, 0.35);
}

.sikobe-period-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sikobe-gold);
    box-shadow: 0 0 0 3px rgba(232, 185, 62, 0.22);
}

.sikobe-period-value.is-empty {
    font-size: 0.9rem;
    font-weight: 600;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
}

.sikobe-period-divider {
    width: 1px;
    align-self: stretch;
    min-height: 34px;
    background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 575.98px) {
    .sikobe-period-divider { display: none; }
    .sikobe-period-banner { gap: 0.9rem 1.5rem; }
}

/* Judul section (kartu Parameter Umum / Assesment) */
.sikobe-section-title {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--sikobe-navy);
}

.sikobe-section-title .icon {
    color: var(--sikobe-gold);
    flex-shrink: 0;
}

.sikobe-param-key {
    font-weight: 600;
    color: var(--sikobe-navy);
}

/* Badge nomor pada input (modal assessment) */
.sikobe-idx-badge {
    min-width: 2.4rem;
    justify-content: center;
    font-weight: 700;
    color: var(--sikobe-navy);
    background: #eef2f8;
    border-color: #dbe3ef;
}

/* Info periode submit nilai */
.sikobe-submit-period {
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.85rem 1.15rem;
    background: #fff;
}

.sikobe-submit-period-head {
    display: flex;
    align-items: center;
    color: var(--sikobe-navy);
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
}

.sikobe-submit-period-body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2.5rem;
}

.sikobe-submit-period-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sikobe-submit-period-label {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #97a2b5;
    margin-bottom: 0.1rem;
}

.sikobe-submit-period-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--sikobe-ink);
    min-height: 1.25rem;
}

/* Pill tabs (dipakai #mkTab) — konsisten dengan #sheetTabs di /kurikulum-detail */
.sikobe-pill-tabs {
    border-bottom: none;
    gap: 0.15rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    background: #edf1f7;
    border-radius: 2rem;
    padding: 0.3rem;
    box-shadow: inset 0 1px 3px rgba(15, 36, 68, 0.06);
    scrollbar-width: none;
    display: inline-flex;
    max-width: 100%;
}

.sikobe-pill-tabs::-webkit-scrollbar {
    display: none;
}

.sikobe-pill-tabs .nav-item {
    flex-shrink: 0;
}

.sikobe-pill-tabs .nav-link {
    border: none;
    border-radius: 2rem;
    color: #64748b;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.45rem 1.1rem;
    white-space: nowrap;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.sikobe-pill-tabs .nav-link:hover:not(.active) {
    background: rgba(255, 255, 255, 0.75);
    color: var(--sikobe-navy);
}

.sikobe-pill-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--sikobe-navy) 0%, #1c4173 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(15, 36, 68, 0.28);
}

/* Penomoran otomatis baris terlihat (baris [hidden] tidak dihitung) */
#tbody-aktif {
    counter-reset: mkrow;
}

#tbody-aktif > tr {
    counter-increment: mkrow;
}

#tbody-aktif > tr > td.mk-no::before {
    content: counter(mkrow);
}

/* Status switch + badge */
.sikobe-switch .form-check-input {
    width: 2.4em;
    height: 1.25em;
    cursor: pointer;
    background-color: #cbd5e1;
    border-color: #cbd5e1;
    box-shadow: none;
}

.sikobe-switch .form-check-input:checked {
    background-color: var(--sikobe-teal-dark, #0f7d78);
    border-color: var(--sikobe-teal-dark, #0f7d78);
}

.sikobe-status-badge {
    display: inline-block;
    min-width: 66px;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.sikobe-status-badge.is-on {
    color: #0f7d78;
    background: rgba(15, 125, 120, 0.12);
}

.sikobe-status-badge.is-off {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.16);
}

/* ---------- Tombol cetak RPS (/daftar-rps) ---------- */
.sikobe-rps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 0.6rem;
    color: var(--sikobe-teal-dark);
    background: #e3f3f4;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sikobe-rps-btn:hover {
    background: var(--sikobe-teal);
    color: #fff;
    transform: translateY(-1px);
}

/* ---------- Matriks Assessment (/assessment) ---------- */
.sikobe-matrix-wrap {
    overflow-x: auto;
    max-height: 560px;
    border: 1px solid #e5eaf2;
    border-radius: 0.85rem;
    box-shadow: 0 2px 12px rgba(15, 36, 68, 0.05);
}

.sikobe-matrix {
    margin-bottom: 0;
}

.sikobe-matrix thead.sticky-header th,
.sikobe-matrix thead.thead-light th {
    background-color: #eaf0f8;
    color: var(--sikobe-navy);
    border-bottom: 2px solid #d4deee;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(15, 36, 68, 0.06);
}

.sikobe-matrix td,
.sikobe-matrix th {
    border-color: #eef2f8;
    font-size: 0.82rem;
    vertical-align: middle;
}

.sikobe-matrix .mk-sub {
    color: #8593a9;
    font-size: 0.72rem;
}

.sikobe-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(15, 125, 120, 0.12);
    color: #0f7d78;
    font-size: 0.78rem;
    font-weight: 700;
}

.sikobe-matrix tr.table-warning,
.sikobe-matrix tr.table-warning > td {
    background-color: #fbf1d9 !important;
}

.sikobe-legend {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #64748b;
}

.sikobe-legend .swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #fbf1d9;
    border: 1px solid #ecd9a6;
}

/* ---------- Kotak info ringkas (mis. modal Unggah Nilai) ---------- */
.sikobe-info-box {
    border: 1px solid #e5eaf2;
    border-radius: 0.7rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f8 100%);
    padding: 0.85rem 1rem;
}

.sikobe-info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.sikobe-info-row + .sikobe-info-row {
    border-top: 1px dashed #dbe3ef;
    margin-top: 0.25rem;
    padding-top: 0.5rem;
}

.sikobe-info-label {
    flex: 0 0 110px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #8593a9;
}

.sikobe-info-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sikobe-navy);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.15rem;
}

/* Placeholder lebih abu (mis. modal Edit Batas Nilai Indeks) agar tak
   terlihat seolah isian asli */
#modal-indeks-nilai .form-control::placeholder {
    color: #c3cdda;
    opacity: 1;
}

/* ---------- Logo universitas (/kurikulum) ---------- */
.sikobe-logo-univ {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1rem 1.15rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f8 100%);
}

.sikobe-logo-frame {
    flex-shrink: 0;
    width: 92px;
    height: 92px;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sikobe-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sikobe-logo-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sikobe-logo-label {
    font-size: 0.64rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #97a2b5;
}

.sikobe-logo-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sikobe-navy);
    line-height: 1.25;
}

.sikobe-logo-hint {
    font-size: 0.68rem;
    color: #97a2b5;
    margin-top: 0.3rem;
}
