/* Xcitium PRM Custom Styles */

/* Smooth transitions for interactive elements */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Table improvements */
table {
  border-collapse: collapse;
}

/* Form focus rings */
input:focus, select:focus, textarea:focus {
  outline: none;
}

/* Sidebar scroll */
.sidebar-scroll {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.3) transparent;
}

.sidebar-scroll::-webkit-scrollbar {
  width: 4px;
}

.sidebar-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(100, 116, 139, 0.3);
  border-radius: 2px;
}

/* Flash message animation */
[x-cloak] { display: none !important; }

/* Status badge consistency */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

/* Loading indicator for HTMX */
.htmx-indicator {
  opacity: 0;
  transition: opacity 200ms ease-in;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  opacity: 1;
}

/* Print styles */
@media print {
  aside, header, footer {
    display: none !important;
  }
  main {
    margin: 0 !important;
  }
}
