.container-narrow { 
    max-width: 1100px; 
}

.table td, .table th { 
    vertical-align: middle; 
}

code { 
    padding: .1rem .25rem; 
    border-radius: .25rem; 
    background: rgba(0,0,0,.05); 
}

/* Login card */
.login-card {
    border-radius: 1.25rem;
    border: none;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fdfdfd 100%
    );
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 24px 48px rgba(0, 0, 0, 0.12);
    animation: loginCardEnter 0.7s cubic-bezier(.22,1,.36,1);
    transition:
        transform 0.25s cubic-bezier(.22,1,.36,1),
        box-shadow 0.25s cubic-bezier(.22,1,.36,1);
    position: relative;
}

@keyframes loginCardEnter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-card::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -14px;
  height: 24px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(8px);
  z-index: -1;
}

/* Topbar pro */
.app-topbar{
  position: sticky;
  top: 0;
  z-index: 1030;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.app-logo{ height: 32px; width: auto; }

.app-title{ font-weight: 700; color: black; }

/* Buttons */
.app-icon-btn{
  color: inherit;
  text-decoration: none;
  padding: 0 .25rem;
}
.app-icon-btn:hover{ opacity: .85; }

.app-user-btn{
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.app-user-btn:hover{ opacity: .9; }

/* Sidebar links */
.app-sidebar-section{
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
  margin-bottom: .75rem;
}

.app-side-link{
  display: flex;
  align-items: center;
  padding: .65rem .8rem;
  border-radius: .8rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  background: rgba(0,0,0,0.02);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.app-side-link:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,0.04);
}

.app-side-link.active{
  font-weight: 600;
  background: rgba(13,110,253,0.10);
  border-color: rgba(13,110,253,0.22);
}

/* Main content surface (looks like a card without using .card) */
.app-surface {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 10px 30px rgba(0,0,0,0.06);
}

/* Make pages breathe a bit more */
.app-surface > *:last-child {
  margin-bottom: 0 !important;
}