*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #f1f5f9;
  background-color: #0a0a0f;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  color: #f1f5f9;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  color: #94a3b8;
}

a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover {
  color: #60a5fa;
}

ul, ol {
  list-style-position: inside;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

input::placeholder, textarea::placeholder {
  color: #475569;
}

table {
  border-collapse: collapse;
  width: 100%;
}

code, pre, kbd, samp {
  font-family: "JetBrains Mono", "Fira Code", "SF Mono", Consolas, monospace;
  font-size: 0.875rem;
}

pre {
  overflow-x: auto;
}

code {
  padding: 0.125rem 0.25rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 0.25rem;
  color: #60a5fa;
}

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 1.5rem 0;
}

::selection {
  background-color: rgba(59, 130, 246, 0.3);
  color: #f1f5f9;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideInLeft {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-20px);
    opacity: 0;
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(20px);
    opacity: 0;
  }
}
@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes scaleOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.95);
    opacity: 0;
  }
}
@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-4px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(4px);
  }
}
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.2), 0 0 10px rgba(59, 130, 246, 0.1);
  }
  50% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 30px rgba(59, 130, 246, 0.2);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes progressIndeterminate {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(400%);
  }
}
.animate-fade-in {
  animation: fadeIn 200ms cubic-bezier(0, 0, 0.2, 1) forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 200ms cubic-bezier(0, 0, 0.2, 1) forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 200ms cubic-bezier(0, 0, 0.2, 1) forwards;
}

.animate-slide-up {
  animation: slideUp 200ms cubic-bezier(0, 0, 0.2, 1) forwards;
}

.animate-slide-down {
  animation: slideDown 200ms cubic-bezier(0, 0, 0.2, 1) forwards;
}

.animate-scale-in {
  animation: scaleIn 200ms cubic-bezier(0, 0, 0.2, 1) forwards;
}

.animate-bounce-in {
  animation: bounceIn 300ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-shake {
  animation: shake 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-delay-1 {
  animation-delay: 50ms;
}

.animate-delay-2 {
  animation-delay: 100ms;
}

.animate-delay-3 {
  animation-delay: 150ms;
}

.animate-delay-4 {
  animation-delay: 200ms;
}

.animate-delay-5 {
  animation-delay: 250ms;
}

.animate-delay-6 {
  animation-delay: 300ms;
}

.animate-delay-7 {
  animation-delay: 350ms;
}

.animate-delay-8 {
  animation-delay: 400ms;
}

.animate-delay-9 {
  animation-delay: 450ms;
}

.animate-delay-10 {
  animation-delay: 500ms;
}

.app {
  display: flex;
  min-height: 100vh;
  background: #0a0a0f;
}
.app::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(30, 58, 138, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 100% 100%, rgba(88, 28, 135, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.3) 0%, rgba(88, 28, 135, 0.2) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1), transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar.is-collapsed {
  width: 72px;
}
.sidebar.is-collapsed .sidebar-logo-text,
.sidebar.is-collapsed .nav-label,
.sidebar.is-collapsed .nav-item-text,
.sidebar.is-collapsed .nav-section-title,
.sidebar.is-collapsed .sidebar-version,
.sidebar.is-collapsed .sidebar-build-date {
  opacity: 0;
  visibility: hidden;
}
.sidebar.is-collapsed .nav-item {
  justify-content: center;
  padding: 0.75rem;
}
.sidebar.is-collapsed .sidebar-footer {
  padding: 0.75rem;
}
@media (max-width: 1023px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.sidebar-logo .sidebar-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}
.sidebar-logo .sidebar-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 200ms;
}

.sidebar-toggle {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  color: #475569;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
}
.sidebar-toggle .icon {
  width: 18px;
  height: 18px;
}

.sidebar-nav {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}
.sidebar-nav::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 9999px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}
.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: padding 200ms;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sidebar-footer .sidebar-version {
  font-size: 0.75rem;
  color: #475569;
  font-weight: 500;
}
.sidebar-footer .sidebar-build-date {
  font-size: 0.75rem;
  color: #475569;
  opacity: 0.6;
}

.nav-section {
  margin-bottom: 1.5rem;
}
.nav-section:last-child {
  margin-bottom: 0;
}

.nav-section-title {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 200ms;
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
  border-radius: 0.5rem;
  color: #94a3b8;
  text-decoration: none;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
}
.nav-item.is-active {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
}
.nav-item.is-active .nav-item-icon {
  color: #3b82f6;
}
.nav-item .nav-item-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #475569;
  transition: color 150ms;
}
.nav-item .nav-item-text {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 200ms;
}
.nav-item .nav-item-badge {
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-radius: 9999px;
}
.nav-item .nav-item-arrow {
  width: 16px;
  height: 16px;
  color: #475569;
  transition: transform 150ms;
}
.nav-item.has-submenu.is-expanded .nav-item-arrow {
  transform: rotate(90deg);
}

.nav-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 2rem;
  margin-top: 0.25rem;
  display: none;
}
.nav-submenu.is-open {
  display: block;
}
.nav-submenu .nav-item {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.nav-submenu .nav-item::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 0.75rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  transition: margin-left 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar.is-collapsed + .main {
  margin-left: 72px;
}
@media (max-width: 1023px) {
  .main {
    margin-left: 0;
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1020;
  height: 64px;
  padding: 0 1.5rem;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f5f9;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-toggle {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  color: #94a3b8;
  display: none;
}
@media (max-width: 1023px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
}
.mobile-menu-toggle .icon {
  width: 24px;
  height: 24px;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header-user:hover {
  background: rgba(255, 255, 255, 0.03);
}
.header-user .header-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}
.header-user .header-user-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  object-fit: cover;
}
@media (max-width: 767px) {
  .header-user .header-user-info {
    display: none;
  }
}
.header-user .header-user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f1f5f9;
}
.header-user .header-user-role {
  font-size: 0.75rem;
  color: #475569;
}

.content {
  flex: 1;
  padding: 1.5rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.content-full {
  max-width: none;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
}

.page-subtitle {
  font-size: 0.875rem;
  color: #475569;
  margin-top: 0.25rem;
}

.page-actions {
  display: flex;
  gap: 0.75rem;
}

.impersonation-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.impersonation-banner-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.impersonation-banner-content .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.impersonation-banner-content strong {
  font-weight: 700;
}
.impersonation-banner-content .impersonation-suspended-tag {
  color: #ef4444;
  font-weight: 700;
}

.impersonation-banner-form {
  display: inline;
  margin-left: 0.5rem;
}

.impersonation-banner-btn {
  background: rgba(0, 0, 0, 0.15);
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.25);
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.75rem;
  transition: background 150ms;
}
.impersonation-banner-btn:hover {
  background: rgba(0, 0, 0, 0.25);
}

.impersonation-banner.is-suspended {
  background: linear-gradient(135deg, #ef4444, #eb1515);
  color: #fff;
}
.impersonation-banner.is-suspended .impersonation-suspended-tag {
  color: #fff;
}
.impersonation-banner.is-suspended .impersonation-banner-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.impersonation-banner.is-suspended .impersonation-banner-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

body.impersonating .sidebar {
  top: 40px;
  height: calc(100vh - 40px);
}
body.impersonating .main {
  padding-top: 40px;
}
body.impersonating .header {
  top: 40px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1029;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms, visibility 200ms;
  display: none;
}
@media (max-width: 1023px) {
  .mobile-overlay {
    display: block;
  }
  .mobile-overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }
}

.tenant-switcher-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.tenant-switcher {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tenant-switch-form {
  margin: 0;
  padding: 0;
}

.tenant-switch-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.tenant-switch-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
}
.tenant-switch-btn.is-active {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
}
.tenant-switch-btn .tenant-indicator {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.tenant-switch-btn .tenant-indicator.is-current {
  background: #3b82f6;
}
.tenant-switch-btn .tenant-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tenant-switch-btn .tenant-badge-home {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 0.25rem;
  border-radius: 0.25rem;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  flex-shrink: 0;
}
.tenant-switch-btn .tenant-check-icon {
  flex-shrink: 0;
  color: #3b82f6;
}

.btn {
  cursor: pointer;
  user-select: none;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  gap: 0.5rem;
  height: 40px;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border-radius: 0.5rem;
  white-space: nowrap;
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.btn .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn.is-loading {
  pointer-events: none;
  position: relative;
  color: transparent !important;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 9999px;
  animation: spin 0.6s linear infinite;
}

.btn-sm {
  height: 32px;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
}
.btn-sm .icon {
  width: 14px;
  height: 14px;
}

.btn-lg {
  height: 48px;
  padding: 0 1.5rem;
  font-size: 1rem;
  border-radius: 0.75rem;
}
.btn-lg .icon {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: 1px solid transparent;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0a0a0f, 0 0 0 4px rgba(59, 130, 246, 0.5);
}
.btn-primary.is-loading::after {
  border-color: white;
  border-right-color: transparent;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  color: #f1f5f9;
}
.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-secondary:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}
.btn-secondary:hover:not(:disabled) {
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}
.btn-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0a0a0f, 0 0 0 4px rgba(59, 130, 246, 0.5);
}
.btn-secondary.is-loading::after {
  border-color: #f1f5f9;
  border-right-color: transparent;
}

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
}
.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
}
.btn-ghost:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}
.btn-ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0a0a0f, 0 0 0 4px rgba(59, 130, 246, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}
.btn-outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.03);
  border-color: #3b82f6;
  color: #60a5fa;
}
.btn-outline:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}
.btn-outline:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0a0a0f, 0 0 0 4px rgba(59, 130, 246, 0.5);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: 1px solid transparent;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-danger:hover:not(:disabled) {
  background: linear-gradient(135deg, #f15b5b 0%, #ef4444 100%);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}
.btn-danger:active:not(:disabled) {
  transform: translateY(0);
}
.btn-danger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0a0a0f, 0 0 0 4px rgba(239, 68, 68, 0.5);
}
.btn-danger.is-loading::after {
  border-color: white;
  border-right-color: transparent;
}

.btn-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: 1px solid transparent;
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-success:hover:not(:disabled) {
  background: linear-gradient(135deg, #27da69 0%, #22c55e 100%);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}
.btn-success:active:not(:disabled) {
  transform: translateY(0);
}
.btn-success:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0a0a0f, 0 0 0 4px rgba(34, 197, 94, 0.5);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: #94a3b8;
}
.btn-icon:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.btn-icon .icon {
  width: 20px;
  height: 20px;
}
.btn-icon:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
}
.btn-icon:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}
.btn-icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0a0a0f, 0 0 0 4px rgba(59, 130, 246, 0.5);
}
.btn-icon.btn-sm {
  width: 32px;
  height: 32px;
}
.btn-icon.btn-sm .icon {
  width: 16px;
  height: 16px;
}
.btn-icon.btn-lg {
  width: 48px;
  height: 48px;
}
.btn-icon.btn-lg .icon {
  width: 24px;
  height: 24px;
}

.btn-group {
  display: inline-flex;
}
.btn-group .btn {
  border-radius: 0;
}
.btn-group .btn:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}
.btn-group .btn:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}
.btn-group .btn:not(:first-child) {
  margin-left: -1px;
}
.btn-group .btn:hover, .btn-group .btn:focus {
  z-index: 1;
}

.btn-block {
  width: 100%;
}

.btn-link {
  background: transparent;
  border: none;
  color: #3b82f6;
  height: auto;
  padding: 0;
}
.btn-link:hover:not(:disabled) {
  color: #60a5fa;
  text-decoration: underline;
}
.btn-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0a0a0f, 0 0 0 4px rgba(59, 130, 246, 0.5);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #f1f5f9;
}
.form-label .required {
  color: #ef4444;
  margin-left: 0.25rem;
}

.form-hint {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #475569;
}

.form-input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: #f1f5f9;
  border-radius: 0.5rem;
}
.form-input:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.form-input::placeholder {
  color: #475569;
}
.form-input.input-sm {
  height: 32px;
  font-size: 0.75rem;
  padding: 0 0.625rem;
  border-radius: 0.25rem;
}
.form-input.input-lg {
  height: 48px;
  font-size: 1rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
}
.form-input.is-error {
  border-color: #ef4444;
}
.form-input.is-error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.form-input.is-success {
  border-color: #22c55e;
}
.form-input.is-success:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.form-input.has-icon-left {
  padding-left: 2.5rem;
}
.form-input.has-icon-right {
  padding-right: 2.5rem;
}

.input-wrapper {
  position: relative;
}
.input-wrapper .input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #475569;
  pointer-events: none;
}
.input-wrapper .input-icon.icon-left {
  left: 0.75rem;
}
.input-wrapper .input-icon.icon-right {
  right: 0.75rem;
}
.input-wrapper .input-action {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #475569;
  border-radius: 0.25rem;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.input-wrapper .input-action:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.03);
}
.input-wrapper .input-action .icon {
  width: 18px;
  height: 18px;
}

.form-textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  display: block;
  width: 100%;
  min-height: 100px;
  padding: 0.75rem 0.75rem;
  font-size: 0.875rem;
  color: #f1f5f9;
  border-radius: 0.5rem;
  resize: vertical;
}
.form-textarea:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.form-textarea::placeholder {
  color: #475569;
}
.form-textarea::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.form-textarea::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 9999px;
}
.form-textarea::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}
.form-textarea::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}
.form-textarea.is-error {
  border-color: #ef4444;
}
.form-textarea.is-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-select {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 2.5rem 0 0.75rem;
  font-size: 0.875rem;
  color: #f1f5f9;
  border-radius: 0.5rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}
.form-select:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.form-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.form-select::placeholder {
  color: #475569;
}
.form-select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.form-select option {
  background: #12121a;
  color: #f1f5f9;
}
.form-select.select-sm {
  height: 32px;
  font-size: 0.75rem;
}
.form-select.select-lg {
  height: 48px;
  font-size: 1rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.form-checkbox input[type=checkbox] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  appearance: none;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.form-checkbox input[type=checkbox]:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.form-checkbox input[type=checkbox]:checked {
  background: #3b82f6;
  border-color: #3b82f6;
}
.form-checkbox input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-checkbox input[type=checkbox]:focus-visible {
  box-shadow: 0 0 0 2px #0a0a0f, 0 0 0 4px rgba(59, 130, 246, 0.5);
}
.form-checkbox input[type=checkbox]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-checkbox .checkbox-label {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
}
.form-checkbox .checkbox-label a {
  color: #3b82f6;
}
.form-checkbox .checkbox-label a:hover {
  text-decoration: underline;
}

.form-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.form-radio input[type=radio] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  appearance: none;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.form-radio input[type=radio]:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.form-radio input[type=radio]:checked {
  border-color: #3b82f6;
  background: transparent;
}
.form-radio input[type=radio]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 9999px;
}
.form-radio input[type=radio]:focus-visible {
  box-shadow: 0 0 0 2px #0a0a0f, 0 0 0 4px rgba(59, 130, 246, 0.5);
}
.form-radio input[type=radio]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-radio .radio-label {
  font-size: 0.875rem;
  color: #94a3b8;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.radio-group.radio-group-horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.form-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.form-toggle input[type=checkbox] {
  position: relative;
  width: 44px;
  height: 24px;
  appearance: none;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-toggle input[type=checkbox]::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #94a3b8;
  border-radius: 9999px;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-toggle input[type=checkbox]:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.form-toggle input[type=checkbox]:checked {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}
.form-toggle input[type=checkbox]:checked::after {
  left: 22px;
  background: #3b82f6;
}
.form-toggle input[type=checkbox]:focus-visible {
  box-shadow: 0 0 0 2px #0a0a0f, 0 0 0 4px rgba(59, 130, 246, 0.5);
}
.form-toggle input[type=checkbox]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-toggle .toggle-label {
  font-size: 0.875rem;
  color: #94a3b8;
}

.form-error {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #ef4444;
}
.form-error .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #22c55e;
}
.form-success .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.input-group {
  display: flex;
}
.input-group .form-input {
  border-radius: 0;
  flex: 1;
}
.input-group .form-input:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}
.input-group .form-input:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}
.input-group .input-group-addon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: #475569;
}
.input-group .input-group-addon:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
  border-right: none;
}
.input-group .input-group-addon:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
  border-left: none;
}
.input-group .btn {
  border-radius: 0;
}
.input-group .btn:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}

.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .form-row.form-row-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card, .card-empty, .user-card, .media-card, .stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
}
.card::before, .card-empty::before, .user-card::before, .media-card::before, .stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

.card-header {
  position: relative;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.card-header.card-header-flush {
  border-bottom: none;
  padding-bottom: 0;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0;
}

.card-subtitle {
  font-size: 0.875rem;
  color: #475569;
  margin-top: 0.25rem;
}

.card-body {
  position: relative;
  padding: 1.25rem;
}

.card-footer {
  position: relative;
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.1);
}

.card-interactive, .user-card {
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.card-interactive:hover, .user-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.card-interactive:active, .user-card:active {
  transform: translateY(0);
}

.card-highlight {
  border-color: rgba(59, 130, 246, 0.3);
}
.card-highlight::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

.card-compact .card-header,
.card-compact .card-body,
.card-compact .card-footer {
  padding: 1rem;
}

.stat-card {
  padding: 1.25rem;
}
.stat-card .stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.stat-card .stat-icon .icon {
  width: 24px;
  height: 24px;
}
.stat-card .stat-icon.stat-icon-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}
.stat-card .stat-icon.stat-icon-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.stat-card .stat-icon.stat-icon-error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.stat-card .stat-icon.stat-icon-secondary {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}
.stat-card .stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-card .stat-label {
  font-size: 0.875rem;
  color: #475569;
}
.stat-card .stat-change {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.stat-card .stat-change .icon {
  width: 14px;
  height: 14px;
}
.stat-card .stat-change.stat-change-positive {
  color: #22c55e;
}
.stat-card .stat-change.stat-change-negative {
  color: #ef4444;
}

.stat-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.media-card .media-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.media-card .media-card-content {
  padding: 1.25rem;
}
.media-card .media-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}
.media-card .media-card-description {
  font-size: 0.875rem;
  color: #94a3b8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.user-card {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.user-card .user-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
}
.user-card .user-card-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  object-fit: cover;
}
.user-card .user-card-info {
  flex: 1;
  min-width: 0;
}
.user-card .user-card-name {
  font-weight: 500;
  color: #f1f5f9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-card .user-card-email {
  font-size: 0.875rem;
  color: #475569;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-card .user-card-actions {
  flex-shrink: 0;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (min-width: 768px) {
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card-empty {
  padding: 3rem 1.25rem;
  text-align: center;
}
.card-empty .card-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: #475569;
}
.card-empty .card-empty-icon .icon {
  width: 32px;
  height: 32px;
}
.card-empty .card-empty-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}
.card-empty .card-empty-description {
  font-size: 0.875rem;
  color: #475569;
  max-width: 300px;
  margin: 0 auto 1.25rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1), visibility 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-overlay.is-open .modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: calc(100vh - 2rem);
  background: #12121a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  transition: opacity 200ms cubic-bezier(0, 0, 0.2, 1), transform 200ms cubic-bezier(0, 0, 0.2, 1);
}
.modal.modal-sm {
  max-width: 400px;
}
.modal.modal-lg {
  max-width: 700px;
}
.modal.modal-xl {
  max-width: 900px;
}
.modal.modal-fullscreen {
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border-radius: 0;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0;
}

.modal-close {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  color: #475569;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
}
.modal-close .icon {
  width: 20px;
  height: 20px;
}

.modal-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.modal-body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.modal-body::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 9999px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  gap: 0.75rem;
}
.modal-footer.modal-footer-end {
  justify-content: flex-end;
}
.modal-footer.modal-footer-center {
  justify-content: center;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
}

.modal-confirm {
  text-align: center;
}
.modal-confirm .modal-body {
  padding: 2rem 1.5rem;
}
.modal-confirm .modal-confirm-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 9999px;
}
.modal-confirm .modal-confirm-icon .icon {
  width: 32px;
  height: 32px;
}
.modal-confirm .modal-confirm-icon.modal-confirm-icon-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.modal-confirm .modal-confirm-icon.modal-confirm-icon-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.modal-confirm .modal-confirm-icon.modal-confirm-icon-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}
.modal-confirm .modal-confirm-icon.modal-confirm-icon-info {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.modal-confirm .modal-confirm-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}
.modal-confirm .modal-confirm-message {
  font-size: 0.875rem;
  color: #94a3b8;
  max-width: 320px;
  margin: 0 auto;
}
.modal-confirm .modal-footer {
  justify-content: center;
}

.alert {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid;
  font-size: 0.875rem;
}
.alert .alert-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.alert .alert-content {
  flex: 1;
  min-width: 0;
}
.alert .alert-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.alert .alert-message {
  color: inherit;
  opacity: 0.9;
}
.alert .alert-close {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 0.25rem;
  color: currentColor;
  opacity: 0.6;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.alert .alert-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}
.alert .alert-close .icon {
  width: 16px;
  height: 16px;
}
.alert .alert-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: #84b1f9;
}
.alert-info .alert-title {
  color: #9dc0fa;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
  color: #52e187;
}
.alert-success .alert-title {
  color: #68e596;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #f8bb54;
}
.alert-warning .alert-title {
  color: #f9c56d;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #f58a8a;
}
.alert-error .alert-title {
  color: #f7a2a2;
}

.toast-container {
  position: fixed;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  max-width: 400px;
  width: 100%;
  pointer-events: none;
}
.toast-container.toast-top-right {
  top: 0;
  right: 0;
}
.toast-container.toast-top-left {
  top: 0;
  left: 0;
}
.toast-container.toast-bottom-right {
  bottom: 0;
  right: 0;
}
.toast-container.toast-bottom-left {
  bottom: 0;
  left: 0;
}
.toast-container.toast-top-center {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.toast-container.toast-bottom-center {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #22222e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  animation: slideInRight 200ms cubic-bezier(0, 0, 0.2, 1) forwards;
}
.toast.toast-exiting {
  animation: slideOutRight 150ms cubic-bezier(0.4, 0, 1, 1) forwards;
}
.toast .toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 0.25rem;
}
.toast .toast-icon .icon {
  width: 16px;
  height: 16px;
}
.toast .toast-content {
  flex: 1;
  min-width: 0;
}
.toast .toast-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f1f5f9;
}
.toast .toast-message {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}
.toast .toast-close {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 0.25rem;
  color: #475569;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.toast .toast-close:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
}
.toast .toast-close .icon {
  width: 16px;
  height: 16px;
}
.toast .toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: currentColor;
  border-radius: 0 0 0.75rem 0.75rem;
  animation: toastProgress linear forwards;
}

.toast-info {
  border-left: 3px solid #3b82f6;
}
.toast-info .toast-icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.toast-success {
  border-left: 3px solid #22c55e;
}
.toast-success .toast-icon {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.toast-warning {
  border-left: 3px solid #f59e0b;
}
.toast-warning .toast-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.toast-error {
  border-left: 3px solid #ef4444;
}
.toast-error .toast-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

@keyframes toastProgress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  text-align: center;
}
.banner .banner-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.banner .banner-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.banner .banner-action {
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}
.banner .banner-action:hover {
  text-decoration: none;
}
.banner .banner-close {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 0.25rem;
  color: currentColor;
  opacity: 0.6;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.banner .banner-close:hover {
  opacity: 1;
}
.banner .banner-close .icon {
  width: 16px;
  height: 16px;
}

.banner-info {
  background: #3b82f6;
  color: white;
}

.banner-success {
  background: #22c55e;
  color: white;
}

.banner-warning {
  background: #f59e0b;
  color: #0a0a0f;
}

.banner-error {
  background: #ef4444;
  color: white;
}

.table-container {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}
.table-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.table-container::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 9999px;
}
.table-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}
.table-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table thead {
  background: rgba(0, 0, 0, 0.2);
}
.table thead th {
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: #f1f5f9;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.table thead th:first-child {
  padding-left: 1.25rem;
}
.table thead th:last-child {
  padding-right: 1.25rem;
}

.table-sortable {
  cursor: pointer;
  user-select: none;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.table-sortable:hover {
  color: #60a5fa;
}
.table-sortable .sort-icon {
  width: 16px;
  height: 16px;
  margin-left: 0.25rem;
  vertical-align: middle;
  opacity: 0.3;
  transition: opacity 150ms;
}
.table-sortable.is-sorted {
  color: #3b82f6;
}
.table-sortable.is-sorted .sort-icon {
  opacity: 1;
  color: #3b82f6;
}
.table-sortable.is-sorted-desc .sort-icon {
  transform: rotate(180deg);
}

.table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 150ms;
}
.table tbody tr:last-child {
  border-bottom: none;
}
.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.06);
}
.table tbody tr.is-selected {
  background: rgba(59, 130, 246, 0.1);
}
.table tbody td {
  padding: 0.75rem 1rem;
  color: #94a3b8;
  vertical-align: middle;
}
.table tbody td:first-child {
  padding-left: 1.25rem;
}
.table tbody td:last-child {
  padding-right: 1.25rem;
}

.table-clickable tbody tr {
  cursor: pointer;
}

.table-cell-primary {
  color: #f1f5f9;
  font-weight: 500;
}

.table-cell-muted {
  color: #475569;
  font-size: 0.75rem;
}

.table-cell-truncate {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-cell-actions {
  width: 1%;
  white-space: nowrap;
}
.table-cell-actions .btn-icon {
  opacity: 0;
  transition: opacity 150ms;
}
tr:hover .table-cell-actions .btn-icon {
  opacity: 1;
}

.table-cell-checkbox {
  width: 40px;
  padding-right: 0 !important;
}

.table-selectable thead th:first-child,
.table-selectable tbody td:first-child {
  width: 40px;
}
.table-selectable .form-checkbox {
  margin: 0;
}

.table-compact {
  font-size: 0.75rem;
}
.table-compact thead th,
.table-compact tbody td {
  padding: 0.5rem 0.75rem;
}

.table-relaxed thead th,
.table-relaxed tbody td {
  padding: 1rem 1rem;
}

.table-empty {
  padding: 3rem 1.5rem;
  text-align: center;
}
.table-empty .table-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: #475569;
}
.table-empty .table-empty-icon .icon {
  width: 24px;
  height: 24px;
}
.table-empty .table-empty-title {
  font-size: 1rem;
  font-weight: 500;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}
.table-empty .table-empty-message {
  font-size: 0.875rem;
  color: #475569;
}

.table-loading {
  position: relative;
  min-height: 200px;
}
.table-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.table-loading .table-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pagination-info {
  color: #475569;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination-btn {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  color: #94a3b8;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pagination-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
}
.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.pagination-btn.is-active {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}
.pagination-btn .icon {
  width: 18px;
  height: 18px;
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #475569;
}

.pagination-per-page {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
}
.pagination-per-page .form-select {
  width: auto;
  height: 32px;
  padding: 0 2rem 0 0.75rem;
  font-size: 0.875rem;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 1rem;
}

.table-search {
  position: relative;
  width: 100%;
  max-width: 300px;
}
.table-search .form-input {
  padding-left: 2.5rem;
}
.table-search .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #475569;
  pointer-events: none;
}

.table-filters {
  display: flex;
  gap: 0.75rem;
}

.table-actions {
  display: flex;
  gap: 0.5rem;
}

.table-bulk-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  animation: slideDown 150ms cubic-bezier(0, 0, 0.2, 1);
}
.table-bulk-actions .bulk-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: #60a5fa;
}
.table-bulk-actions .bulk-actions {
  display: flex;
  gap: 0.5rem;
}

.breadcrumbs,
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
}
.breadcrumb-item a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 150ms;
}
.breadcrumb-item a:hover {
  color: #60a5fa;
}
.breadcrumb-item:last-child {
  color: #f1f5f9;
}
.breadcrumb-item:last-child a {
  color: #f1f5f9;
  pointer-events: none;
}
.breadcrumb-item .breadcrumb-separator {
  width: 16px;
  height: 16px;
  color: #475569;
}
.breadcrumb-item .breadcrumb-icon {
  width: 16px;
  height: 16px;
}

.breadcrumb a.breadcrumb-item {
  color: #94a3b8;
  text-decoration: none;
  transition: color 150ms;
}
.breadcrumb a.breadcrumb-item:hover {
  color: #60a5fa;
}
.breadcrumb span.breadcrumb-item.is-active {
  color: #f1f5f9;
}
.breadcrumb > .breadcrumb-separator {
  color: #475569;
}

.tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
}

.tab {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: relative;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.tab:hover {
  color: #f1f5f9;
}
.tab.is-active {
  color: #3b82f6;
}
.tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #3b82f6;
  border-radius: 9999px 9999px 0 0;
}
.tab:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.tab .tab-icon,
.tab .icon {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.tab .tab-badge {
  margin-left: 0.5rem;
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-radius: 9999px;
}

.tabs-pills {
  border-bottom: none;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem;
  border-radius: 0.5rem;
  width: fit-content;
}
.tabs-pills .tab {
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
}
.tabs-pills .tab.is-active {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}
.tabs-pills .tab.is-active::after {
  display: none;
}

.tabs-vertical {
  flex-direction: column;
  border-bottom: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0;
  margin-right: 1.5rem;
  padding-right: 1rem;
}
.tabs-vertical .tab {
  text-align: left;
  justify-content: flex-start;
}
.tabs-vertical .tab.is-active::after {
  top: 0;
  bottom: 0;
  left: auto;
  right: -1px;
  width: 2px;
  height: auto;
  border-radius: 9999px 0 0 9999px;
}

.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
  animation: fadeIn 150ms cubic-bezier(0, 0, 0.2, 1);
}

.pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}
.pill.is-active {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}
.pill .pill-icon {
  width: 16px;
  height: 16px;
}
.pill .pill-count {
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}
.pill .pill-remove {
  width: 16px;
  height: 16px;
  margin-left: 0.25rem;
  margin-right: -0.25rem;
  opacity: 0.6;
  transition: opacity 150ms;
}
.pill .pill-remove:hover {
  opacity: 1;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 180px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  background: #22222e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 150ms, visibility 150ms, transform 150ms;
}
.dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu.dropdown-menu-right {
  left: auto;
  right: 0;
}
.dropdown-menu.dropdown-menu-up {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 0.5rem;
  transform: translateY(8px);
}
.dropdown-menu.dropdown-menu-up.is-open {
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
}
.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
}
.dropdown-item.is-active {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.dropdown-item.is-danger {
  color: #ef4444;
}
.dropdown-item.is-danger:hover {
  background: rgba(239, 68, 68, 0.1);
}
.dropdown-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.dropdown-item .dropdown-item-icon {
  width: 18px;
  height: 18px;
  color: #475569;
}
.dropdown-item .dropdown-item-shortcut {
  margin-left: auto;
  font-size: 0.75rem;
  color: #475569;
}

.dropdown-divider {
  height: 1px;
  margin: 0.5rem 0;
  background: rgba(255, 255, 255, 0.06);
}

.dropdown-header {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.stepper {
  display: flex;
  align-items: flex-start;
}

.step {
  flex: 1;
  position: relative;
  text-align: center;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
}
.step.is-completed::after {
  background: #3b82f6;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 0.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #475569;
  position: relative;
  z-index: 1;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.step.is-active .step-indicator {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  color: #3b82f6;
}
.step.is-completed .step-indicator {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}
.step-indicator .icon {
  width: 18px;
  height: 18px;
}

.step-label {
  font-size: 0.875rem;
  color: #475569;
  transition: color 150ms;
}
.step.is-active .step-label, .step.is-completed .step-label {
  color: #f1f5f9;
}

.step-description {
  font-size: 0.75rem;
  color: #475569;
  margin-top: 0.25rem;
}

.stepper-vertical {
  flex-direction: column;
  gap: 1.5rem;
}
.stepper-vertical .step {
  display: flex;
  align-items: flex-start;
  text-align: left;
}
.stepper-vertical .step:not(:last-child)::after {
  top: 32px;
  left: 15px;
  width: 2px;
  height: calc(100% + 1.5rem - 32px);
}
.stepper-vertical .step-indicator {
  margin: 0 1rem 0 0;
  flex-shrink: 0;
}
.stepper-vertical .step-content {
  flex: 1;
  padding-top: 0.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 0.25rem;
  white-space: nowrap;
}

.badge-default {
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.badge-primary {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.badge-secondary {
  background: rgba(168, 85, 247, 0.15);
  color: #cd9efa;
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #3ddd78;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f7b13c;
}

.badge-error {
  background: rgba(239, 68, 68, 0.15);
  color: #f37373;
}

.badge-info {
  background: rgba(59, 130, 246, 0.15);
  color: #6ca1f8;
}

.badge-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: currentColor;
}

.badge-lg {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.badge-pill {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.25rem;
  color: #94a3b8;
}
.tag .tag-remove {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-right: -0.25rem;
  color: #475569;
  transition: color 150ms;
}
.tag .tag-remove:hover {
  color: #ef4444;
}
.tag .tag-remove .icon {
  width: 12px;
  height: 12px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: white;
  font-weight: 600;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-xs {
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
}

.avatar-md {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.avatar-lg {
  width: 48px;
  height: 48px;
  font-size: 1.125rem;
}

.avatar-xl {
  width: 64px;
  height: 64px;
  font-size: 1.5rem;
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
}
.avatar-wrapper .avatar-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  border: 2px solid #0a0a0f;
}
.avatar-wrapper .avatar-status.status-online {
  background: #22c55e;
}
.avatar-wrapper .avatar-status.status-offline {
  background: #475569;
}
.avatar-wrapper .avatar-status.status-busy {
  background: #ef4444;
}
.avatar-wrapper .avatar-status.status-away {
  background: #f59e0b;
}

.avatar-group {
  display: flex;
}
.avatar-group .avatar {
  border: 2px solid #0a0a0f;
  margin-left: -0.5rem;
}
.avatar-group .avatar:first-child {
  margin-left: 0;
}
.avatar-group .avatar-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: -0.5rem;
  background: #22222e;
  border: 2px solid #0a0a0f;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #475569;
}

.progress {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #a855f7);
  border-radius: 9999px;
  transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-sm {
  height: 4px;
}

.progress-lg {
  height: 12px;
}

.progress-success .progress-bar {
  background: #22c55e;
}

.progress-warning .progress-bar {
  background: #f59e0b;
}

.progress-error .progress-bar {
  background: #ef4444;
}

.progress-indeterminate .progress-bar {
  width: 30%;
  animation: progressIndeterminate 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.progress-labeled {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.progress-labeled .progress {
  flex: 1;
}
.progress-labeled .progress-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
  min-width: 40px;
  text-align: right;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-top-color: #3b82f6;
  border-radius: 9999px;
  animation: spin 0.8s linear infinite;
}

.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.spinner-lg {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

.spinner-xl {
  width: 48px;
  height: 48px;
  border-width: 4px;
}

.loader-dots {
  display: flex;
  gap: 0.25rem;
}
.loader-dots span {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 9999px;
  animation: pulse 1.4s ease-in-out infinite;
}
.loader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.5rem;
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5rem;
}
.skeleton-text:last-child {
  width: 70%;
}

.skeleton-title {
  height: 1.5em;
  width: 50%;
  margin-bottom: 0.75rem;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
}

.skeleton-button {
  height: 40px;
  width: 100px;
}

.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip {
  position: absolute;
  z-index: 1070;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: #f1f5f9;
  background: #22222e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms, visibility 150ms;
}
.tooltip-wrapper:hover .tooltip {
  opacity: 1;
  visibility: visible;
}
.tooltip.tooltip-top {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.5rem;
}
.tooltip.tooltip-bottom {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
}
.tooltip.tooltip-left {
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 0.5rem;
}
.tooltip.tooltip-right {
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0.5rem;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.divider:not(:empty)::before {
  margin-right: 1rem;
}
.divider:not(:empty)::after {
  margin-left: 1rem;
}
.divider span {
  font-size: 0.875rem;
  color: #475569;
}

.divider-vertical {
  width: 1px;
  height: 100%;
  min-height: 20px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 1rem;
}

.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 3rem 1.5rem;
  text-align: center;
}
.empty-state .empty-state-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  color: #475569;
}
.empty-state .empty-state-icon .icon {
  width: 40px;
  height: 40px;
}
.empty-state .empty-state-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}
.empty-state .empty-state-description {
  font-size: 0.875rem;
  color: #475569;
  max-width: 400px;
  margin-bottom: 1.5rem;
}
.empty-state .empty-state-actions {
  display: flex;
  gap: 0.75rem;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.5rem;
  font-family: "JetBrains Mono", "Fira Code", "SF Mono", Consolas, monospace;
  font-size: 0.75rem;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.status-indicator::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 9999px;
}
.status-indicator.status-active::before {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}
.status-indicator.status-inactive::before {
  background: #475569;
}
.status-indicator.status-pending::before {
  background: #f59e0b;
}
.status-indicator.status-error::before {
  background: #ef4444;
}

.tenant-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #2563eb, #9333ea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tenant-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tenant-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 0.875rem;
}
.tenant-stat-pill .icon {
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
  flex-shrink: 0;
}
.tenant-stat-pill code {
  font-size: 0.75rem;
}
.tenant-stat-pill__label {
  color: #94a3b8;
}
.tenant-stat-pill__value {
  color: #f1f5f9;
  font-weight: 500;
}

.tenant-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tenant-tabs::-webkit-scrollbar {
  display: none;
}

.tenant-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.tenant-tab .icon {
  width: 1rem;
  height: 1rem;
}
.tenant-tab:hover {
  color: #f1f5f9;
}
.tenant-tab.active {
  color: #60a5fa;
  border-bottom-color: #60a5fa;
}
.tenant-tab__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1;
}

.tenant-tab-content[hidden] {
  display: none;
}

.limits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.limit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}
.limit-item__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.limit-item__icon svg {
  width: 1rem;
  height: 1rem;
  color: #60a5fa;
}
.limit-item__body {
  min-width: 0;
}
.limit-item__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.1;
}
.limit-item__label {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.settings-flags {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.settings-flag {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}
.settings-flag__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.settings-flag__icon svg {
  width: 1rem;
  height: 1rem;
}
.settings-flag__icon--on {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.settings-flag__icon--off {
  background: rgba(71, 85, 105, 0.15);
  color: #475569;
}
.settings-flag__body {
  flex: 1;
  min-width: 0;
}
.settings-flag__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.3;
}
.settings-flag__desc {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.password-policy-grid {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.policy-length-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  text-align: center;
  min-width: 120px;
}
.policy-length-card__range {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: center;
}
.policy-length-card__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
}
.policy-length-card__sep {
  font-size: 1.25rem;
  color: #475569;
  margin: 0 0.25rem;
}
.policy-length-card__label {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.policy-checks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 180px;
}

.policy-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.policy-check svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.policy-check--pass {
  color: #22c55e;
}
.policy-check--pass svg {
  color: #22c55e;
}
.policy-check--fail {
  color: #475569;
}
.policy-check--fail svg {
  color: #475569;
}

.retention-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.75rem;
}

.retention-item {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  text-align: center;
}
.retention-item__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #60a5fa;
  line-height: 1.1;
}
.retention-item__unit {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.125rem;
}
.retention-item__label {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.security-score {
  text-align: center;
}
.security-score__value {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.security-score__value--high {
  color: #22c55e;
}
.security-score__value--medium {
  color: #f59e0b;
}
.security-score__value--low {
  color: #ef4444;
}
.security-score__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}
.security-score__fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.security-score__fill--high {
  background: #22c55e;
}
.security-score__fill--medium {
  background: #f59e0b;
}
.security-score__fill--low {
  background: #ef4444;
}

.integration-stats {
  display: flex;
  gap: 1rem;
}

.integration-stat {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}
.integration-stat__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
}
.integration-stat__label {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.metadata-block {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.metadata-block__label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 0.25rem;
}
.metadata-block__value {
  color: #f1f5f9;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.25rem;
  cursor: pointer;
  color: #94a3b8;
  transition: color 150ms, background 150ms;
  flex-shrink: 0;
}
.btn-copy svg {
  width: 0.875rem;
  height: 0.875rem;
}
.btn-copy:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
}
.btn-copy.copied {
  color: #22c55e;
}

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
}
.empty-state__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #475569;
  margin: 0 auto 0.75rem;
  display: block;
}
.empty-state__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}
.empty-state__desc {
  font-size: 0.75rem;
  color: #475569;
  max-width: 28rem;
  margin: 0 auto;
  line-height: 1.5;
}

.card-section-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 1rem 0;
}

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 0.75rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-grid {
  display: grid !important;
}

@media (min-width: 640px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-flex {
    display: flex !important;
  }
}
@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-flex {
    display: flex !important;
  }
}
@media (min-width: 1024px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-block {
    display: block !important;
  }
  .d-lg-flex {
    display: flex !important;
  }
}
@media (min-width: 1280px) {
  .d-xl-none {
    display: none !important;
  }
  .d-xl-block {
    display: block !important;
  }
  .d-xl-flex {
    display: flex !important;
  }
}
.flex-row {
  flex-direction: row !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.flex-1 {
  flex: 1 !important;
}

.flex-auto {
  flex: auto !important;
}

.flex-none {
  flex: none !important;
}

.justify-start {
  justify-content: flex-start !important;
}

.justify-end {
  justify-content: flex-end !important;
}

.justify-center {
  justify-content: center !important;
}

.justify-between {
  justify-content: space-between !important;
}

.justify-around {
  justify-content: space-around !important;
}

.items-start {
  align-items: flex-start !important;
}

.items-end {
  align-items: flex-end !important;
}

.items-center {
  align-items: center !important;
}

.items-baseline {
  align-items: baseline !important;
}

.items-stretch {
  align-items: stretch !important;
}

.self-start {
  align-self: flex-start !important;
}

.self-end {
  align-self: flex-end !important;
}

.self-center {
  align-self: center !important;
}

.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

.gap-4 {
  gap: 1rem !important;
}

.gap-5 {
  gap: 1.25rem !important;
}

.gap-6 {
  gap: 1.5rem !important;
}

.gap-8 {
  gap: 2rem !important;
}

.m-0 {
  margin: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.ml-0 {
  margin-left: 0 !important;
}

.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pl-0 {
  padding-left: 0 !important;
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mr-1 {
  margin-right: 0.25rem !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.ml-1 {
  margin-left: 0.25rem !important;
}

.mx-1 {
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}

.my-1 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pr-1 {
  padding-right: 0.25rem !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pl-1 {
  padding-left: 0.25rem !important;
}

.px-1 {
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.ml-2 {
  margin-left: 0.5rem !important;
}

.mx-2 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pr-2 {
  padding-right: 0.5rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pl-2 {
  padding-left: 0.5rem !important;
}

.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.m-3 {
  margin: 0.75rem !important;
}

.mt-3 {
  margin-top: 0.75rem !important;
}

.mr-3 {
  margin-right: 0.75rem !important;
}

.mb-3 {
  margin-bottom: 0.75rem !important;
}

.ml-3 {
  margin-left: 0.75rem !important;
}

.mx-3 {
  margin-left: 0.75rem !important;
  margin-right: 0.75rem !important;
}

.my-3 {
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

.p-3 {
  padding: 0.75rem !important;
}

.pt-3 {
  padding-top: 0.75rem !important;
}

.pr-3 {
  padding-right: 0.75rem !important;
}

.pb-3 {
  padding-bottom: 0.75rem !important;
}

.pl-3 {
  padding-left: 0.75rem !important;
}

.px-3 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.m-4 {
  margin: 1rem !important;
}

.mt-4 {
  margin-top: 1rem !important;
}

.mr-4 {
  margin-right: 1rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.ml-4 {
  margin-left: 1rem !important;
}

.mx-4 {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

.my-4 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.p-4 {
  padding: 1rem !important;
}

.pt-4 {
  padding-top: 1rem !important;
}

.pr-4 {
  padding-right: 1rem !important;
}

.pb-4 {
  padding-bottom: 1rem !important;
}

.pl-4 {
  padding-left: 1rem !important;
}

.px-4 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.m-5 {
  margin: 1.25rem !important;
}

.mt-5 {
  margin-top: 1.25rem !important;
}

.mr-5 {
  margin-right: 1.25rem !important;
}

.mb-5 {
  margin-bottom: 1.25rem !important;
}

.ml-5 {
  margin-left: 1.25rem !important;
}

.mx-5 {
  margin-left: 1.25rem !important;
  margin-right: 1.25rem !important;
}

.my-5 {
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

.p-5 {
  padding: 1.25rem !important;
}

.pt-5 {
  padding-top: 1.25rem !important;
}

.pr-5 {
  padding-right: 1.25rem !important;
}

.pb-5 {
  padding-bottom: 1.25rem !important;
}

.pl-5 {
  padding-left: 1.25rem !important;
}

.px-5 {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.py-5 {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.m-6 {
  margin: 1.5rem !important;
}

.mt-6 {
  margin-top: 1.5rem !important;
}

.mr-6 {
  margin-right: 1.5rem !important;
}

.mb-6 {
  margin-bottom: 1.5rem !important;
}

.ml-6 {
  margin-left: 1.5rem !important;
}

.mx-6 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

.my-6 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.p-6 {
  padding: 1.5rem !important;
}

.pt-6 {
  padding-top: 1.5rem !important;
}

.pr-6 {
  padding-right: 1.5rem !important;
}

.pb-6 {
  padding-bottom: 1.5rem !important;
}

.pl-6 {
  padding-left: 1.5rem !important;
}

.px-6 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.py-6 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.m-8 {
  margin: 2rem !important;
}

.mt-8 {
  margin-top: 2rem !important;
}

.mr-8 {
  margin-right: 2rem !important;
}

.mb-8 {
  margin-bottom: 2rem !important;
}

.ml-8 {
  margin-left: 2rem !important;
}

.mx-8 {
  margin-left: 2rem !important;
  margin-right: 2rem !important;
}

.my-8 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.p-8 {
  padding: 2rem !important;
}

.pt-8 {
  padding-top: 2rem !important;
}

.pr-8 {
  padding-right: 2rem !important;
}

.pb-8 {
  padding-bottom: 2rem !important;
}

.pl-8 {
  padding-left: 2rem !important;
}

.px-8 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.py-8 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.m-10 {
  margin: 2.5rem !important;
}

.mt-10 {
  margin-top: 2.5rem !important;
}

.mr-10 {
  margin-right: 2.5rem !important;
}

.mb-10 {
  margin-bottom: 2.5rem !important;
}

.ml-10 {
  margin-left: 2.5rem !important;
}

.mx-10 {
  margin-left: 2.5rem !important;
  margin-right: 2.5rem !important;
}

.my-10 {
  margin-top: 2.5rem !important;
  margin-bottom: 2.5rem !important;
}

.p-10 {
  padding: 2.5rem !important;
}

.pt-10 {
  padding-top: 2.5rem !important;
}

.pr-10 {
  padding-right: 2.5rem !important;
}

.pb-10 {
  padding-bottom: 2.5rem !important;
}

.pl-10 {
  padding-left: 2.5rem !important;
}

.px-10 {
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}

.py-10 {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.m-12 {
  margin: 3rem !important;
}

.mt-12 {
  margin-top: 3rem !important;
}

.mr-12 {
  margin-right: 3rem !important;
}

.mb-12 {
  margin-bottom: 3rem !important;
}

.ml-12 {
  margin-left: 3rem !important;
}

.mx-12 {
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

.my-12 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.p-12 {
  padding: 3rem !important;
}

.pt-12 {
  padding-top: 3rem !important;
}

.pr-12 {
  padding-right: 3rem !important;
}

.pb-12 {
  padding-bottom: 3rem !important;
}

.pl-12 {
  padding-left: 3rem !important;
}

.px-12 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.py-12 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.m-auto {
  margin: auto !important;
}

.mt-auto {
  margin-top: auto !important;
}

.mr-auto {
  margin-right: auto !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

.ml-auto {
  margin-left: auto !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.my-auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.w-full {
  width: 100% !important;
}

.w-auto {
  width: auto !important;
}

.w-screen {
  width: 100vw !important;
}

.min-w-0 {
  min-width: 0 !important;
}

.max-w-full {
  max-width: 100% !important;
}

.h-full {
  height: 100% !important;
}

.h-auto {
  height: auto !important;
}

.h-screen {
  height: 100vh !important;
}

.min-h-0 {
  min-height: 0 !important;
}

.min-h-screen {
  min-height: 100vh !important;
}

.text-xs {
  font-size: 0.75rem !important;
}

.text-sm {
  font-size: 0.875rem !important;
}

.text-base {
  font-size: 1rem !important;
}

.text-lg {
  font-size: 1.125rem !important;
}

.text-xl {
  font-size: 1.25rem !important;
}

.text-2xl {
  font-size: 1.5rem !important;
}

.text-3xl {
  font-size: 1.875rem !important;
}

.font-light {
  font-weight: 300 !important;
}

.font-normal {
  font-weight: 400 !important;
}

.font-medium {
  font-weight: 500 !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.text-primary {
  color: #f1f5f9 !important;
}

.text-secondary {
  color: #94a3b8 !important;
}

.text-muted {
  color: #475569 !important;
}

.text-accent {
  color: #3b82f6 !important;
}

.text-success {
  color: #22c55e !important;
}

.text-warning {
  color: #f59e0b !important;
}

.text-error {
  color: #ef4444 !important;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

.uppercase {
  text-transform: uppercase !important;
}

.lowercase {
  text-transform: lowercase !important;
}

.capitalize {
  text-transform: capitalize !important;
}

.leading-tight {
  line-height: 1.25 !important;
}

.leading-normal {
  line-height: 1.5 !important;
}

.leading-relaxed {
  line-height: 1.625 !important;
}

.bg-transparent {
  background-color: transparent !important;
}

.bg-primary {
  background-color: #0a0a0f !important;
}

.bg-secondary {
  background-color: #12121a !important;
}

.bg-elevated {
  background-color: #22222e !important;
}

.bg-glass {
  background: rgba(255, 255, 255, 0.03) !important;
}

.border {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-0 {
  border: 0 !important;
}

.border-t {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-r {
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-b {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-l {
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.rounded-none {
  border-radius: 0 !important;
}

.rounded-sm {
  border-radius: 0.25rem !important;
}

.rounded {
  border-radius: 0.5rem !important;
}

.rounded-md {
  border-radius: 0.75rem !important;
}

.rounded-lg {
  border-radius: 1rem !important;
}

.rounded-xl {
  border-radius: 1.25rem !important;
}

.rounded-full {
  border-radius: 9999px !important;
}

.shadow-none {
  box-shadow: none !important;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1) !important;
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

.relative {
  position: relative !important;
}

.absolute {
  position: absolute !important;
}

.fixed {
  position: fixed !important;
}

.sticky {
  position: sticky !important;
}

.inset-0 {
  inset: 0 !important;
}

.top-0 {
  top: 0 !important;
}

.right-0 {
  right: 0 !important;
}

.bottom-0 {
  bottom: 0 !important;
}

.left-0 {
  left: 0 !important;
}

.z-0 {
  z-index: 0 !important;
}

.z-10 {
  z-index: 10 !important;
}

.z-20 {
  z-index: 20 !important;
}

.z-30 {
  z-index: 30 !important;
}

.z-40 {
  z-index: 40 !important;
}

.z-50 {
  z-index: 50 !important;
}

.overflow-auto {
  overflow: auto !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.overflow-visible {
  overflow: visible !important;
}

.overflow-scroll {
  overflow: scroll !important;
}

.overflow-x-auto {
  overflow-x: auto !important;
}

.overflow-y-auto {
  overflow-y: auto !important;
}

.visible {
  visibility: visible !important;
}

.invisible {
  visibility: hidden !important;
}

.opacity-0 {
  opacity: 0 !important;
}

.opacity-50 {
  opacity: 0.5 !important;
}

.opacity-100 {
  opacity: 1 !important;
}

.cursor-auto {
  cursor: auto !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

.cursor-not-allowed {
  cursor: not-allowed !important;
}

.cursor-grab {
  cursor: grab !important;
}

.select-none {
  user-select: none !important;
}

.select-text {
  user-select: text !important;
}

.select-all {
  user-select: all !important;
}

.pointer-events-none {
  pointer-events: none !important;
}

.pointer-events-auto {
  pointer-events: auto !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
