/* custom css */
.roboto-thin {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.roboto-light {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.roboto-black {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.roboto-thin-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.roboto-light-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.roboto-regular-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.roboto-medium-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.roboto-bold-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.roboto-black-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.roboto-slab-header {
  font-family: "Roboto Slab", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.bg-custom-gray {
  background-color: #EEEEEE;
}

.bg-custom-tosca {
  background-color: #0DB3A9;
}

#btn-login:disabled {
  background-color: #6c757d;
  opacity: 1;
}

.bg-custom-green {
  background-color: #135B71;
}

.bg-custom-red {
  background-color: #EC232B;
}

.color-custom-tosca {
  color: #0DB3A9;
}

.color-custom-green {
  color: #135B71;
}

.color-custom-black {
  color: #383838;
}

.btn-hover:hover {
  color: #fff;
  background-color: #135B71;
}

.btn-delete-hover:hover {
  color: #fff;
  background-color: #c01c22;
}

.btn-custom-tosca {
  color: #fff;
  background-color: #0DB3A9;
}

.btn-custom-tosca:hover {
  color: #fff;
  background-color: #135B71;
}

.text-truncate-2 {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-3 {
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-7 {
  -webkit-line-clamp: 7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

a {
  text-decoration: none;
}

.carousel-custom {
  margin-top: 64px;
}

.text-hover:hover {
  color: #135B71;
}

.text-hover-tosca:hover {
  color: #0DB3A9;
}

/* end custom css */

/**
* Template Name: NiceAdmin
* Updated: Mar 09 2023 with Bootstrap v5.2.3
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #f6f9ff;
  color: #444444;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 20px 30px;
  transition: all 0.3s;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #012970;
  font-family: "Poppins", sans-serif;
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 0 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #012970;
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #4154f1;
  border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 210px;
  }
}

.logo img {
  max-height: 45px;
  margin-right: 7px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #012970;
  font-family: "Nunito", sans-serif;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  box-shadow: 0px 2px 20px rgba(1, 42, 112, 0.549);
  background-color: #fff;
  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #012970;
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #012970;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 250px;
  z-index: 996;
  transition: all 0.3s;
  padding: 15px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aab7cf transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
}

@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

@media (min-width: 1200px) {

  #main,
  #footer {
    margin-left: 250px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 0;
  }

  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #899bbd;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #383838;
  transition: 0.3;
  background: #f5f5f5;
  padding: 10px 10px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 14px;
  margin-right: 10px;
  color: #383838;
}

.sidebar-nav .nav-link.collapsed {
  color: #383838;
  background: #f5f5f5;
}

.sidebar-nav .nav-link.collapsed i {
  color: #383838;
}

.sidebar-nav .nav-link:hover {
  color: #ffffff;
  background: linear-gradient(45deg, rgba(12, 179, 169, 1) 22%, rgba(19, 91, 113, 1) 79%);
}

.sidebar-nav .nav-link:hover i {
  color: #ffffff;
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #383838;
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  background: linear-gradient(45deg, rgba(12, 179, 169, 1) 22%, rgba(19, 91, 113, 1) 79%);
  color: #fff;
}

.sidebar-nav .nav-content a.active i {
  background-color: #4154f1;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #4154f1;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: #012970;
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #4154f1;
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #012970;
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #012970;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #4154f1;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #012970;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #4154f1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #4154f1;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #4154f1;
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #012970;
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: center;
  color: #012970;
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}

.btn-outline-costum {
  color: #000000;
  border-color: rgb(0, 0, 0);
}

.btn-outline-costum:hover {
  color: #fff;
  background: linear-gradient(45deg, rgb(255, 255, 255) 22%, rgba(19, 91, 113, 1) 79%);
}

.btn-primary-costum {
  color: #ffffff;
  background: #0db2a8;
}

.btn-primary-costum:hover {
  color: #fff;
  background: linear-gradient(45deg, rgba(12, 179, 169, 1) 22%, rgba(19, 91, 113, 1) 79%);
}

.btn-edit-costum {
  color: #ffffff;
  background: #e2be07;
}

.btn-edit-costum:hover {
  color: #fff;
  background: linear-gradient(45deg, rgba(226, 190, 7, 1) 19%, rgba(19, 91, 113, 1) 79%);
}

.btn-hapus-costum {
  color: #ffffff;
  background: #c92317;
}

.btn-hapus-costum:hover {
  color: #fff;
  background: linear-gradient(45deg, rgba(208, 34, 34, 1) 19%, rgba(19, 91, 113, 1) 79%);
}

.btn-detail-costum {
  color: #ffffff;
  background: #4cdb0f;
}

.btn-detail-costum:hover {
  color: #fff;
  background: linear-gradient(45deg, rgb(34, 208, 48) 19%, rgba(19, 91, 113, 1) 79%);
}

.btn-arsip-costum {
  color: #ffffff;
  background: #f39a01;
}

.btn-arsip-costum:hover {
  color: #fff;
  background: linear-gradient(45deg, rgb(242, 157, 0) 19%, rgba(19, 91, 113, 1) 79%);
}

/* select2 */
/* ---- SELECT2 BOOTSTRAP FIX ---- */
.select2-container .select2-selection--single {
  height: 38px !important;
  /* sama seperti form-select Bootstrap */
  border: 1px solid #ced4da !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  /* sesuaikan bentuk */
}

.select2-selection__rendered {
  line-height: 24px !important;
}

.select2-selection__arrow {
  height: 36px !important;
  right: 10px !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #6c757d !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #6c757d transparent transparent transparent !important;
}

/* Hover style biar mirip */
.select2-container--default .select2-selection--single:hover {
  border-color: #86b7fe !important;
}

/* Focus style */
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .25) !important;
}

/* ---- SELECT2 MULTIPLE ---- */
.select2-container .select2-selection--multiple {
  min-height: 38px !important;
  border: 1px solid #ced4da !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  background-color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #e8f0fe !important;
  border: 1px solid #bdd3f9 !important;
  border-radius: 5px !important;
  color: #1e293b !important;
  padding: 5px 10px 5px 28px !important;
  margin-top: 4px !important;
  margin-right: 4px !important;
  font-size: 0.84rem !important;
  position: relative !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice.expanded {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #475569 !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  position: absolute !important;
  left: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  cursor: pointer !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #dc3545 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #dc3545 !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .25) !important;
}

.select2-container--default .select2-selection--multiple:hover {
  border-color: #86b7fe !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-search__field {
  margin-top: 5px !important;
  font-size: 0.85rem !important;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
  background-color: #e9ecef !important;
  opacity: 0.8 !important;
}

.modern-subcpmk-item {
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #334155;
}

.modern-subcpmk-item:last-child {
  border-bottom: none;
}

.progress-bar {
  transition: width 0.4s ease;
}

.card-title-custom {
  text-align: center;
  background: linear-gradient(to right, #00B4AA, #00586F);
  color: white;
  padding: 10px;
  margin-bottom: 1rem;
}

.card-title-custom-faded {
  text-align: center;
  background: linear-gradient(to right, #9ca3af, #6b7280);
  color: #f9fafb;
  padding: 10px;
  margin-bottom: 1rem;
}

.card-title-custom-upcoming {
  text-align: center;
  background: linear-gradient(to right, #60a5fa, #2563eb);
  color: #f8fafc;
  padding: 10px;
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════════════════════
   FullCalendar - New Modern Theme (Responsive)
   ══════════════════════════════════════════════════════════════ */

/* ── Base Container ── */
.fc {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  --fc-border-color: #e2e8f0;
  --fc-page-bg-color: #fff;
  --fc-neutral-bg-color: #f8fafc;
  --fc-today-bg-color: rgba(67, 97, 238, 0.04);
  --fc-event-bg-color: #4361ee;
  --fc-event-border-color: #4361ee;
  --fc-event-text-color: #fff;
  --fc-highlight-color: rgba(67, 97, 238, 0.08);
  --fc-non-business-color: rgba(241, 245, 249, 0.6);
  --fc-now-indicator-color: #ef4444;
  --fc-small-font-size: 0.82rem;
}

/* ── Toolbar ── */
.fc .fc-toolbar {
  padding: 16px 20px;
  margin-bottom: 0 !important;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 14px 14px 0 0;
  flex-wrap: wrap;
  gap: 10px;
}

.fc .fc-toolbar-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem !important;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.fc .fc-button {
  background: #fff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  color: #475569 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 7px 14px !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  text-transform: capitalize;
}

.fc .fc-button:hover {
  background: #eff3ff !important;
  border-color: #c7d2fe !important;
  color: #4361ee !important;
}

.fc .fc-button-active,
.fc .fc-button:active {
  background: #4361ee !important;
  border-color: #4361ee !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.3) !important;
}

.fc .fc-button:focus {
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.12) !important;
}

.fc .fc-button:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

.fc .fc-button-group {
  border-radius: 8px;
  overflow: hidden;
}

.fc .fc-button-group .fc-button {
  border-radius: 0 !important;
  margin-left: -1px;
}

.fc .fc-button-group .fc-button:first-child {
  border-radius: 8px 0 0 8px !important;
}

.fc .fc-button-group .fc-button:last-child {
  border-radius: 0 8px 8px 0 !important;
}

/* ── Header Cells (Day Names) ── */
.fc .fc-col-header {
  background: #f8fafc;
}

.fc .fc-col-header-cell {
  padding: 12px 8px !important;
  border-color: #e2e8f0;
}

.fc .fc-col-header-cell-cushion {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  padding: 6px 10px;
}

.fc .fc-col-header-cell.fc-day-today .fc-col-header-cell-cushion {
  color: #4361ee;
  background: rgba(67, 97, 238, 0.08);
  border-radius: 6px;
}

/* ── Day Grid (Month View) ── */
.fc .fc-daygrid-day {
  transition: background-color 0.15s ease;
}

.fc .fc-daygrid-day:hover {
  background-color: rgba(67, 97, 238, 0.02);
}

.fc .fc-daygrid-day-number {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  padding: 8px 10px !important;
  text-decoration: none !important;
}

.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
  background: linear-gradient(135deg, #4361ee, #3b82f6);
  color: #fff;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px;
}

.fc .fc-daygrid-day.fc-day-other .fc-daygrid-day-number {
  color: #cbd5e1;
}

/* ── Time Grid (Week/Day View) ── */
.fc .fc-timegrid-slot {
  height: 48px !important;
  border-color: #f1f5f9;
}

.fc .fc-timegrid-slot-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  vertical-align: top;
  padding-top: 4px !important;
}

.fc .fc-timegrid-axis {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.fc .fc-timegrid-now-indicator-line {
  border-color: var(--fc-now-indicator-color);
  border-width: 2px;
}

.fc .fc-timegrid-now-indicator-arrow {
  border-color: var(--fc-now-indicator-color);
}

/* ── Events ── */
.fc-event,
.fc-event-main,
.fc-timegrid-event,
.fc-timegrid-event-harness {
  cursor: pointer !important;
}

.fc .fc-event {
  border: none !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.fc .fc-event:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
}

.fc .fc-event-main {
  padding: 2px 4px;
}

.fc .fc-event-title {
  font-weight: 600;
  font-size: 0.76rem;
  line-height: 1.3;
}

.fc .fc-event-time {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
}

.fc .fc-timegrid-event {
  border-radius: 8px !important;
  border-left: 3px solid rgba(255, 255, 255, 0.4) !important;
  padding: 6px 8px !important;
}

.fc .fc-daygrid-event {
  border-radius: 6px !important;
  padding: 3px 8px !important;
  margin: 2px 4px !important;
}

.fc .fc-daygrid-dot-event {
  padding: 4px 6px !important;
}

.fc .fc-daygrid-event-dot {
  border-color: #4361ee !important;
  border-radius: 50%;
}

/* ── More Link ── */
.fc .fc-daygrid-more-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: #4361ee;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.2s;
}

.fc .fc-daygrid-more-link:hover {
  background: #eff3ff;
  text-decoration: none;
}

/* ── Popover ── */
.fc .fc-popover {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.fc .fc-popover-header {
  background: #f8fafc;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
}

.fc .fc-popover-body {
  padding: 8px;
}

/* ── List View ── */
.fc .fc-list {
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  border-color: #e2e8f0;
}

.fc .fc-list-day-cushion {
  background: #f8fafc !important;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
}

.fc .fc-list-event {
  transition: background 0.15s ease;
}

.fc .fc-list-event:hover td {
  background: #f0f4ff !important;
}

.fc .fc-list-event-title a {
  font-weight: 500;
  color: #334155;
  text-decoration: none !important;
}

.fc .fc-list-event-time {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.fc .fc-list-event-dot {
  border-color: #4361ee !important;
}

/* ── Scrollbar ── */
.fc .fc-scroller::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.fc .fc-scroller::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.fc .fc-scroller::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.fc .fc-scroller::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ── Overall Border & Shadow ── */
.fc.fc-theme-standard {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.fc .fc-scrollgrid {
  border-color: #e2e8f0 !important;
}

.fc .fc-scrollgrid td,
.fc .fc-scrollgrid th {
  border-color: #e2e8f0;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .fc .fc-toolbar {
    padding: 12px 14px;
    gap: 8px;
  }

  .fc .fc-toolbar-title {
    font-size: 1rem !important;
  }

  .fc .fc-button {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
  }

  .fc .fc-timegrid-slot {
    height: 40px !important;
  }

  .fc .fc-col-header-cell-cushion {
    font-size: 0.7rem;
    padding: 4px 6px;
  }
}

@media (max-width: 767.98px) {
  .fc .fc-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px;
    gap: 8px;
  }

  .fc .fc-toolbar-chunk {
    display: flex;
    justify-content: center;
  }

  .fc .fc-toolbar-title {
    font-size: 0.95rem !important;
    text-align: center;
  }

  .fc .fc-button {
    padding: 5px 8px !important;
    font-size: 0.72rem !important;
  }

  .fc .fc-col-header-cell-cushion {
    font-size: 0.65rem;
    letter-spacing: 0;
    padding: 3px 4px;
  }

  .fc .fc-timegrid-slot {
    height: 36px !important;
  }

  .fc .fc-timegrid-slot-label {
    font-size: 0.65rem;
  }

  .fc .fc-daygrid-day-number {
    font-size: 0.75rem;
    padding: 4px 6px !important;
  }

  .fc .fc-event {
    font-size: 0.7rem;
    padding: 2px 4px !important;
  }

  .fc .fc-event-title {
    font-size: 0.68rem;
  }

  .fc .fc-event-time {
    font-size: 0.62rem;
  }

  .fc .fc-timegrid-event {
    padding: 3px 5px !important;
  }

  .fc .fc-daygrid-event {
    margin: 1px 2px !important;
    padding: 2px 4px !important;
  }

  .fc.fc-theme-standard {
    border-radius: 10px;
  }

  .fc .fc-toolbar {
    border-radius: 10px 10px 0 0;
  }
}

@media (max-width: 575.98px) {
  .fc .fc-toolbar-chunk:has(.fc-button-group) {
    width: 100%;
  }

  .fc .fc-button-group {
    width: 100%;
  }

  .fc .fc-button-group .fc-button {
    flex: 1;
    text-align: center;
  }

  .fc .fc-toolbar-title {
    font-size: 0.88rem !important;
  }

  .fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  .fc .fc-timegrid-slot {
    height: 32px !important;
  }

  .fc .fc-timegrid-slot-label {
    font-size: 0.6rem;
    padding-right: 4px !important;
  }
}

.tooltip-cell {
  position: relative;
  cursor: help;
}

/* === Tooltip bubble (default: above) === */
.tooltip-cell::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  max-width: 100%;
  width: max-content;

  background: #1f2937;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;

  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
  text-align: left;

  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 9999;
}

/* === Arrow (default: above, arrow points down) === */
.tooltip-cell::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #1f2937 transparent transparent transparent;

  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 9999;
}

/* === Show on hover === */
.tooltip-cell:hover::after,
.tooltip-cell:hover::before {
  opacity: 1;
}

/* === Flipped: below === */
.tooltip-cell.tooltip-bottom::after {
  bottom: auto;
  top: 100%;
  transform: translateX(-50%) translateY(4px);
}

.tooltip-cell.tooltip-bottom::before {
  bottom: auto;
  top: 100%;
  transform: translateX(-50%);
  border-color: transparent transparent #1f2937 transparent;
}

/* ===== CARD PELAKSANAAN KULIAH MODERN ===== */
.modern-pk-card {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.modern-pk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* === Status: Kuning === */
.modern-pk-card.status-warning {
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.modern-pk-card.status-warning:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.modern-pk-card.status-warning .modern-pk-card-badge {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #fff;
}

.modern-pk-card.status-warning .modern-pk-action-btn {
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.25);
}

.modern-pk-card.status-warning .modern-pk-action-btn:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
}

/* === Status: Hijau === */
.modern-pk-card.status-success {
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.modern-pk-card.status-success:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.modern-pk-card.status-success .modern-pk-card-badge {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #fff;
}

.modern-pk-card.status-success .modern-pk-action-btn {
  color: #166534;
  border-color: rgba(34, 197, 94, 0.25);
}

.modern-pk-card.status-success .modern-pk-action-btn:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.4);
}

/* === Status: Abu === */
.modern-pk-card.status-secondary {
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.modern-pk-card.status-secondary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.modern-pk-card.status-secondary .modern-pk-card-badge {
  background: linear-gradient(135deg, #9ca3af, #d1d5db);
  color: #fff;
}

.modern-pk-card.status-secondary .modern-pk-action-btn {
  color: #4b5563;
  border-color: rgba(156, 163, 175, 0.25);
}

.modern-pk-card.status-secondary .modern-pk-action-btn:hover {
  background: rgba(156, 163, 175, 0.1);
  border-color: rgba(156, 163, 175, 0.4);
}

/* === Card Header Custom === */
.modern-pk-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.modern-pk-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin: 0;
}

.modern-pk-card-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* === Card Info Section Custom === */
.modern-pk-info-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.modern-pk-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #475569;
}

.modern-pk-info-item i {
  font-size: 15px;
  color: #64748b;
  width: 18px;
  text-align: center;
}

/* === Card Action Buttons Custom === */
.modern-pk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modern-pk-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  background: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.modern-pk-action-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.modern-pk-action-btn i {
  font-size: 13px;
}

/* === Separator === */
.modern-pk-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
  margin: 0 0 16px 0;
}

.modern-pk-catatan-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  min-height: 100px;
}

.modern-pk-catatan-box p {
  margin-bottom: 0;
  line-height: 1.6;
  color: #334155;
}

.modern-pk-response-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.82rem;
}

.modern-pk-response-badge.badge-1 {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.modern-pk-response-badge.badge-2 {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.modern-pk-response-badge.badge-3 {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.modern-pk-response-badge.badge-4 {
  background: #eff6ff;
  color: #4361ee;
  border: 1px solid #c7d2fe;
}

/* === Accordion Custom === */
.accordion-item {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  font-weight: 600;
  font-size: 15px;
  color: #1e293b;
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.85);
  color: #1e293b;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  background: transparent;
  padding: 16px;
}

/* Theme OBE */
.obe-page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.obe-page-subtitle {
  font-size: 0.85rem;
  color: #64748b;
}

.obe-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4361ee 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.obe-header-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.obe-filter-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.obe-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.obe-select {
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #1e293b;
  transition: all 0.2s ease;
  background-color: #fff;
}

.obe-select:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.12);
}

.obe-select:disabled {
  background-color: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

.obe-btn-export {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c3e6b 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.obe-btn-export:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #fff;
}

.obe-btn-export:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  color: #fff;
}

.obe-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.obe-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 16px 0 0 16px;
}

.obe-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.obe-stat-blue::before {
  background: linear-gradient(180deg, #4361ee, #3b82f6);
}

.obe-stat-green::before {
  background: linear-gradient(180deg, #10b981, #059669);
}

.obe-stat-red::before {
  background: linear-gradient(180deg, #ef4444, #dc2626);
}

.obe-stat-amber::before {
  background: linear-gradient(180deg, #f59e0b, #d97706);
}

.obe-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.obe-stat-icon i {
  font-size: 1.35rem;
}

.obe-stat-blue .obe-stat-icon {
  background: #eff3ff;
}

.obe-stat-blue .obe-stat-icon i {
  color: #4361ee;
}

.obe-stat-green .obe-stat-icon {
  background: #ecfdf5;
}

.obe-stat-green .obe-stat-icon i {
  color: #10b981;
}

.obe-stat-red .obe-stat-icon {
  background: #fef2f2;
}

.obe-stat-red .obe-stat-icon i {
  color: #ef4444;
}

.obe-stat-amber .obe-stat-icon {
  background: #fffbeb;
}

.obe-stat-amber .obe-stat-icon i {
  color: #f59e0b;
}

.obe-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.obe-stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}

.obe-stat-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

.obe-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.obe-progress-bar {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.obe-progress-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.obe-fill-blue {
  background: linear-gradient(90deg, #4361ee, #3b82f6);
}

.obe-progress-text {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
}

.obe-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 16px;
  border: 2px dashed #e2e8f0;
  margin-bottom: 30px;
}

.obe-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.obe-empty-icon i {
  font-size: 2rem;
  color: #94a3b8;
}

.obe-empty-state h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.obe-empty-state p {
  color: #94a3b8;
  font-size: 0.88rem;
  max-width: 420px;
  margin: 0 auto;
}

.obe-table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.85rem;
}

.obe-table thead th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 12px 14px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
  vertical-align: middle;
}

.obe-table tbody td {
  padding: 12px 14px;
  color: #334155;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}

.obe-table tbody tr:nth-child(even) td {
  background: #fafbfc;
}

.obe-table tbody tr:hover td {
  background-color: #f0f4ff;
}

.obe-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.obe-badge i {
  font-size: 0.85rem;
}

.obe-badge-sesuai {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.obe-badge-menyimpang {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.obe-badge-belum {
  background: #f8fafc;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}

.obe-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 8px;
  color: #64748b;
}

@keyframes obeFadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.obe-animate {
  animation: obeFadeInUp 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.obe-result-card {
  border-radius: 14px;
  border: 1px solid #e2e8f0 !important;
}


.obe-cpmk-info-bar {
  background: #eff3ff;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: #3730a3;
  display: flex;
  align-items: center;
}

.obe-cpmk-info-bar i {
  color: #4361ee;
  font-size: 1rem;
}

.obe-cpmk-cpl-cell {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.84rem;
  cursor: pointer;
  user-select: none;
}

.obe-cpmk-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #eff3ff;
  margin-right: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.obe-cpmk-toggle i {
  font-size: 0.7rem;
  color: #4361ee;
  transition: transform 0.25s ease;
}

.obe-cpmk-cpl-cell.expanded .obe-cpmk-toggle {
  background: #4361ee;
}

.obe-cpmk-cpl-cell.expanded .obe-cpmk-toggle i {
  color: #fff;
  transform: rotate(90deg);
}

.obe-cpmk-cell {
  font-size: 0.84rem;
  color: #334155;
}

.obe-cpmk-kode {
  font-weight: 600;
  color: #4361ee;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 1px;
}

.obe-cpmk-nama {
  color: #64748b;
  font-size: 0.8rem;
}

.obe-cpmk-bobot-cell {
  min-width: 140px;
}

.obe-cpmk-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.obe-cpmk-progress-bar {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.obe-cpmk-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s ease;
}

.obe-cpmk-progress-val {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  min-width: 42px;
  text-align: right;
  color: #1e293b;
}

.obe-cpmk-detail-row {
  display: none;
}

.obe-cpmk-detail-row.show {
  display: table-row;
}

.obe-cpmk-detail-row td {
  padding: 0 16px 14px 46px;
  background: #fafbfd;
  border-bottom: 1px solid #f1f5f9;
}

.obe-cpmk-detail-table {
  width: 100%;
  font-size: 0.78rem;
  border-collapse: collapse;
  margin-top: 6px;
}

.obe-cpmk-detail-table th {
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.3px;
  padding: 6px 10px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  background: #f1f5f9;
}

.obe-cpmk-detail-table td {
  padding: 7px 10px;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.obe-cpmk-detail-table tr:last-child td {
  border-bottom: none;
}

.obe-cpmk-detail-bobot {
  font-weight: 600;
  color: #4361ee;
}

.obe-cpmk-total-row td {
  font-weight: 700;
  color: #0f172a;
  border-top: 2px solid #e2e8f0;
  background: #f8fafc;
}

/* â”€â”€ OBE: CPL Report - Panels & List Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.obe-panel-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.obe-panel-number {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #e0e7ff;
  color: #4361ee;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.obe-list-empty {
  text-align: center;
  padding: 34px 16px;
  color: #94a3b8;
  font-size: 0.84rem;
}

.obe-list-empty i {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.obe-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.obe-card-list::-webkit-scrollbar {
  width: 5px;
}

.obe-card-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
}

.obe-card-item {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  position: relative;
}

.obe-card-item:hover {
  border-color: #c7d2fe;
  background: #f8faff;
}

.obe-card-item.active {
  border-color: #4361ee;
  background: #eff3ff;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.obe-card-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #4361ee;
}

.obe-card-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1e293b;
  margin-bottom: 4px;
}

.obe-card-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.obe-card-item.active .obe-card-label {
  color: #3730a3;
}

.obe-card-item.active .obe-card-desc {
  color: #4f46e5;
}

.obe-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.obe-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #334155;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.obe-chip:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.obe-chip.selected {
  border-color: #059669;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 600;
}

.obe-chip .chip-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.obe-chip.selected .chip-check {
  background: #059669;
  border-color: #059669;
}

.obe-chip .chip-check i {
  font-size: 0.65rem;
  color: transparent;
}

.obe-chip.selected .chip-check i {
  color: #fff;
}

.obe-chip .chip-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.obe-chip .chip-code {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 400;
}

.obe-chip.selected .chip-code {
  color: #059669;
}

.obe-total-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.obe-total-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.obe-total-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
}

.obe-cpl-cpmk-cell {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.84rem;
  cursor: pointer;
  user-select: none;
}

.obe-cpl-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #eff3ff;
  margin-right: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.obe-cpl-toggle i {
  font-size: 0.7rem;
  color: #4361ee;
  transition: transform 0.25s ease;
}

.obe-cpl-cpmk-cell.expanded .obe-cpl-toggle {
  background: #4361ee;
}

.obe-cpl-cpmk-cell.expanded .obe-cpl-toggle i {
  color: #fff;
  transform: rotate(90deg);
}

.obe-cpl-cpmk-kode {
  font-weight: 600;
  color: #4361ee;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 1px;
}

.obe-cpl-cpmk-nama {
  color: #64748b;
  font-size: 0.8rem;
}

.obe-cpl-bobot-cell {
  min-width: 140px;
}

.obe-cpl-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.obe-cpl-progress-bar {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.obe-cpl-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s ease;
}

.obe-cpl-progress-val {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  min-width: 42px;
  text-align: right;
  color: #1e293b;
}

.obe-cpl-detail-row {
  display: none;
}

.obe-cpl-detail-row.show {
  display: table-row;
}

.obe-cpl-detail-row td {
  padding: 0 16px 14px 46px;
  background: #fafbfd;
  border-bottom: 1px solid #f1f5f9;
}

.obe-cpl-detail-table {
  width: 100%;
  font-size: 0.78rem;
  border-collapse: collapse;
  margin-top: 6px;
}

.obe-cpl-detail-table th {
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.3px;
  padding: 6px 10px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  background: #f1f5f9;
}

.obe-cpl-detail-table td {
  padding: 7px 10px;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.obe-cpl-detail-table tr:last-child td {
  border-bottom: none;
}

.obe-cpl-detail-bobot {
  font-weight: 600;
  color: #4361ee;
}

.obe-cpl-total-row td {
  font-weight: 700;
  color: #0f172a;
  border-top: 2px solid #e2e8f0;
  background: #f8fafc;
}

.obe-mk-info {
  font-size: 0.8rem;
  color: #4361ee;
  font-weight: 600;
  background: #eff3ff;
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid #c7d2fe;
}

.obe-penilaian-label {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 2px;
}

.obe-penilaian-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

.obe-bobot-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
}

.obe-bobot-value.zero {
  color: #cbd5e1;
}

.obe-total-bobot {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.obe-total-bobot.valid {
  color: #059669;
}

.obe-total-bobot.invalid {
  color: #dc2626;
}

.obe-total-bobot .bi {
  font-size: 0.9rem;
}

.obe-akumulasi-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.88rem;
}

.obe-akumulasi-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.obe-log-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
}

.obe-b-terlaksana {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.obe-b-tunda {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.obe-b-batal {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.obe-b-luring {
  background: #eff6ff;
  color: #2563eb;
}

.obe-b-daring {
  background: #faf5ff;
  color: #9333ea;
}

.obe-portofolio-card {
  border-radius: 14px;
  border: 1px solid #e2e8f0 !important;
}

.obe-student-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.obe-student-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4361ee 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.25);
}

.obe-student-avatar i {
  font-size: 1.8rem;
  color: #fff;
}

.obe-student-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
}

.obe-student-npm {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
  background: #f1f5f9;
  padding: 2px 10px;
  border-radius: 6px;
}

.obe-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
}

.obe-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  transition: all 0.2s;
}

.obe-detail-item:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.obe-detail-item>i {
  font-size: 1rem;
  color: #4361ee;
  margin-top: 2px;
  flex-shrink: 0;
}

.obe-detail-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.obe-detail-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.obe-analysis-box {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 14px 16px;
}

.obe-analysis-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 8px;
}

.obe-analysis-text {
  font-size: 0.8rem;
  color: #78350f;
  line-height: 1.5;
}

.obe-mini-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: transform 0.2s;
}

.obe-mini-stat:hover {
  transform: translateY(-2px);
}

.obe-mini-stat-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.obe-mini-stat-success i {
  color: #059669;
  font-size: 1.2rem;
}

.obe-mini-stat-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.obe-mini-stat-warning i {
  color: #d97706;
  font-size: 1.2rem;
}

.obe-mini-stat-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.obe-mini-stat-danger i {
  color: #dc2626;
  font-size: 1.2rem;
}

.obe-mini-stat-val {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0f172a;
  line-height: 1;
}

.obe-mini-stat-lbl {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

.obe-status-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
}

.obe-b-tercapai {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.obe-b-hampir {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.obe-b-belum {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.obe-modal-header {
  background: linear-gradient(135deg, #4361ee 0%, #7c3aed 100%);
  border: none;
  padding: 20px 24px;
}

.obe-modal-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  height: 100%;
}

.obe-modal-stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.obe-modal-stat-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #0f172a;
}

.obe-modal-stat-desc {
  display: block;
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.4;
}

.obe-mk-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
  transition: all 0.2s;
}

.obe-mk-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.08);
}

.obe-mk-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.obe-mk-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.obe-mk-code {
  font-size: 0.75rem;
  color: #64748b;
  font-family: 'Roboto Mono', monospace;
}

.obe-mk-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.obe-mk-meta-item {
  font-size: 0.78rem;
  color: #64748b;
}

.obe-mk-meta-item strong {
  color: #334155;
}

.obe-komponen-table {
  font-size: 0.78rem;
  margin-bottom: 0;
}

.obe-komponen-table thead th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 8px 10px;
  border-bottom: 1.5px solid #e2e8f0;
}

.obe-komponen-table tbody td {
  padding: 8px 10px;
  color: #334155;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

.obe-portofolio-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.obe-portofolio-progress-bar {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  min-width: 80px;
}

.obe-portofolio-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}

.obe-portofolio-progress-val {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: #0f172a;
  min-width: 38px;
  text-align: right;
}

.obe-chart-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.obe-chart-wrapper canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.obe-matrix-wrapper {
  max-height: 70vh;
  overflow: auto;
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.obe-matrix-table {
  min-width: max-content;
  white-space: nowrap;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}

.obe-matrix-table thead th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  z-index: 2;
  text-align: center;
  vertical-align: middle;
  padding: 12px 14px;
  border-bottom: 2px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  white-space: nowrap;
}

.obe-matrix-table tbody td {
  text-align: center;
  vertical-align: middle;
  font-size: 0.85rem;
  padding: 12px 14px;
  background: #fff;
  color: #334155;
  z-index: 0;
  border-bottom: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}

.obe-matrix-table tbody tr:nth-child(even) td {
  background: #fafbfc;
}

.obe-matrix-col-kode {
  position: sticky;
  left: 0;
  min-width: 130px;
  z-index: 3;
}

.obe-matrix-table thead th.obe-matrix-col-kode {
  z-index: 5;
  background: #f8fafc;
  border-right: 2px solid #e2e8f0;
}

.obe-matrix-table tbody td.obe-matrix-col-kode {
  background: #fff;
  border-right: 2px solid #e2e8f0;
  font-weight: 500;
  color: #4361ee;
}

.obe-matrix-table tbody tr:nth-child(even) td.obe-matrix-col-kode {
  background: #fafbfc;
}

.obe-matrix-col-nama {
  position: sticky;
  left: 130px;
  min-width: 240px;
  z-index: 3;
}

.obe-matrix-table thead th.obe-matrix-col-nama {
  z-index: 5;
  background: #f8fafc;
  box-shadow: 3px 0 6px rgba(0, 0, 0, 0.04);
}

.obe-matrix-table tbody td.obe-matrix-col-nama {
  background: #fff;
  text-align: left !important;
  box-shadow: 3px 0 6px rgba(0, 0, 0, 0.03);
  border-right: 1px solid #f1f5f9;
  font-weight: 500;
  color: #1e293b;
}

.obe-matrix-table tbody tr:nth-child(even) td.obe-matrix-col-nama {
  background: #fafbfc;
}

.obe-matrix-cell-active {
  background: linear-gradient(135deg, #4361ee 0%, #3b82f6 100%) !important;
  z-index: 0 !important;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.obe-matrix-table tbody tr:hover td:not(.obe-matrix-cell-active) {
  background-color: #f0f4ff;
}

.obe-matrix-table tbody tr:hover td.obe-matrix-col-kode,
.obe-matrix-table tbody tr:hover td.obe-matrix-col-nama {
  background-color: #f0f4ff;
}

.obe-matrix-cpl-header {
  cursor: help;
  position: relative;
  max-width: 85px;
  min-width: 65px;
  padding: 12px 8px !important;
  text-align: center !important;
}

.obe-matrix-tooltip {
  position: fixed;
  background: #1d2939;
  color: #f0f4ff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: normal;
  min-width: 200px;
  max-width: 280px;
  z-index: 99999;
  text-align: left;
  font-weight: 400;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  line-height: 1.4;
  display: none;
}

/* ══════════════════════════════════════════════════════════════
   Theme: New Modern (Light) - Components & Utilities
   Prefix: modern-
   ══════════════════════════════════════════════════════════════ */

/* ── Page Header ── */
.modern-page-header,
.kp-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.modern-header-left,
.kp-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modern-header-icon,
.kp-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.25);
}

.modern-header-icon i,
.kp-header-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.modern-page-title,
.kp-page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.3px;
  margin-bottom: 2px;
}

.modern-page-subtitle,
.kp-page-subtitle {
  font-size: 0.85rem;
  color: #64748b;
}

.modern-header-actions,
.kp-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Export Button ── */
.modern-btn-export,
.kp-btn-export {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c3e6b 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.modern-btn-export:hover:not(:disabled),
.kp-btn-export:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.3);
  color: #fff;
}

.modern-btn-export:disabled,
.kp-btn-export:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: #fff;
}

/* ── Stat Cards ── */
.modern-stat-card,
.kp-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.modern-stat-card:hover,
.kp-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.modern-stat-icon-wrap,
.kp-stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modern-stat-icon-wrap i,
.kp-stat-icon-wrap i {
  font-size: 1.4rem;
}

.modern-stat-blue .modern-stat-icon-wrap,
.kp-stat-blue .kp-stat-icon-wrap {
  background: #eff3ff;
}

.modern-stat-blue .modern-stat-icon-wrap i,
.kp-stat-blue .kp-stat-icon-wrap i {
  color: #4361ee;
}

.modern-stat-red .modern-stat-icon-wrap,
.kp-stat-red .kp-stat-icon-wrap {
  background: #fef2f2;
}

.modern-stat-red .modern-stat-icon-wrap i,
.kp-stat-red .kp-stat-icon-wrap i {
  color: #ef4444;
}

.modern-stat-green .modern-stat-icon-wrap,
.kp-stat-green .kp-stat-icon-wrap {
  background: #ecfdf5;
}

.modern-stat-green .modern-stat-icon-wrap i,
.kp-stat-green .kp-stat-icon-wrap i {
  color: #10b981;
}

.modern-stat-amber .modern-stat-icon-wrap,
.kp-stat-amber .kp-stat-icon-wrap {
  background: #fffbeb;
}

.modern-stat-amber .modern-stat-icon-wrap i,
.kp-stat-amber .kp-stat-icon-wrap i {
  color: #d97706;
}

.modern-stat-cyan .modern-stat-icon-wrap {
  background: #f0f9ff;
}

.modern-stat-cyan .modern-stat-icon-wrap i {
  color: #0284c7;
}

.modern-stat-label,
.kp-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.modern-stat-value,
.kp-stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 0;
}

.modern-stat-badge,
.kp-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 6px;
}

.modern-badge-danger,
.kp-badge-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.modern-badge-info {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.modern-badge-warning {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.modern-badge-secondary {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.modern-badge-keterangan {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* ── Table Card ── */
.modern-table-card,
.kp-table-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.modern-search-box,
.kp-search-box {
  position: relative;
  min-width: 260px;
}

.modern-search-box i,
.kp-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
}

.modern-search-box input,
.kp-search-box input {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 14px 9px 38px;
  font-size: 0.85rem;
  color: #1e293b;
  transition: all 0.2s;
  background: #f8fafc;
}

.modern-search-box input:focus,
.kp-search-box input:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  background: #fff;
  outline: none;
}

/* ── Table ── */
.modern-table,
.kp-table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}

.modern-table thead th,
.kp-table thead th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
  vertical-align: middle;
}

.modern-table tbody td,
.kp-table tbody td {
  padding: 16px;
  color: #334155;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}

.modern-table tbody tr:hover td,
.kp-table tbody tr:hover td {
  background-color: #f8faff;
}

.modern-info-stack,
.kp-mahasiswa-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modern-text-primary,
.kp-npm {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
}

.modern-text-secondary,
.kp-nama {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 400;
}

.modern-text-mono,
.kp-telp {
  font-size: 0.85rem;
  color: #475569;
  font-family: 'Roboto', sans-serif;
}

.modern-prodi-badge,
.kp-prodi-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.modern-dosen-name,
.kp-dosen-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 500;
}

.modern-dosen-name i,
.kp-dosen-name i {
  color: #4361ee;
  font-size: 0.9rem;
}

.modern-text-empty,
.kp-belum-ditetapkan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #94a3b8;
  font-style: italic;
}

.modern-text-empty i,
.kp-belum-ditetapkan i {
  font-size: 0.85rem;
}

/* ── Action Buttons ── */
.modern-btn-action,
.kp-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.modern-btn-action:hover,
.kp-btn-action:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.modern-btn-action-edit {
  background: #eff3ff;
  color: #4361ee;
  border: 1.5px solid #c7d2fe;
  width: 38px;
  height: 38px;
  padding: 7px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modern-btn-action-edit:hover {
  background: #e0e7ff;
  color: #3b52d4;
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.15);
}

.modern-btn-action-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1.5px solid #fecaca;
  width: 38px;
  height: 38px;
  padding: 7px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modern-btn-action-danger:hover {
  background: #fee2e2;
  color: #b91c1c;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.modern-btn-action-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1.5px solid #bbf7d0;
  width: 38px;
  height: 38px;
  padding: 7px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modern-btn-action-success:hover {
  background: #dcfce7;
  color: #15803d;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.15);
}

.modern-btn-action-warning {
  background: #fffbeb;
  color: #d97706;
  border: 1.5px solid #fde68a;
  width: 38px;
  height: 38px;
  padding: 7px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modern-btn-action-warning:hover {
  background: #fef3c7;
  color: #b45309;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
}

.modern-btn-action-info {
  background: #eff6ff;
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
  width: 38px;
  height: 38px;
  padding: 7px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modern-btn-action-info:hover {
  background: #dbeafe;
  color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.modern-btn-outline-secondary {
  background: #f8fafc;
  color: #475569;
  border: 1.5px solid #e2e8f0;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.modern-btn-outline-secondary:hover {
  background: #f1f5f9;
  color: #334155;
  box-shadow: 0 2px 8px rgba(71, 85, 105, 0.1);
  transform: translateY(-1px);
  text-decoration: none;
}

.modern-btn-primary,
.kp-btn-tetapkan {
  background: linear-gradient(135deg, #4361ee, #3b82f6);
  color: #fff;
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.modern-btn-primary:hover,
.kp-btn-tetapkan:hover {
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.modern-btn-secondary,
.kp-btn-ganti {
  background: #f0fdf4;
  color: #16a34a;
  border: 1.5px solid #86efac;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.modern-btn-secondary:hover,
.kp-btn-ganti:hover {
  background: #dcfce7;
  color: #15803d;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.15);
  transform: translateY(-1px);
}

/* ── Status Badges ── */
.modern-status-badge,
.kp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 600;
  white-space: nowrap;
}

.modern-status-badge i,
.kp-status-badge i {
  font-size: 0.5rem;
}

.modern-status-pending,
.kp-status-pending {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.modern-status-verified,
.kp-status-verified {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.modern-status-approved,
.kp-status-approved {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.modern-status-warning {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.modern-status-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.modern-status-draft {
  background: #f8fafc;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}

.modern-status-purple {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.modern-status-none,
.kp-status-none {
  background: #f8fafc;
  color: #cbd5e1;
  border: 1px solid #e2e8f0;
}

/* ── Pagination ── */
.modern-pagination-wrap,
.kp-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 12px;
}

.modern-pagination-info,
.kp-pagination-info {
  font-size: 0.8rem;
  color: #64748b;
}

.modern-pagination,
.kp-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}

.modern-page-btn,
.kp-page-btn {
  min-width: 36px;
  height: 36px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #475569;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.modern-page-btn:hover:not(.active):not(:disabled),
.kp-page-btn:hover:not(.active):not(:disabled) {
  border-color: #4361ee;
  color: #4361ee;
  background: #eff3ff;
}

.modern-page-btn.active,
.kp-page-btn.active {
  background: #4361ee;
  border-color: #4361ee;
  color: #fff;
  font-weight: 600;
}

.modern-page-btn:disabled,
.modern-page-btn.disabled,
.kp-page-btn:disabled,
.kp-page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Spinner ── */
.modern-spinner,
.kp-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 10px;
  color: #64748b;
  font-size: 0.88rem;
}

/* ── List Item ── */
.modern-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 8px;
}

.modern-list-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #eef2ff;
  border-radius: 8px;
  color: #4361ee;
  font-size: 1rem;
}

.modern-list-item-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
}

.modern-list-btn-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #fee2e2;
  border: none;
  border-radius: 8px;
  color: #ef4444;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.modern-list-btn-delete:hover {
  background: #fecaca;
  color: #dc2626;
}

.modern-list-empty {
  text-align: center;
  padding: 20px 0;
  color: #94a3b8;
}

.modern-list-empty i {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.modern-separator {
  border-top: 1px solid #e2e8f0;
}

/* ── Animation ── */
@keyframes modernFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kpFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══ Pemetaan Page ══ */

/* ── Back Link ── */
.modern-back-link,
.kp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4361ee;
  margin-bottom: 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.modern-back-link:hover,
.kp-back-link:hover {
  color: #3730a3;
  gap: 8px;
}

.modern-section-header,
.kp-pemetaan-header {
  margin-bottom: 24px;
}

/* ── Profile Card ── */
.modern-profile-card,
.kp-profile-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.modern-profile-card::before,
.kp-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3a5f, #4361ee);
}

.modern-profile-label,
.kp-profile-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4361ee;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.modern-profile-label i,
.kp-profile-label i {
  font-size: 0.9rem;
}

.modern-profile-info,
.kp-profile-info {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.modern-profile-name,
.kp-profile-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.modern-profile-npm,
.kp-profile-npm {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4361ee;
  background: #eff3ff;
  padding: 3px 12px;
  border-radius: 6px;
}

.modern-profile-details,
.kp-profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modern-profile-detail-item,
.kp-profile-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  transition: all 0.2s;
}

.modern-profile-detail-item:hover,
.kp-profile-detail-item:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.modern-profile-detail-item>i,
.kp-profile-detail-item>i {
  font-size: 1rem;
  color: #4361ee;
  margin-top: 2px;
  flex-shrink: 0;
}

.modern-detail-label,
.kp-detail-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.modern-detail-value,
.kp-detail-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.modern-current-info,
.kp-current-pembimbing {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modern-current-label,
.kp-current-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 4px;
}

.modern-current-name,
.kp-current-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #78350f;
}

/* ── Kuota Card ── */
.modern-kuota-card,
.kp-kuota-card {
  background: #fff;
  border: 1.5px solid #fecaca;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(239, 68, 68, 0.06);
}

.modern-kuota-label,
.kp-kuota-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.modern-kuota-label i,
.kp-kuota-label i {
  font-size: 0.9rem;
}

.modern-kuota-item,
.kp-kuota-item {
  margin-bottom: 14px;
}

.modern-kuota-item:last-child,
.kp-kuota-item:last-child {
  margin-bottom: 0;
}

.modern-kuota-item-header,
.kp-kuota-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.modern-kuota-name,
.kp-kuota-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.modern-kuota-count,
.kp-kuota-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.modern-kuota-progress,
.kp-kuota-progress {
  height: 8px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
}

.modern-kuota-progress-fill,
.kp-kuota-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease;
}

/* ── Penugasan Card ── */
.modern-assignment-card,
.kp-penugasan-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.modern-assignment-header,
.kp-penugasan-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.modern-assignment-body,
.kp-penugasan-body {
  padding: 24px;
}

.modern-field-label,
.kp-field-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  display: block;
}

/* ── Dosen Search ── */
.modern-dosen-search-box,
.kp-dosen-search-box {
  position: relative;
}

.modern-dosen-search-box i,
.kp-dosen-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
}

.modern-dosen-search-box input,
.kp-dosen-search-box input {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px 10px 38px;
  font-size: 0.85rem;
  color: #1e293b;
  transition: all 0.2s;
  background: #f8fafc;
  width: 100%;
}

.modern-dosen-search-box input:focus,
.kp-dosen-search-box input:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  background: #fff;
  outline: none;
}

/* ── Dosen List ── */
.modern-dosen-list,
.kp-dosen-list {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
}

.modern-dosen-list::-webkit-scrollbar,
.kp-dosen-list::-webkit-scrollbar {
  width: 5px;
}

.modern-dosen-list::-webkit-scrollbar-thumb,
.kp-dosen-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
}

.modern-dosen-item,
.kp-dosen-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  gap: 12px;
}

.modern-dosen-item:hover,
.kp-dosen-item:hover {
  border-color: #c7d2fe;
  background: #f8faff;
}

.modern-dosen-item.selected,
.kp-dosen-item.selected {
  border-color: #4361ee;
  background: #eff3ff;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.modern-dosen-item-left,
.kp-dosen-item-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.modern-dosen-item-name,
.kp-dosen-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modern-dosen-item.selected .modern-dosen-item-name,
.kp-dosen-item.selected .kp-dosen-item-name {
  color: #3730a3;
}

.modern-dosen-item-nik,
.kp-dosen-item-nik {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 400;
}

.modern-bimbingan-badge,
.kp-bimbingan-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.modern-bimbingan-badge-active,
.kp-bimbingan-badge-active {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.modern-bimbingan-badge-empty,
.kp-bimbingan-badge-empty {
  background: #f8fafc;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}

/* ── Selected Dosen ── */
.modern-selected-dosen,
.kp-selected-dosen {
  background: #eff3ff;
  border: 1.5px solid #c7d2fe;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 12px;
}

.modern-selected-label,
.kp-selected-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.modern-selected-name,
.kp-selected-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #3730a3;
  margin-left: 4px;
}

.modern-btn-clear,
.kp-btn-clear {
  border: none;
  background: transparent;
  color: #94a3b8;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.15s;
}

.modern-btn-clear:hover,
.kp-btn-clear:hover {
  background: #fef2f2;
  color: #dc2626;
}

/* ── Note ── */
.modern-note,
.kp-note {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.modern-note i,
.kp-note i {
  color: #cbd5e1;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Submit Button ── */
.modern-btn-submit,
.kp-btn-submit {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.modern-btn-submit:hover:not(:disabled),
.kp-btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 41, 59, 0.3);
  color: #fff;
}

.modern-btn-submit:disabled,
.kp-btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {

  .modern-profile-details,
  .kp-profile-details {
    grid-template-columns: 1fr;
  }

  .modern-search-box,
  .kp-search-box {
    min-width: 100%;
  }
}

@media (max-width: 767.98px) {

  .modern-page-header,
  .kp-page-header {
    flex-direction: column;
  }

  .modern-header-actions,
  .kp-header-actions {
    width: 100%;
  }

  .modern-btn-export,
  .kp-btn-export {
    width: 100%;
    justify-content: center;
  }

  .modern-stat-value,
  .kp-stat-value {
    font-size: 1.6rem;
  }

  .modern-pagination-wrap,
  .kp-pagination-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Verifikasi Pembimbing Panels ── */
.modern-verifikasi-panel,
.kp-verifikasi-panel {
  transition: all 0.3s ease;
}

.modern-verifikasi-panel:hover,
.kp-verifikasi-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

/* Scrollbar for Monitoring Panel */
#monitoringContainer::-webkit-scrollbar {
  width: 6px;
}

#monitoringContainer::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 4px;
}

#monitoringContainer::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 4px;
}

#monitoringContainer::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Scrollbar for Dosen Dropdown */
#dosenDropdown::-webkit-scrollbar {
  width: 6px;
}

#dosenDropdown::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

#dosenDropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

#dosenDropdown::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ============ Penjadwalan Seminar Grid ============ */
.modern-grid-table,
.kp-grid-table {
  border-collapse: separate;
  border-spacing: 0;
}

.modern-grid-table thead,
.kp-grid-table thead {
  position: sticky;
  top: 0;
  z-index: 3;
}

.modern-grid-th-time,
.kp-grid-th-time {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px !important;
  min-width: 100px;
  position: sticky;
  left: 0;
  z-index: 4;
  border-right: 2px solid #e2e8f0;
  border-bottom: 2px solid #e2e8f0;
}

.modern-grid-th-room,
.kp-grid-th-room {
  background: #f8fafc;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 14px 16px !important;
  min-width: 160px;
  text-align: center;
  white-space: nowrap;
  border-bottom: 2px solid #e2e8f0;
}

.modern-grid-td-time,
.kp-grid-td-time {
  background: #f8fafc;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 16px !important;
  text-align: center;
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 2px solid #e2e8f0;
  line-height: 1.4;
}

.modern-grid-td-cell,
.kp-grid-td-cell {
  padding: 8px !important;
  vertical-align: middle;
  text-align: center;
  border: 1px solid #f1f5f9;
  min-height: 70px;
}

.modern-grid-available,
.kp-grid-available {
  cursor: pointer;
  transition: all 0.2s ease;
}

.modern-grid-available:hover,
.kp-grid-available:hover {
  background: #eff3ff;
}

.modern-grid-available-content,
.kp-grid-available-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  font-size: 0.78rem;
  padding: 10px 0;
  transition: color 0.2s;
}

.modern-grid-available:hover .modern-grid-available-content,
.kp-grid-available:hover .kp-grid-available-content {
  color: #4361ee;
}

.modern-grid-occupied,
.kp-grid-occupied {
  background: #f0f4ff;
}

.modern-grid-occupied-content,
.kp-grid-occupied-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 6px;
  background: linear-gradient(135deg, #4361ee, #3b82f6);
  border-radius: 10px;
  color: #fff;
}

.modern-grid-occ-name,
.kp-grid-occ-name {
  font-weight: 700;
  font-size: 0.82rem;
}

.modern-grid-occ-time,
.kp-grid-occ-time {
  font-size: 0.7rem;
  opacity: 0.85;
}

.modern-grid-blocked,
.kp-grid-blocked {
  background: #fef2f2;
}

.modern-grid-blocked-content,
.kp-grid-blocked-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #ef4444;
  font-size: 0.75rem;
  padding: 8px 0;
}

@media (max-width: 768px) {

  .modern-grid-th-room,
  .modern-grid-td-cell,
  .kp-grid-th-room,
  .kp-grid-td-cell {
    min-width: 130px;
  }

  .modern-grid-th-time,
  .modern-grid-td-time,
  .kp-grid-th-time,
  .kp-grid-td-time {
    min-width: 80px;
    font-size: 0.75rem;
  }
}

/* ============ Penilaian Seminar KP ============ */

/* Info Banner */
.modern-info-banner,
.penilaian-info-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #1e40af;
  line-height: 1.6;
}

.modern-info-banner i,
.penilaian-info-banner i {
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Status Badges */
.modern-status-revisi,
.penilaian-status-revisi {
  background: #fff7ed !important;
  color: #ea580c !important;
  border: 1px solid #fed7aa !important;
}

.modern-status-selesai,
.penilaian-status-selesai {
  background: #f0fdf4 !important;
  color: #16a34a !important;
  border: 1px solid #bbf7d0 !important;
}

/* Locked badge */
.modern-badge-locked,
.penilaian-badge-locked {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 12px;
}

/* Info Card */
.modern-info-card,
.penilaian-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.modern-info-card-icon,
.penilaian-info-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4361ee 0%, #738ef5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
}

.modern-info-card-content,
.penilaian-info-card-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.modern-info-card-label,
.penilaian-info-card-label,
.modern-info-label,
.penilaian-info-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.modern-info-card-value,
.penilaian-info-card-value,
.modern-info-value,
.penilaian-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Draft Card */
.modern-draft-card,
.penilaian-draft-card {
  background: linear-gradient(135deg, #eff6ff, #f0f4ff);
  border: 1.5px solid #bfdbfe;
  border-radius: 14px;
  padding: 18px 22px;
}

.modern-btn-naskah,
.penilaian-btn-naskah {
  background: #fff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.modern-btn-naskah:hover,
.penilaian-btn-naskah:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #1e293b;
}

/* Form Card */
.modern-form-card,
.penilaian-form-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Nilai Label & Input */
.modern-nilai-label,
.penilaian-nilai-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
  display: block;
}

.modern-nilai-input,
.penilaian-nilai-input {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modern-nilai-input:focus,
.penilaian-nilai-input:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  outline: none;
}

.modern-nilai-input.is-invalid,
.penilaian-nilai-input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.modern-nilai-input::placeholder,
.penilaian-nilai-input::placeholder {
  color: #cbd5e1;
}

/* Textarea */
.modern-textarea,
.penilaian-textarea {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: #1e293b;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modern-textarea:focus,
.penilaian-textarea:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  outline: none;
}

.modern-textarea::placeholder,
.penilaian-textarea::placeholder {
  color: #cbd5e1;
  font-size: 0.84rem;
}

/* Date Input */
.modern-input-date,
.penilaian-input-date {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #1e293b;
  max-width: 280px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modern-input-date:focus,
.penilaian-input-date:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  outline: none;
}

/* Status Select */
.modern-select-status,
.penilaian-select-status {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #1e293b;
  max-width: 280px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modern-select-status:focus,
.penilaian-select-status:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  outline: none;
}

/* Buttons */
.modern-btn-cancel,
.penilaian-btn-cancel {
  background: #fff;
  color: #475569;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}

.modern-btn-cancel:hover,
.penilaian-btn-cancel:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.modern-btn-simpan,
.penilaian-btn-simpan {
  background: linear-gradient(135deg, #4361ee, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.modern-btn-simpan:hover,
.penilaian-btn-simpan:hover {
  background: linear-gradient(135deg, #3b53d9, #2563eb);
  box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

.modern-btn-simpan:disabled,
.penilaian-btn-simpan:disabled {
  opacity: 0.65;
  transform: none;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 767.98px) {
  .modern-info-banner,
  .penilaian-info-banner {
    font-size: 0.8rem;
    padding: 12px 14px;
  }

  .modern-draft-card,
  .penilaian-draft-card {
    flex-direction: column;
    text-align: center;
  }

  .modern-input-date,
  .modern-select-status,
  .penilaian-input-date,
  .penilaian-select-status {
    max-width: 100%;
  }
}

/* ============ Master Mata Kuliah ============ */
.modern-kode-badge,
.mk-kode-badge {
  display: inline-block;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.5px;
}

.modern-badge,
.mk-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.modern-badge-wu,
.mk-badge-wu {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.modern-badge-wk,
.mk-badge-wk {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

/* ============ Summernote - Modern Theme ============ */

.note-editor.note-frame {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.note-editor.note-frame:hover {
  border-color: #cbd5e1;
}

.note-editor.note-frame.focused {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.12);
}

/* Toolbar */
.note-editor .note-toolbar {
  background: #f8fafc;
  border-bottom: 1.5px solid #e2e8f0;
  padding: 8px 12px;
  border-radius: 12px 12px 0 0;
}

.note-editor .note-toolbar .note-btn-group {
  margin-right: 6px;
}

.note-editor .note-toolbar .note-btn {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  font-size: 0.82rem;
  padding: 6px 10px;
  transition: all 0.2s ease;
  box-shadow: none;
}

.note-editor .note-toolbar .note-btn:hover {
  background: #eff3ff;
  border-color: #c7d2fe;
  color: #4361ee;
}

.note-editor .note-toolbar .note-btn.active,
.note-editor .note-toolbar .note-btn:active {
  background: #4361ee;
  border-color: #4361ee;
  color: #fff;
  box-shadow: 0 2px 6px rgba(67, 97, 238, 0.3);
}

.note-editor .note-toolbar .note-btn:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.12);
  outline: none;
}

.note-editor .note-toolbar .note-color-btn {
  border-radius: 8px;
}

/* Editing Area */
.note-editor .note-editing-area {
  background: #fff;
}

.note-editor .note-editing-area .note-editable {
  padding: 18px 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  color: #1e293b;
  line-height: 1.7;
  min-height: 180px;
}

.note-editor .note-editing-area .note-editable:focus {
  outline: none;
}

.note-editor .note-editing-area .note-editable p {
  color: #334155;
  margin-bottom: 0.75rem;
}

.note-editor .note-editing-area .note-codable {
  background: #1e293b;
  color: #e2e8f0;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.82rem;
  padding: 16px 20px;
  border: none;
  border-radius: 0;
}

/* Placeholder */
.note-editor .note-editing-area .note-placeholder {
  color: #94a3b8;
  font-size: 0.88rem;
  padding: 18px 20px;
}

/* Statusbar */
.note-editor .note-statusbar {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-radius: 0 0 12px 12px;
}

.note-editor .note-statusbar .note-resizebar {
  border-top: none;
  padding: 4px 0;
}

.note-editor .note-statusbar .note-resizebar .note-icon-bar {
  border-top: 1px solid #cbd5e1;
  width: 24px;
}

/* Dropdowns */
.note-editor .note-toolbar .dropdown-menu {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 6px;
  margin-top: 4px;
  animation: modernFadeIn 0.2s ease;
}

.note-editor .note-toolbar .dropdown-menu .dropdown-item {
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #334155;
  transition: all 0.15s ease;
}

.note-editor .note-toolbar .dropdown-menu .dropdown-item:hover,
.note-editor .note-toolbar .dropdown-menu .dropdown-item:focus {
  background: #eff3ff;
  color: #4361ee;
}

.note-editor .note-toolbar .dropdown-menu .dropdown-item.active {
  background: #4361ee;
  color: #fff;
}

/* Font Size & Style Dropdowns */
.note-editor .note-toolbar .note-fontsize-10 {
  font-size: 10px;
}

.note-editor .dropdown-fontname .dropdown-item {
  padding: 6px 12px;
}

/* Color Palette */
.note-editor .note-color-palette .note-color-row {
  gap: 2px;
}

.note-editor .note-color-palette .note-color-btn {
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  transition: transform 0.15s ease;
}

.note-editor .note-color-palette .note-color-btn:hover {
  transform: scale(1.3);
  z-index: 1;
}

/* Link Dialog & Modal */
.note-modal .modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.note-modal .modal-header {
  background: linear-gradient(135deg, #4361ee 0%, #3b82f6 100%);
  border: none;
  padding: 18px 24px;
}

.note-modal .modal-header .modal-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

.note-modal .modal-header .close,
.note-modal .modal-header .btn-close {
  color: #fff;
  opacity: 0.8;
  text-shadow: none;
  filter: brightness(0) invert(1);
}

.note-modal .modal-header .close:hover,
.note-modal .modal-header .btn-close:hover {
  opacity: 1;
}

.note-modal .modal-body {
  padding: 24px;
}

.note-modal .modal-body .form-group {
  margin-bottom: 16px;
}

.note-modal .modal-body label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.note-modal .modal-body .form-control,
.note-modal .modal-body .note-form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #1e293b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.note-modal .modal-body .form-control:focus,
.note-modal .modal-body .note-form-control:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.12);
  outline: none;
}

.note-modal .modal-footer {
  border-top: 1px solid #f1f5f9;
  padding: 16px 24px;
  gap: 8px;
}

.note-modal .modal-footer .note-btn,
.note-modal .modal-footer .btn {
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  transition: all 0.2s ease;
}

.note-modal .modal-footer .btn-primary,
.note-modal .modal-footer .note-btn-primary {
  background: linear-gradient(135deg, #4361ee, #3b82f6);
  border: none;
  color: #fff;
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.3);
}

.note-modal .modal-footer .btn-primary:hover,
.note-modal .modal-footer .note-btn-primary:hover {
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.4);
  transform: translateY(-1px);
}

.note-modal .modal-footer .btn-default,
.note-modal .modal-footer .note-btn-default {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
}

.note-modal .modal-footer .btn-default:hover,
.note-modal .modal-footer .note-btn-default:hover {
  background: #f1f5f9;
  color: #1e293b;
}

/* Popover (Link/Image Tooltip) */
.note-popover .popover-content,
.note-popover .note-popover-content {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 6px 8px;
}

.note-popover .popover-content .note-btn,
.note-popover .note-popover-content .note-btn {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  color: #475569;
  font-size: 0.78rem;
  padding: 4px 8px;
  transition: all 0.15s ease;
}

.note-popover .popover-content .note-btn:hover,
.note-popover .note-popover-content .note-btn:hover {
  background: #eff3ff;
  border-color: #c7d2fe;
  color: #4361ee;
}

/* Hint (Autocomplete) */
.note-hint-popover {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.note-hint-popover .popover-content .note-hint-group .note-hint-item {
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #334155;
  transition: background 0.15s ease;
}

.note-hint-popover .popover-content .note-hint-group .note-hint-item.active,
.note-hint-popover .popover-content .note-hint-group .note-hint-item:hover {
  background: #eff3ff;
  color: #4361ee;
}

/* Fullscreen Mode */
.note-editor.note-frame.fullscreen {
  border-radius: 0;
  z-index: 9999;
}

.note-editor.note-frame.fullscreen .note-toolbar {
  border-radius: 0;
}

.note-editor.note-frame.fullscreen .note-statusbar {
  border-radius: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .note-editor .note-toolbar {
    padding: 6px 8px;
  }

  .note-editor .note-toolbar .note-btn {
    padding: 5px 8px;
    font-size: 0.78rem;
  }

  .note-editor .note-editing-area .note-editable {
    padding: 14px 16px;
    font-size: 0.88rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   KP Modern Components — Standarisasi Classes
   ══════════════════════════════════════════════════════════════ */

/* ── Modal Standard ── */
.modern-modal .modal-content {
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.modern-modal .modal-header {
  border-bottom: 1px solid #f1f5f9;
  padding: 20px 24px;
}

.modern-modal .modal-header .modal-title {
  font-weight: 700;
  color: #1e293b;
  font-size: 1rem;
  margin: 0;
}

.modern-modal .modal-body {
  padding: 24px;
}

.modern-modal .modal-footer {
  border-top: 1px solid #f1f5f9;
  padding: 16px 24px;
}

/* ── Form Control Standard ── */
.modern-form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.modern-form-control:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  outline: none;
}

.modern-form-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.modern-form-control:disabled {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

/* ── Select with modern-form-control (Safari/macOS Fix) ── */
select.modern-form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 36px;
  cursor: pointer;
}

select.modern-form-control:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  outline: none;
}

select.modern-form-control:disabled {
  background-color: #f1f5f9;
  cursor: not-allowed;
}

/* ── Select2 with modern-form-control (Safari/macOS Fix) ── */
.modern-modal .select2-container--default .select2-selection--single {
  height: 40px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 6px 14px !important;
  background-color: #fff !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.modern-modal .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 26px !important;
  color: #1e293b !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  padding-left: 0 !important;
}

.modern-modal .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

.modern-modal .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px !important;
  right: 10px !important;
}

.modern-modal .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #4361ee !important;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1) !important;
}

.modern-modal .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #4361ee !important;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1) !important;
}

/* Select2 Dropdown Styling for Modern Modal */
.select2-container--default .select2-dropdown {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  margin-top: 4px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 0.85rem !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #4361ee !important;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1) !important;
  outline: none !important;
}

.select2-container--default .select2-results__option {
  padding: 10px 14px !important;
  font-size: 0.85rem !important;
  color: #334155 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #eff3ff !important;
  color: #4361ee !important;
}

.select2-container--default .select2-results__option--selected {
  background-color: #f8fafc !important;
  color: #1e293b !important;
}

/* Select2 Multiple in Modern Modal (Safari/macOS Fix) */
.modern-modal .select2-container--default .select2-selection--multiple {
  min-height: 40px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 4px 10px !important;
  background-color: #fff !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.modern-modal .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #4361ee !important;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1) !important;
}

.modern-modal .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #eff3ff !important;
  border: 1px solid #c7d2fe !important;
  border-radius: 6px !important;
  color: #3730a3 !important;
  padding: 4px 8px 4px 24px !important;
  margin-top: 4px !important;
  margin-right: 4px !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
}

.modern-modal .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #6366f1 !important;
  font-size: 1.2rem !important;
  left: 6px !important;
}

.modern-modal .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #dc2626 !important;
}

/* ── Select Standard ── */
.modern-form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 36px 9px 14px;
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modern-form-select:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  outline: none;
}

/* ── Form Label Standard ── */
.modern-form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
  display: block;
}

/* ── Input Group with Icon ── */
.modern-input-group {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modern-input-group:focus-within {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.modern-input-group i {
  color: #4361ee;
  font-size: 1rem;
  flex-shrink: 0;
}

.modern-input-group input,
.modern-input-group select {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  width: 100%;
}

.modern-input-group input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* ── Modal Action Buttons ── */
.modern-modal-btn-cancel {
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  transition: all 0.2s;
}

.modern-modal-btn-cancel:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.modern-modal-btn-submit {
  background: linear-gradient(135deg, #1e3a8a, #4361ee);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
}

.modern-modal-btn-submit:hover {
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

.modern-modal-btn-submit:disabled {
  opacity: 0.65;
  transform: none;
  cursor: not-allowed;
}

/* ── Delete/Danger Button ── */
.modern-btn-danger {
  background: #fef2f2;
  color: #ef4444;
  border: 1.5px solid #fecaca;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.modern-btn-danger:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: translateY(-1px);
}

/* ── Success Button ── */
.modern-btn-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1.5px solid #bbf7d0;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.modern-btn-success:hover {
  background: #dcfce7;
  color: #15803d;
  transform: translateY(-1px);
}

/* ── Edit Button ── */
.modern-btn-edit {
  background: #f0f4ff;
  color: #4361ee;
  border: 1.5px solid #c7d2fe;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.modern-btn-edit:hover {
  background: #e0e7ff;
  color: #3b53d9;
  transform: translateY(-1px);
  text-decoration: none;
}

/* ── Finalisasi Button ── */
.modern-finalisasi-btn {
  background: #ecfdf5;
  color: #059669;
  border: 1.5px solid #a7f3d0;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.modern-finalisasi-btn:hover {
  background: #d1fae5;
  color: #047857;
  transform: translateY(-1px);
}

.modern-finalisasi-btn:active {
  transform: translateY(0);
}

/* ── Filter/Table Body Spacing ── */
.modern-filter-body {
  padding: 20px 24px;
}

.modern-table-body {
  padding: 24px;
}

.modern-filter-icon {
  color: #4361ee;
  font-size: 1.1rem;
}

.modern-filter-title {
  color: #1e293b;
  font-size: 1.05rem;
}

/* ── Detail Group (Modal) ── */
.modern-detail-group {
  margin-bottom: 4px;
}

.modern-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  display: block;
}

.modern-detail-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
  margin: 0;
  word-break: break-word;
}

/* ── Status Locked Badge ── */
.modern-status-locked {
  background: #f1f5f9;
  color: #64748b;
}

/* ── Approve Button Action ── */
.modern-btn-approve {
  color: #059669;
}

.modern-btn-approve:hover {
  background: #ecfdf5;
  color: #047857;
}

/* ── File Link ── */
.modern-file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #dc2626;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: 8px;
  padding: 8px 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.modern-file-link:hover {
  background: #fee2e2;
  color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.modern-file-link i {
  font-size: 1rem;
}

/* ── Detail Button ── */
.modern-btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4361ee;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 8px;
  padding: 6px 12px;
  transition: all 0.2s ease;
}

.modern-btn-detail:hover {
  background: #dbeafe;
  color: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.15);
}

/* ── Monitoring Progres KP ── */
.modern-stat-clickable {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.modern-stat-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67, 97, 238, 0.12);
}

.modern-stat-active {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67, 97, 238, 0.18);
  border: 1.5px solid #4361ee;
}

.modern-logbook-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.modern-logbook-bar {
  width: 60px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.modern-logbook-fill {
  height: 100%;
  background: linear-gradient(90deg, #4361ee, #3b82f6);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.modern-logbook-text {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

.modern-tahap-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.modern-tahap-1 {
  background: #eff6ff;
  color: #2563eb;
}

.modern-tahap-2 {
  background: #fffbeb;
  color: #d97706;
}

.modern-tahap-3 {
  background: #faf5ff;
  color: #7c3aed;
}

.modern-tahap-4 {
  background: #ecfdf5;
  color: #059669;
}

.modern-tahap-5 {
  background: #f0fdf4;
  color: #16a34a;
}

.modern-tahap-6 {
  background: #eff6ff;
  color: #1d4ed8;
}

.modern-tahap-7 {
  background: #f0fdf4;
  color: #047857;
  border: 1px solid #a7f3d0;
}

@media (max-width: 768px) {
  .modern-logbook-bar {
    width: 40px;
  }

  .modern-tahap-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
}

/* Komponen Penilaian TA */
.modern-bobot-badge {
  display: inline-block;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4361ee;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 6px;
  padding: 3px 8px;
}

.modern-card-body {
  padding: 24px;
}

.modern-icon-primary {
  color: #4361ee;
  font-size: 1.1rem;
}

.modern-section-title {
  color: #1e293b;
  font-size: 1.05rem;
}

.modern-modal-icon {
  color: #4361ee;
  font-size: 1.1rem;
}

/* Alur Kegiatan TA - Info Banner */
.modern-info-banner {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 28px;
  height: 100%;
  display: flex;
  align-items: center;
}

.modern-info-banner-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4361ee;
  font-size: 1.2rem;
}

/* Alur Kegiatan TA - Timeline/Stepper */
.modern-timeline {
  position: relative;
  padding-left: 28px;
}

.modern-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: #e2e8f0;
}

.modern-timeline-item {
  position: relative;
  padding-bottom: 24px;
}

.modern-timeline-item:last-child {
  padding-bottom: 0;
}

.modern-timeline-marker {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #4361ee;
  z-index: 1;
}

.modern-timeline-item:hover .modern-timeline-marker {
  background: #4361ee;
  box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.15);
}

.modern-timeline-content {
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.modern-timeline-item:hover .modern-timeline-content {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.modern-timeline-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #4361ee;
  background: #eef2ff;
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 6px;
}

.modern-timeline-item:hover .modern-timeline-label {
  background: #c7d2fe;
  color: #1e3a8a;
}

.modern-timeline-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
}

/* Responsive adjustments for Alur Kegiatan */
@media (max-width: 991.98px) {
  .modern-info-banner {
    padding: 18px 20px;
  }
}

/* Alur Kegiatan TA - Configuration Page */
.modern-config-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
}

.modern-config-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  cursor: grab;
}

.modern-config-item:active {
  cursor: grabbing;
}

.modern-config-item-dragging {
  opacity: 0.5;
  border: 2px dashed #4361ee;
  background: #f8fafc;
}

.modern-config-item-dragover {
  border: 2px solid #4361ee;
  background: #eef2ff;
  transform: scale(1.01);
}

.modern-config-item-active {
  background: #f0f0ff;
  border-color: #c7d2fe;
}

.modern-config-item-inactive {
  background: #f8fafc;
  border-color: #e2e8f0;
  opacity: 0.7;
}

.modern-config-item:hover {
  border-color: #4361ee;
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.08);
}

.modern-config-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #cbd5e1;
  cursor: pointer;
  accent-color: #4361ee;
}

.modern-config-order-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: #4361ee;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.modern-config-order-badge-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: #e2e8f0;
  color: #94a3b8;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.modern-config-item-name {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.4;
}

.modern-config-item-kode {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2px;
}

.modern-config-text-disabled .modern-config-item-name {
  color: #94a3b8;
}

.modern-config-text-disabled .modern-config-item-kode {
  color: #cbd5e1;
}

.modern-config-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.modern-config-btn-arrow:hover {
  border-color: #4361ee;
  color: #4361ee;
  background: #eef2ff;
}

@media (max-width: 991.98px) {
  .modern-config-item {
    padding: 12px 16px;
  }
  .modern-config-order-badge,
  .modern-config-order-badge-disabled {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 0.78rem;
  }
  .modern-config-btn-arrow {
    width: 30px;
    height: 30px;
  }
}

/* Admin utility classes — inline style replacements */
.modern-section-icon {
    color: #4361ee;
    font-size: 1.1rem;
}

.modern-section-title {
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.modern-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
    font-size: 0.88rem;
}

.modern-empty-state i {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.modern-th-narrow {
    width: 50px;
}

.modern-text-muted-bold {
    color: #94a3b8;
    font-weight: 600;
}

.modern-status-dot {
    font-size: 0.45rem;
}

/* ======================================================================
   Modern Layout: Sidebar
   ====================================================================== */
.modern-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px;
  z-index: 998;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.modern-sidebar::-webkit-scrollbar {
  width: 4px;
}

.modern-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.modern-sidebar::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

.modern-sidebar-logo {
  padding: 0 20px;
  height: 60px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.modern-sidebar-logo img {
  max-height: 40px;
}

.modern-sidebar-logo .modern-sidebar-toggle {
  display: none;
}

.modern-sidebar-nav {
  list-style: none;
  padding: 12px 0;
  margin: 0;
}

.modern-sidebar-item {
  margin: 2px 12px;
}

.modern-sidebar-link {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  color: #334155;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.modern-sidebar-link i {
  font-size: 18px;
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: #64748b;
}

.modern-sidebar-link span {
  flex: 1;
}

.modern-sidebar-link .bi-chevron-down {
  font-size: 12px;
  transition: transform 0.3s ease;
  width: auto;
  margin-right: 0;
}

.modern-sidebar-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(90deg);
}

.modern-sidebar-link:hover {
  color: #1e3a5f;
  background: #f1f5f9;
}

.modern-sidebar-link:hover i {
  color: #4361ee;
}

.modern-sidebar-item.active > .modern-sidebar-link,
.modern-sidebar-link.active {
  color: #0f766e;
  background: #e6f9f0;
  font-weight: 600;
  border-radius: 8px;
}

.modern-sidebar-item.active > .modern-sidebar-link i,
.modern-sidebar-link.active i {
  color: #0f766e;
}

.modern-sidebar-submenu {
  list-style: none;
  padding: 4px 0;
  margin: 0;
  background: #f8fafc;
  border-radius: 8px;
  margin-top: 2px;
}

.modern-sidebar-submenu .modern-sidebar-item {
  margin: 2px 8px;
}

.modern-sidebar-submenu .modern-sidebar-link {
  font-size: 13px;
  padding-left: 36px;
}

/* Responsive: hide sidebar on mobile */
@media (max-width: 1199px) {
  .modern-sidebar {
    left: -300px;
  }

  .toggle-sidebar .modern-sidebar {
    left: 0;
  }
}

/* Desktop: toggle-sidebar hides sidebar */
@media (min-width: 1200px) {
  .toggle-sidebar .modern-sidebar {
    left: -300px;
  }

  .toggle-sidebar .modern-header {
    left: 0;
  }

  .toggle-sidebar .modern-footer,
  .toggle-sidebar #main {
    margin-left: 0;
  }
}

/* ======================================================================
   Modern Layout: Footer
   ====================================================================== */
.modern-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 16px 24px;
  margin-left: 250px;
  text-align: center;
  transition: all 0.3s ease;
}

.modern-footer p {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
}

@media (max-width: 1199px) {
  .modern-footer {
    margin-left: 0;
  }
}

/* ======================================================================
   Modern Layout: Header
   ====================================================================== */
.modern-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 250px;
  height: 60px;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  transition: all 0.3s ease;
}

.modern-header-toggle {
  font-size: 24px;
  cursor: pointer;
  color: #334155;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.modern-header-toggle:hover {
  color: #4361ee;
  background: #f1f5f9;
}

.modern-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modern-header-user:hover {
  background: #f1f5f9;
}

.modern-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4361ee, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.modern-header-name {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.modern-header-chevron {
  font-size: 12px;
  color: #64748b;
}

.modern-header-dropdown {
  min-width: 200px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 8px;
  margin-top: 8px;
}

.modern-header-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  transition: all 0.2s ease;
}

.modern-header-dropdown .dropdown-item i {
  font-size: 16px;
  color: #64748b;
}

.modern-header-dropdown .dropdown-item:hover {
  background: #f1f5f9;
  color: #4361ee;
}

.modern-header-dropdown .dropdown-item:hover i {
  color: #4361ee;
}

.modern-header-dropdown .dropdown-divider {
  margin: 4px 0;
  border-color: #e2e8f0;
}

/* Responsive: header full-width on mobile */
@media (max-width: 1199px) {
  .modern-header {
    left: 0;
  }

  .modern-header-name {
    display: none;
  }
}

/* ======================================================================
   Modern Layout: Main Content Area Override
   ====================================================================== */
@media (max-width: 1199px) {
  #main.main {
    margin-left: 0 !important;
  }
}

.toggle-sidebar #main.main {
  margin-left: 0 !important;
}

/* ── Profil Avatar ── */
.modern-profil-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 3px solid #e2e8f0;
  background: #f8fafc;
  position: relative;
}

.modern-profil-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-profil-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}

.modern-profil-avatar-placeholder i {
  font-size: 3rem;
  color: #cbd5e1;
}

/* ── File Upload ── */
.modern-file-upload {
  border: 2px dashed #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f8fafc;
  position: relative;
}

.modern-file-upload input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.modern-file-upload:hover {
  border-color: #4361ee;
  background: #f0f4ff;
}

.modern-file-upload.dragover {
  border-color: #4361ee;
  background: #e8eeff;
  transform: scale(1.01);
}

.modern-file-upload.has-file {
  border-color: #4361ee;
  border-style: solid;
  background: #f0f4ff;
}

.modern-file-upload-content {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 0.875rem;
}

.modern-file-upload-content i {
  font-size: 1.25rem;
  color: #4361ee;
}

.modern-file-upload.has-file .modern-file-upload-content span {
  color: #1e293b;
  font-weight: 500;
}

/* ── Dropzone ── */
.modern-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #f8fafc;
}

.modern-dropzone:hover {
  border-color: #4361ee;
  background: #f0f4ff;
}

.modern-dropzone.dragover {
  border-color: #4361ee;
  background: #eef2ff;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.modern-dropzone-icon {
  font-size: 2.5rem;
  color: #94a3b8;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.modern-dropzone:hover .modern-dropzone-icon,
.modern-dropzone.dragover .modern-dropzone-icon {
  color: #4361ee;
}

.modern-dropzone-text {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 4px;
}

.modern-dropzone-hint {
  font-size: 0.8rem;
  color: #94a3b8;
}

.modern-dropzone-file {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f0f4ff;
  border: 1px solid #e0e7ff;
  border-radius: 8px;
  margin-top: 12px;
}

.modern-dropzone-file i {
  color: #4361ee;
  font-size: 1.1rem;
}

.modern-dropzone-file span {
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 500;
}

.modern-dropzone-file .btn-remove-file {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
}

.modern-dropzone-file .btn-remove-file:hover {
  color: #dc2626;
  background: #fef2f2;
}

/* ============ Thread Timeline (Bimbingan) ============ */
.modern-thread-container {
  position: relative;
  padding: 12px 0 0 28px;
  border-left: 2px solid #e2e8f0;
  margin-left: 8px;
}

.modern-thread-entry {
  position: relative;
  padding-bottom: 20px;
}

.modern-thread-entry:last-child {
  padding-bottom: 0;
}

.modern-thread-dot {
  position: absolute;
  left: -35px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #e2e8f0;
}

.modern-thread-dot-dosen {
  background: #10b981;
  box-shadow: 0 0 0 2px #d1fae5;
}

.modern-thread-dot-mhs {
  background: #94a3b8;
  box-shadow: 0 0 0 2px #f1f5f9;
}

.modern-thread-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.modern-thread-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #64748b;
}

.modern-thread-role {
  font-weight: 600;
  color: #1e293b;
}

.modern-thread-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-word;
}

.modern-thread-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.modern-thread-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s;
}

.modern-thread-file:hover {
  background: #e2e8f0;
  color: #1e293b;
  text-decoration: none;
}

.modern-thread-file i {
  font-size: 0.9rem;
  color: #4361ee;
}

.modern-thread-delete {
  opacity: 0;
  transition: opacity 0.15s;
  border: none;
  background: none;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.modern-thread-entry:hover .modern-thread-delete {
  opacity: 1;
}

.modern-thread-delete:hover {
  color: #ef4444;
  background: #fef2f2;
}

.modern-thread-input {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.modern-thread-input textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 72px;
  transition: border-color 0.15s;
}

.modern-thread-input textarea:focus {
  outline: none;
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.08);
}

.modern-thread-empty {
  text-align: center;
  padding: 24px 0;
  color: #94a3b8;
}

.modern-thread-empty i {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 6px;
}