:root {
  --sidel-blue: #009eff;
  --sidel-navy: #1e2456;
  --sidel-white: #ffffff;
  --sidel-ice: #f3f7ff;
  --sidel-muted: #5b6585;
  --sidel-shadow: 0 18px 35px rgba(20, 30, 70, 0.15);
  --sidel-radius: 18px;
}

body {
  background: radial-gradient(circle at top left, #eef6ff 0%, var(--sidel-ice) 45%, #ffffff 100%);
  color: var(--sidel-navy);
  font-family: "Source Sans Pro", "Segoe UI", Arial, sans-serif;
}

.navbar-sidel {
  background: var(--sidel-navy);
  border-bottom: 0;
  box-shadow: 0 16px 30px rgba(14, 18, 40, 0.28);
}

.brand-sidel {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sidel-white);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-sidel:hover {
  color: var(--sidel-white);
}

.brand-logo {
  width: 52px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.brand-text {
  font-size: 1.1rem;
}

.role-pill {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--sidel-white);
}

.nav-tabs-wrapper {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.nav-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(30, 36, 86, 0.1);
  color: var(--sidel-navy);
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-pill:hover {
  color: var(--sidel-navy);
  transform: translateY(-1px);
}

.nav-pill.active {
  background: var(--sidel-navy);
  color: var(--sidel-white);
  box-shadow: var(--sidel-shadow);
}

.sidel-card {
  border-radius: var(--sidel-radius);
  border: none;
  box-shadow: var(--sidel-shadow);
}

.sidel-card .card-header {
  background: var(--sidel-white);
  border-bottom: 1px solid rgba(30, 36, 86, 0.1);
}

.sidel-card .card-title {
  font-weight: 700;
  color: var(--sidel-navy);
}

.info-sidel {
  border-radius: var(--sidel-radius);
  box-shadow: var(--sidel-shadow);
}

.info-sidel .info-box-icon {
  background: rgba(0, 158, 255, 0.15);
  color: var(--sidel-blue);
  border-radius: 12px;
}

.btn-sidel {
  background: var(--sidel-blue);
  color: var(--sidel-white);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 158, 255, 0.3);
}

.btn-sidel:hover {
  color: var(--sidel-white);
}

.btn-sidel-outline {
  border: 1px solid var(--sidel-blue);
  color: var(--sidel-blue);
  border-radius: 999px;
  font-weight: 600;
}

.form-control {
  border-radius: 12px;
}

.sidel-table th {
  border-top: none;
  color: var(--sidel-muted);
}

.timeline > .time-label > span {
  background: var(--sidel-navy);
  color: var(--sidel-white);
  border-radius: 999px;
  padding: 4px 12px;
}

.timeline > div > .timeline-item {
  border-radius: 14px;
  box-shadow: var(--sidel-shadow);
  border: none;
}

.sidel-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2000;
}

.sidel-loader.show {
  opacity: 1;
  pointer-events: auto;
}

.sidel-loader img {
  width: 92px;
  height: auto;
  object-fit: contain;
  animation: sidel-spin 1.1s linear infinite;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.case-meta div {
  padding: 10px 12px;
  background: var(--sidel-ice);
  border-radius: 12px;
  font-size: 0.92rem;
}

.doc-list {
  columns: 2;
  list-style: none;
  padding: 0;
}

.doc-list li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(30, 36, 86, 0.2);
}

.login-page {
  background: radial-gradient(circle at top right, #e6f4ff 0%, #f4f7ff 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.login-box {
  width: min(380px, 90vw);
  position: relative;
  z-index: 2;
}

.login-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.login-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 28, 0.6);
}

.login-logo-img {
  width: 140px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  display: block;
}

@keyframes sidel-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 992px) {
  .doc-list {
    columns: 1;
  }
}
