/* Modern Component Library - Professional UI Components 2024 */

/* === BUTTONS === */

/* Base Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  line-height: var(--leading-tight);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  outline: none;
  isolation: isolate;
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  min-height: 32px;
}

.btn-md {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  min-height: 40px;
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-lg);
  min-height: 48px;
}

/* Button Variants */
.btn-primary {
  background: var(--gradient-brand);
  color: var(--text-inverse);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-brand);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--surface-secondary);
  color: var(--text-primary);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface-tertiary);
  border-color: var(--border-secondary);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  box-shadow: none;
}

.btn-ghost:hover:not(:disabled) {
  background: var(--surface-overlay);
}

.btn-danger {
  background: var(--gradient-danger);
  color: var(--text-inverse);
  box-shadow: var(--shadow-md);
}

.btn-danger:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-danger);
}

/* Button States */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn:focus-visible {
  box-shadow: var(--focus-ring);
}

/* Button Loading State */
.btn.loading {
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}

/* === FORMS === */

/* Form Control Base */
.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--surface-primary);
  border: 2px solid var(--border-primary);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  outline: none;
}

.form-control:hover:not(:disabled) {
  border-color: var(--border-secondary);
}

.form-control:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

.form-control:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: var(--surface-secondary);
}

/* Form Control Variants */
.form-control.error {
  border-color: var(--danger-500);
}

.form-control.error:focus {
  box-shadow: 0 0 0 3px rgb(239 68 68 / 0.1);
}

.form-control.success {
  border-color: var(--success-500);
}

.form-control.success:focus {
  box-shadow: 0 0 0 3px rgb(34 197 94 / 0.1);
}

/* Form Label */
.form-label {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
}

.form-label.required::after {
  content: " *";
  color: var(--danger-500);
}

/* Form Helper Text */
.form-help {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.form-help.error {
  color: var(--danger-500);
}

.form-help.success {
  color: var(--success-500);
}

/* Form Group */
.form-group {
  margin-bottom: var(--space-6);
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-3);
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin-right: var(--space-3);
  border: 2px solid var(--border-primary);
  border-radius: var(--radius-base);
  background-color: var(--surface-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.form-check-input[type="radio"] {
  border-radius: var(--radius-full);
}

.form-check-input:checked {
  background-color: var(--brand-500);
  border-color: var(--brand-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
}

.form-check-input[type="radio"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Ccircle cx='10' cy='10' r='3'/%3E%3C/svg%3E");
}

.form-check-input:focus {
  box-shadow: var(--focus-ring);
}

.form-check-label {
  font-size: var(--text-base);
  color: var(--text-primary);
  cursor: pointer;
}

/* Select */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-position: right var(--space-3) center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-right: var(--space-10);
}

/* === CARDS === */

.card-modern {
  background: var(--surface-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-base);
  padding: var(--space-6);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition-base);
}

.card-modern:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-modern:hover::before {
  opacity: 1;
}

.card-modern.interactive {
  cursor: pointer;
}

.card-modern.selected {
  border: 2px solid var(--brand-500);
}

.card-modern.selected::before {
  opacity: 1;
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0;
}

.card-subtitle {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

/* Card Body */
.card-body {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* Card Footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-primary);
}

/* === BADGES === */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  line-height: 1;
  white-space: nowrap;
}

.badge-primary {
  background: var(--brand-100);
  color: var(--brand-700);
}

.badge-success {
  background: var(--success-100);
  color: var(--success-700);
}

.badge-warning {
  background: var(--warning-100);
  color: var(--warning-700);
}

.badge-danger {
  background: var(--danger-100);
  color: var(--danger-700);
}

.badge-neutral {
  background: var(--neutral-200);
  color: var(--neutral-700);
}

/* Badge Sizes */
.badge-sm {
  padding: var(--space-0) var(--space-1);
  font-size: var(--text-xs);
}

.badge-lg {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
}

/* === ALERTS === */

.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border-left: 4px solid;
  background: var(--surface-primary);
  margin-bottom: var(--space-4);
}

.alert-info {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-900);
}

.alert-success {
  border-color: var(--success-500);
  background: var(--success-50);
  color: var(--success-900);
}

.alert-warning {
  border-color: var(--warning-500);
  background: var(--warning-50);
  color: var(--warning-900);
}

.alert-danger {
  border-color: var(--danger-500);
  background: var(--danger-50);
  color: var(--danger-900);
}

.alert-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-1);
}

.alert-close {
  flex-shrink: 0;
  margin-left: auto;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.alert-close:hover {
  opacity: 1;
}

/* === MODALS === */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal-backdrop);
  animation: fadeIn 0.2s ease;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface-primary);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  z-index: var(--z-modal);
  animation: slideUp 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

/* Settings modal compact layout */
.settings-modal {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.settings-modal.show {
  padding: 0;
}

.settings-modal .modal-content {
  width: min(92vw, 400px);
  max-width: 400px;
  padding: var(--space-5);
  border-radius: var(--radius-xl);
}

.settings-modal .modal-content h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin: 0 0 var(--space-4);
}

.reference-confirm-modal {
  background: transparent;
  box-shadow: none;
  max-width: none;
  max-height: none;
  overflow: visible;
  width: auto;
  height: auto;
}

.reference-confirm-modal.show {
  padding: 0;
}

.reference-confirm-modal .modal-content {
  width: min(92vw, 520px);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.reference-confirm-modal .modal-content h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
}

.reference-confirm-modal .modal-content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.reference-confirm-modal .modal-buttons {
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.settings-modal .settings-section {
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.settings-modal .settings-section:last-of-type {
  margin-bottom: var(--space-5);
}

.settings-modal .settings-section h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.settings-modal .viewToggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  align-self: flex-start;
}

.settings-modal .viewToggle input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.settings-modal .viewToggle label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  background: var(--surface-primary);
  transition: var(--transition-fast);
}

.settings-modal .viewToggle input[type="radio"]:checked + label {
  background: var(--gradient-brand);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.settings-modal .settings-actions {
  flex-direction: row;
  align-items: stretch;
  gap: var(--space-3);
}

.settings-modal .settings-actions .btn,
.settings-modal .settings-actions .file-btn {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
}

.settings-modal .settings-theme-toggle {
  width: auto;
  max-width: 100%;
  align-self: flex-start;
  justify-content: space-between;
  text-align: left;
}

.settings-modal .modal-buttons {
  margin-top: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-primary);
}

.settings-modal .modal-buttons .btn {
  width: auto;
  min-width: 120px;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
}

.modal-sm { width: 400px; }
.modal-md { width: 600px; }
.modal-lg { width: 800px; }
.modal-xl { width: 1200px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: 1px solid var(--border-primary);
}

.modal-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0;
}

.modal-body {
  padding: var(--space-6);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-6);
  border-top: 1px solid var(--border-primary);
  background: var(--surface-secondary);
}

/* === TOAST NOTIFICATIONS === */

.toast-container {
  position: fixed;
  top: var(--space-4);
  right: var(--space-4);
  z-index: var(--z-notification);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 300px;
  max-width: 400px;
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  background: var(--surface-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: slideInRight 0.3s ease;
}

.toast-success {
  border-left: 4px solid var(--success-500);
}

.toast-info {
  border-left: 4px solid var(--brand-500);
}

.toast-warning {
  border-left: 4px solid var(--warning-500);
}

.toast-danger {
  border-left: 4px solid var(--danger-500);
}

.toast-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.toast-message {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.toast-close {
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.toast-close:hover {
  opacity: 1;
}

/* === LOADING STATES === */

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-secondary) 0%,
    var(--surface-tertiary) 50%,
    var(--surface-secondary) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  height: 16px;
  margin-bottom: var(--space-2);
}

.skeleton-title {
  height: 24px;
  width: 50%;
  margin-bottom: var(--space-3);
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
}

.skeleton-button {
  width: 100px;
  height: 40px;
  border-radius: var(--radius-lg);
}

/* Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--surface-tertiary);
  border-top-color: var(--brand-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm {
  width: 24px;
  height: 24px;
  border-width: 3px;
}

.spinner-lg {
  width: 56px;
  height: 56px;
  border-width: 5px;
}

/* Loading Dots */
.loading-dots {
  display: inline-flex;
  gap: var(--space-1);
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: var(--brand-500);
  border-radius: var(--radius-full);
  animation: loadingDot 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0; }

/* Loading Bar */
.loading-bar {
  position: relative;
  height: 4px;
  background: var(--surface-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loading-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-brand);
  animation: loadingBar 1.5s ease-in-out infinite;
}

/* === TAGS === */

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  background: var(--surface-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: var(--transition-fast);
  cursor: default;
}

.tag:hover {
  background: var(--surface-tertiary);
}

.tag-dismissible {
  cursor: pointer;
}

.tag-dismissible:hover {
  background: var(--danger-100);
  border-color: var(--danger-300);
  color: var(--danger-700);
}

.tag-close {
  margin-left: var(--space-1);
  cursor: pointer;
  opacity: 0.5;
}

.tag-close:hover {
  opacity: 1;
}

/* === TOOLTIPS === */

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

.tooltip-content {
  position: absolute;
  bottom: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-2) var(--space-3);
  background: var(--neutral-900);
  color: var(--text-inverse);
  font-size: var(--text-sm);
  white-space: nowrap;
  border-radius: var(--radius-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  z-index: var(--z-tooltip);
}

.tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--neutral-900);
}

.tooltip:hover .tooltip-content {
  opacity: 1;
}

/* === UTILITY CLASSES === */

/* Spacing */
.p-0 { padding: var(--space-0); }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.m-0 { margin: var(--space-0); }
.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }
.m-5 { margin: var(--space-5); }
.m-6 { margin: var(--space-6); }
.m-8 { margin: var(--space-8); }

.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-grid { display: grid; }

/* Flexbox */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.align-stretch { align-items: stretch; }

/* Gaps */
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }

/* Text */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }

.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-brand { color: var(--text-brand); }
.text-success { color: var(--text-success); }
.text-warning { color: var(--text-warning); }
.text-danger { color: var(--text-danger); }

/* Backgrounds */
.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-tertiary { background-color: var(--bg-tertiary); }
.bg-brand { background: var(--gradient-brand); }
.bg-success { background: var(--gradient-success); }
.bg-warning { background: var(--gradient-warning); }
.bg-danger { background: var(--gradient-danger); }

/* Borders */
.border { border: 1px solid var(--border-primary); }
.border-2 { border: 2px solid var(--border-primary); }
.border-0 { border: none; }
.border-top { border-top: 1px solid var(--border-primary); }
.border-bottom { border-bottom: 1px solid var(--border-primary); }
.border-left { border-left: 1px solid var(--border-primary); }
.border-right { border-right: 1px solid var(--border-primary); }

/* Border Radius */
.rounded-none { border-radius: var(--radius-none); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-base); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadows */
.shadow-none { box-shadow: none; }
.shadow-xs { box-shadow: var(--shadow-xs); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-base); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* Overflow */
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }

/* Position */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

/* Visibility */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-move { cursor: move; }
.cursor-grab { cursor: grab; }
.cursor-grabbing { cursor: grabbing; }

/* User Select */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }

/* Z-Index */
.z-0 { z-index: var(--z-0); }
.z-10 { z-index: var(--z-10); }
.z-20 { z-index: var(--z-20); }
.z-30 { z-index: var(--z-30); }
.z-40 { z-index: var(--z-40); }
.z-50 { z-index: var(--z-50); }