/* Link colors */
@font-face {
  font-family: "arabmuslim";
  src: url("font/arabmuslim.ttf");
  font-weight: bold;
  font-style: normal;
}

.nunito-bold {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: bolder;
  font-style: normal;
}

body {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  background-color: #fff;
  background-position: bottom;
  background-size: cover;
  background-attachment: scroll;
}

tr,
td,
div,
li,
select {
  font-family: "Nunito", sans-serif;
}

.pw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 16px;
}
@media (max-width: 991.98px) {
  .pw-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .pw-grid {
    grid-template-columns: 1fr;
  }
}
.pw-card {
  border: 1px solid #eee;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.pw-banner {
  height: 140px;
  background: #343a40 center/cover no-repeat;
  position: relative;
}
.pw-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
}
.pw-body {
  padding: 12px;
}
.pw-title {
  font-weight: 600;
  margin: 0 0 6px 0;
}
.pw-meta {
  font-size: 0.875rem;
  color: #666;
}
.pw-badges {
  position: absolute;
  left: 8px;
  top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}
.pw-badge {
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 0.75rem;
}
.pw-footer {
  padding: 8px 12px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pw-status {
  font-size: 0.8rem;
}
.pw-status.upcoming {
  color: #007bff;
}
.pw-status.ongoing {
  color: #28a745;
}
.pw-status.ended {
  color: #6c757d;
}

.pw-card.placeholder {
  opacity: 0.9;
}
.pw-card.placeholder .pw-banner {
  background: #f1f3f5;
}
.pw-card.placeholder .pw-body,
.pw-card.placeholder .pw-footer {
  background: #fff;
}
.skeleton {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.1s infinite;
}
.skeleton.h16 {
  height: 16px;
}
@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* Opsyen: sorok placeholder di mobile supaya tak memanjang */
@media (max-width: 575.98px) {
  .pw-card.placeholder {
    display: none;
  }
}

.pw-badges.right {
  left: auto;
  right: 8px;
}
.pw-badge.mini {
  font-size: 0.72rem;
  padding: 2px 6px;
  background: rgba(0, 123, 255, 0.95);
  color: #fff;
}
.copyright,
.copyright a {
  font-size: 9pt !important;
  color: #111;
}

.resimg {
  width: 100%;
  height: auto; /* This keeps the aspect ratio */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: left;
}

#facebox .popup {
  position: relative;
  border: 3px solid rgba(0, 0, 0, 0);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
}

#facebox .content {
  display: table;
  width: 370px;
  padding: 10px;
  background: #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-family: Verdana;
}

#facebox .content > p:first-child {
  margin-top: 0;
}
#facebox .content > p:last-child {
  margin-bottom: 0;
}

#facebox .close {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 2px;
  background: #fff;
}
#facebox .close img {
  opacity: 0.3;
}
#facebox .close:hover img {
  opacity: 1;
}

#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
}

.facebox_hide {
  z-index: -100;
}

.facebox_overlayBG {
  background-color: #000;
  z-index: 99;
}

.upi > .nav-item a {
  color: white !important;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}
.container-fluid.main {
  position: relative; /* To make the navbar positions relative to this container */
  padding: 0;
}

@media (max-width: 991px) {
  .carousel .background {
    background-size: cover; /* To make the background image looks good */
  }
}

/* CSS Hack to trigger GPU for smooth transition */
@media all and (transform-3d), (-webkit-transform-3d) {
  .carousel-fade .carousel-inner > .item.next,
  .carousel-fade .carousel-inner > .item.active.right {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .carousel-fade .carousel-inner > .item.prev,
  .carousel-fade .carousel-inner > .item.active.left {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .carousel-fade .carousel-inner > .item.next.left,
  .carousel-fade .carousel-inner > .item.prev.right,
  .carousel-fade .carousel-inner > .item.active {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
/* CSS Hack to trigger GPU for smooth transition */

.covertext {
  position: absolute; /* To make the div to be place anywhere. It is out of the document flow */
  top: 200px; /* The distance between the div with the top of document */
  left: 0px; /* Make the div full width */
  right: 0px; /* Make the div full width */
}

.title {
  font-family: Verdana;
  font-weight: 600;
  font-size: 30px;
  color: #ffffff;
  text-align: center;
}

.subtitle {
  font-family: Verdana;
  font-size: 15px;
  color: #ffffff;
  text-align: center;
}

div.day-number {
  background: orange;
  z-index: 2;
  top: 0px;
  right: -25px;
  padding: 2px;
  color: #fff;
  font-weight: bold;
  width: 20px;
  text-align: center;
}

table.calendar {
  border-collapse: collapse;
  border-color: #c5c5b3;
}

td.calendar-day,
td.calendar-day-np {
  width: 100px;
  padding: 2px;
  border-color: #c5c5b3;
}

td.calendar-day-head {
  font-weight: bold;
  font-size: 14px;
  background: forestgreen;
  color: white;
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
}

div.event {
  font-weight: bold;
  margin-bottom: 2px;
}

.footer-bs {
  background-color: #3c3d41;
  padding: 60px 40px;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 20px;
  border-bottom-right-radius: 6px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 6px;
}
.footer-bs .footer-brand,
.footer-bs .footer-nav,
.footer-bs .footer-social,
.footer-bs .footer-ns {
  padding: 10px 25px;
}
.footer-bs .footer-nav,
.footer-bs .footer-social,
.footer-bs .footer-ns {
  border-color: transparent;
}
.footer-bs .footer-brand h2 {
  margin: 0px 0px 10px;
}
.footer-bs .footer-brand p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bs .footer-nav ul.pages {
  list-style: none;
  padding: 0px;
}
.footer-bs .footer-nav ul.pages li {
  padding: 5px 0px;
}
.footer-bs .footer-nav ul.pages a {
  color: rgba(255, 255, 255, 1);
  font-weight: bold;
  text-transform: uppercase;
}
.footer-bs .footer-nav ul.pages a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.footer-bs .footer-nav h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.footer-bs .footer-nav ul.list {
  list-style: none;
  padding: 0px;
}
.footer-bs .footer-nav ul.list li {
  padding: 5px 0px;
}
.footer-bs .footer-nav ul.list a {
  color: rgba(255, 255, 255, 0.8);
}
.footer-bs .footer-nav ul.list a:hover {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-bs .footer-social ul {
  list-style: none;
  padding: 0px;
}
.footer-bs .footer-social h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.footer-bs .footer-social li {
  padding: 5px 4px;
}
.footer-bs .footer-social a {
  color: rgba(255, 255, 255, 1);
}
.footer-bs .footer-social a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-bs .footer-ns h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.footer-bs .footer-ns p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .footer-bs .footer-nav,
  .footer-bs .footer-social,
  .footer-bs .footer-ns {
    border-left: solid 1px rgba(255, 255, 255, 0.1);
  }
}

.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 20px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

input,
textarea {
  color: #2c3e50;
}

.panel ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

.news-item {
  padding: 4px 4px;
  margin: 0px;
  border-bottom: 1px dotted #ccc;
}

.navbar-brand img {
  height: auto;
}

.items {
  width: 95%;
  margin: 0px auto;
}

.itemss {
  width: 95%;
  margin: 0px auto;
}

.slick-slide {
  margin: 10px;
}

.slick-slide img {
  width: 100%;
  border: 0px solid #fff;
}

.slick-prev:before,
.slick-next:before {
  color: black;
}

img {
  object-fit: cover;
}

.table th {
  text-align: center;
}

[onClick] {
  cursor: pointer;
}

.carousel-indicators {
  z-index: 2;
}

.bg1 {
  color: #2980b9;
}
.bg2 {
  color: #2c3e50;
}
.bg3 {
  color: #ecf0f1;
}
.bg4 {
  color: #7f8c8d;
}
.bg5 {
  color: #e74c3c;
}

.vercell > thead > tr > th,
.vercell > tbody > tr > th,
.vercell > tfoot > tr > th,
.vercell > thead > tr > td,
.vercell > tbody > tr > td,
.vercell > tfoot > tr > td {
  vertical-align: middle;
}

input[type="date"].form-control,
input[type="time"].form-control,
input[type="datetime-local"].form-control,
input[type="month"].form-control {
  line-height: initial;
}

.alpha60 {
  /* Fallback for web browsers that don't support RGBa */
  background-color: rgb(0, 0, 0);
  /* RGBa with 0.6 opacity */
  background-color: rgba(0, 0, 0, 0.6);
  /* For IE 5.5 - 7*/
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
  /* For IE 8*/
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}

a {
  color: black;
  font-weight: bold;
}

.aplikasi h6 {
  color: white;
}

#menuguru .card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.aplikasi2 a,
h6 {
  color: black;
}

#sidebar .nav-link[data-toggle].collapsed:after {
  content: " ▾";
}
#sidebar .nav-link[data-toggle]:not(.collapsed):after {
  content: " ▴";
}

#sidebar .nav-item {
  padding: 1px;
  font-weight: 400;
}

#sidebar .nav-link {
  padding: 5px;
  font-weight: 400;
}

a .subitem {
  padding: 5px;
}

.navmenu-link a {
  color: white;
}

.arab {
  font-family: arabmuslim;
  direction: rtl;
}

.colkal {
  padding: 10px;
  font-size: 20pt;
}

.bullety {
  counter-reset: li;
  margin: 0px;
  padding-left: 0px;
  color: rgb(100, 100, 100);
}

.bullety li {
  position: relative;
  padding-left: 3em;
  margin: 0.45em 0;
  margin-bottom: 10px;
  list-style: none;
  line-height: 1.2em;
  cursor: pointer;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  font-size: 20px;
}

.bullety li:hover {
  color: rgb(0, 0, 0);
}

.bullety li:before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  padding: 0px;
  color: #fff;
  background: #2980b9;
  font-weight: bold;
  text-align: center;
  border-radius: 0.9em;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.3);
  z-index: 1;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.bullety li:hover:before {
  background-color: #2ecc71;
}

.bullety li li:before {
  background-color: #3498db;
}

.bullety li:after {
  position: absolute;
  top: 2.1em;
  left: 0.9em;
  width: 2px;
  height: calc(100% - 1em);
  content: "";
  background-color: rgb(203, 203, 203);
  z-index: 0;
}

.bullety li:hover:after {
  background-color: #2ecc71;
}

.bullety li li {
  font-size: 0.8em;
}

.bulleti {
  counter-reset: li;
  margin: 0px;
  padding-left: 0px;
  color: rgb(100, 100, 100);
}

.bulleti li {
  position: relative;
  padding-left: 3em;
  margin: 0.45em 0;
  margin-bottom: 17px;
  list-style: none;
  line-height: 1.2em;
  cursor: pointer;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  font-size: 17px;
}

.bulleti li:hover {
  color: rgb(0, 0, 0);
}

.bulleti li:before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  padding: 0px;
  color: #fff;
  background: #2980b9;
  font-weight: bold;
  text-align: center;
  border-radius: 0.9em;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.3);
  z-index: 1;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.bulleti li:hover:before {
  background-color: #2ecc71;
}

.bulleti li li:before {
  background-color: #3498db;
}

.bulleti li:after {
  position: absolute;
  top: 2.1em;
  left: 0.9em;
  width: 2px;
  height: calc(100% - 1em);
  content: "";
  background-color: rgb(203, 203, 203);
  z-index: 0;
}

.bulleti li:hover:after {
  background-color: #2ecc71;
}

.bulleti li li {
  font-size: 0.8em;
}

.zum:hover {
  transform: scale(1.5);
}

.apung {
  animation-name: floating;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating {
  0% {
    transform: translate(0, 0px);
  }

  50% {
    transform: translate(0, 15px);
  }

  100% {
    transform: translate(0, -0px);
  }
}

:root {
  --upi-sidebar-bg: linear-gradient(180deg, #f8f9ff 0%, #eef2ff 52%, #f5f3ff 100%);
  --upi-sidebar-border: rgba(91, 93, 240, 0.12);
  --upi-bg: #f4f6ff;
  --upi-surface: rgba(255, 255, 255, 0.94);
  --upi-surface-strong: #ffffff;
  --upi-stroke: rgba(100, 116, 139, 0.18);
  --upi-text: #172033;
  --upi-muted: #667085;
  --upi-primary: #5b5df0;
  --upi-primary-soft: rgba(91, 93, 240, 0.14);
  --upi-success: #22c55e;
  --upi-warning: #fb923c;
  --upi-radius-card: 24px;
  --upi-radius-soft: 18px;
  --upi-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
}

html,
body {
  min-height: 100%;
}

body.upi-dashboard-body {
  font-family: "Plus Jakarta Sans", "Nunito", sans-serif;
  color: var(--upi-text);
  background:
    radial-gradient(circle at top left, rgba(91, 93, 240, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 22%),
    var(--upi-bg);
}

body.upi-dashboard-body div,
body.upi-dashboard-body td,
body.upi-dashboard-body tr,
body.upi-dashboard-body li,
body.upi-dashboard-body select,
body.upi-dashboard-body input,
body.upi-dashboard-body textarea,
body.upi-dashboard-body button {
  font-family: "Plus Jakarta Sans", "Nunito", sans-serif;
}

.upi-shell {
  display: flex;
  min-height: 100vh;
}

.upi-sidebar {
  width: 292px;
  flex: 0 0 292px;
  min-height: 100vh;
  padding: 24px 18px;
  background: var(--upi-sidebar-bg);
  color: var(--upi-text);
  border-right: 1px solid var(--upi-sidebar-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 0;
  overflow-y: auto;
  z-index: 30;
}

.upi-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 14px;
}

.upi-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--upi-text);
}

.upi-brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.upi-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.upi-brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.upi-brand-title,
.upi-brand-subtitle {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #111827;
}

.upi-brand-subtitle {
  color: var(--upi-primary);
}

.upi-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(91, 93, 240, 0.1);
  border: 1px solid rgba(91, 93, 240, 0.12);
  font-size: 11px;
  font-weight: 700;
  color: var(--upi-primary);
}

.upi-side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upi-nav-link,
.upi-nav-toggle,
.upi-sub-link,
.upi-quick-link {
  text-decoration: none !important;
}

.upi-nav-link,
.upi-nav-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.24s ease;
}

.upi-nav-link:hover,
.upi-nav-toggle:hover,
.upi-nav-group.is-open > .upi-nav-toggle,
.upi-nav-link.is-active {
  color: var(--upi-primary);
  background: rgba(91, 93, 240, 0.1);
  box-shadow: inset 0 0 0 1px rgba(91, 93, 240, 0.1);
}

.upi-nav-icon {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.upi-nav-label {
  flex: 1 1 auto;
  text-align: left;
}

.upi-nav-caret {
  font-size: 14px;
  opacity: 0.7;
  transition: transform 0.24s ease;
}

.upi-nav-group.is-open .upi-nav-caret {
  transform: rotate(180deg);
}

.upi-nav-submenu {
  display: none;
  padding: 6px 0 2px 0;
}

.upi-nav-group.is-open .upi-nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.upi-sub-link {
  color: #667085;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px 8px 14px;
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: all 0.24s ease;
}

.upi-sub-link:hover,
.upi-sub-link.is-active {
  color: var(--upi-primary);
  background: rgba(91, 93, 240, 0.08);
}

.upi-sub-link-icon {
  width: 14px;
  flex: 0 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  opacity: 0.8;
  font-size: 14px;
  line-height: 1.2;
}

.upi-sub-link-text {
  display: inline-block;
  line-height: 1.45;
}

.upi-sidebar-card {
  margin-top: 6px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(91, 93, 240, 0.08);
  box-shadow: 0 18px 36px rgba(91, 93, 240, 0.08);
}

.upi-sidebar-media-card {
  margin-top: 6px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 244, 255, 0.96));
  border: 1px solid rgba(91, 93, 240, 0.1);
  box-shadow: 0 18px 36px rgba(91, 93, 240, 0.08);
  color: var(--upi-text);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.upi-sidebar-media-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.upi-sidebar-media-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.upi-sidebar-media-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  color: var(--upi-primary);
  font-size: 18px;
}

.upi-sidebar-media-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.upi-sidebar-media-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}

.upi-sidebar-media-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(91, 93, 240, 0.08);
  color: var(--upi-primary);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.22s ease, color 0.22s ease;
}

.upi-sidebar-media-link:hover {
  color: #fff;
  background: var(--upi-primary);
}

.upi-sidebar-media-list {
  display: grid;
  gap: 10px;
}

.upi-sidebar-media-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(91, 93, 240, 0.08);
  color: var(--upi-text);
  text-decoration: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease,
    background 0.22s ease;
}

.upi-sidebar-media-item:hover {
  color: var(--upi-text);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(91, 93, 240, 0.16);
  box-shadow: 0 14px 28px rgba(91, 93, 240, 0.1);
}

.upi-sidebar-media-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.18);
}

.upi-sidebar-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.upi-sidebar-media-body {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 13px;
}

.upi-sidebar-media-kicker {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(91, 93, 240, 0.08);
  color: var(--upi-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.upi-sidebar-media-item-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  color: #172033;
}

.upi-sidebar-media-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
  line-height: 1.4;
  color: var(--upi-muted);
}

.upi-sidebar-media-item-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.upi-sidebar-media-empty {
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(91, 93, 240, 0.18);
  color: var(--upi-muted);
  font-size: 12px;
  line-height: 1.5;
}

.upi-side-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.upi-side-profile img,
.upi-user-pill img {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.upi-side-profile-name,
.upi-user-pill-name {
  font-weight: 700;
  line-height: 1.2;
}

.upi-side-profile-role,
.upi-user-pill-role {
  font-size: 12px;
  color: var(--upi-muted);
}

.upi-quick-links {
  display: grid;
  gap: 8px;
}

.upi-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(91, 93, 240, 0.05);
  transition: all 0.24s ease;
}

.upi-quick-link:hover {
  color: var(--upi-primary);
  background: rgba(91, 93, 240, 0.12);
}

.upi-side-login-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--upi-text);
}

.upi-side-login-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--upi-muted);
}

.upi-main-shell {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.upi-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px 10px;
}

.upi-topbar-left,
.upi-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.upi-sidebar-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--upi-shadow);
  color: var(--upi-text);
  font-size: 22px;
}

.upi-top-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(560px, 48vw);
  min-height: 56px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.upi-top-search i {
  color: var(--upi-muted);
}

.upi-top-search input {
  border: 0;
  outline: 0;
  background: transparent;
  flex: 1 1 auto;
  color: var(--upi-text);
  font-size: 14px;
  font-weight: 500;
}

.upi-top-search input::placeholder {
  color: #94a3b8;
}

.upi-search-hint {
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--upi-muted);
  font-size: 12px;
  font-weight: 700;
}

.upi-date-card,
.upi-user-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.upi-user-pill {
  color: var(--upi-text);
}

.upi-user-pill-link {
  text-decoration: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease,
    background 0.22s ease;
}

.upi-user-pill-link:hover {
  color: var(--upi-text);
  transform: translateY(-1px);
  border-color: rgba(91, 93, 240, 0.16);
  box-shadow: 0 18px 40px rgba(91, 93, 240, 0.1);
}

.upi-user-pill-login-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 93, 240, 0.12);
  color: var(--upi-primary);
}

.upi-date-card i {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 93, 240, 0.12);
  color: var(--upi-primary);
}

.upi-date-card-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--upi-text);
}

.upi-date-card-sub {
  font-size: 12px;
  color: var(--upi-muted);
}

.upi-user-pill-role {
  color: var(--upi-muted);
}

.upi-content-shell {
  padding: 8px 24px 24px;
}

.upi-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 18px;
}

.upi-page-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--upi-text);
  margin: 0 0 8px;
}

.upi-breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.upi-breadcrumb .breadcrumb-item,
.upi-breadcrumb .breadcrumb-item a {
  color: var(--upi-muted);
  font-size: 13px;
  font-weight: 600;
}

.upi-page-actions {
  position: static !important;
  top: auto !important;
  right: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.upi-frame-body {
  display: grid;
  gap: 18px;
}

.card,
.upi-card,
.prog-card,
.pw-card,
.group-card,
.document-item,
.field-builder-row,
.bulk-row-card {
  border-radius: var(--upi-radius-card) !important;
  border: 1px solid rgba(226, 232, 240, 0.96) !important;
  background: var(--upi-surface-strong);
  box-shadow: var(--upi-shadow) !important;
}

.card-header,
.upi-card-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
  padding: 18px 22px 10px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--upi-text) !important;
}

.card-body,
.upi-card-body {
  padding: 20px 22px 22px !important;
}

.card-footer {
  background: transparent !important;
  border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.btn {
  border-radius: 16px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, #5b5df0, #6e7bff) !important;
  border-color: transparent !important;
}

.btn-outline-primary {
  color: var(--upi-primary) !important;
  border-color: rgba(91, 93, 240, 0.24) !important;
  background: rgba(91, 93, 240, 0.05) !important;
}

.btn-outline-secondary,
.btn-light,
.btn-default {
  background: rgba(248, 250, 252, 0.88) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: var(--upi-text) !important;
}

.form-control,
.custom-select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  min-height: 48px;
  border-radius: 16px !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  background: rgba(248, 250, 252, 0.86) !important;
  color: var(--upi-text) !important;
  box-shadow: none !important;
}

.select2-container--default .select2-selection--single {
  display: flex !important;
  align-items: center !important;
  padding: 0 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--upi-text) !important;
  line-height: 1.5 !important;
  padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
}

.table {
  border-collapse: separate;
  border-spacing: 0 10px;
}

.table thead th {
  border: 0 !important;
  color: #64748b;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 800;
}

.table tbody tr {
  background: rgba(248, 250, 252, 0.72);
}

.table tbody td,
.table tbody th {
  border-top: 0 !important;
  border-bottom: 0 !important;
  vertical-align: middle !important;
}

.table tbody tr td:first-child,
.table tbody tr th:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.table tbody tr td:last-child,
.table tbody tr th:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.badge,
.badge-pill {
  border-radius: 999px !important;
  padding: 0.45rem 0.8rem !important;
}

.list-group-item {
  border-color: rgba(226, 232, 240, 0.88) !important;
}

.alert {
  border-radius: 18px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  background: rgba(255, 255, 255, 0.88) !important;
}

.prog-strip,
.pw-grid {
  gap: 16px;
}

.upi-global-footer {
  margin-top: 24px;
}

.upi-footer-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--upi-shadow);
  padding: 24px;
}

.upi-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.upi-footer-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--upi-text);
  margin-bottom: 10px;
}

.upi-footer-copy,
.upi-footer-links a,
.upi-footer-bottom {
  color: var(--upi-muted);
  font-size: 13px;
  line-height: 1.7;
}

.upi-footer-links {
  display: grid;
  gap: 8px;
}

.upi-footer-links a {
  color: var(--upi-muted);
  font-weight: 600;
}

.upi-footer-bottom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1199.98px) {
  .upi-sidebar {
    width: 268px;
    flex-basis: 268px;
  }

  .upi-top-search {
    width: min(440px, 42vw);
  }
}

@media (max-width: 991.98px) {
  .upi-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.32);
  }

  .upi-shell.is-sidebar-open .upi-sidebar {
    transform: translateX(0);
  }

  .upi-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .upi-topbar {
    padding-top: 16px;
    flex-wrap: wrap;
  }

  .upi-topbar-left,
  .upi-topbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .upi-top-search {
    width: calc(100% - 60px);
  }

  .upi-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .upi-content-shell {
    padding: 8px 14px 18px;
  }

  .upi-topbar {
    padding: 14px 14px 8px;
  }

  .upi-top-search {
    width: 100%;
  }

  .upi-topbar-right {
    flex-direction: column;
    align-items: stretch;
  }

  .upi-date-card,
  .upi-user-pill {
    width: 100%;
  }

  .upi-page-head {
    flex-direction: column;
  }

  .card-header,
  .upi-card-header,
  .card-body,
  .upi-card-body {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
