/* ==========================================================================
   CREES PropTech Platform — Master Design System Components (Stage 2)
   Reusable, disciplined, production-grade components for Cambodian asset care
   ========================================================================== */

@import url('design-tokens.css');

/* --------------------------------------------------------------------------
   1. Reset & Global Engine
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family-sans);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color: var(--crees-slate-800);
  background-color: var(--crees-slate-50);
  overflow-x: hidden;
}

a {
  color: var(--crees-blue-600);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}
a:hover {
  color: var(--crees-blue-700);
}

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

/* --------------------------------------------------------------------------
   2. Disciplined Proptech Typography
   -------------------------------------------------------------------------- */
.crees-h1 {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--crees-slate-900);
  letter-spacing: -0.015em;
}

.crees-h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
  color: var(--crees-slate-900);
  letter-spacing: -0.01em;
}

.crees-h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  color: var(--crees-slate-900);
}

.crees-h4 {
  font-size: var(--text-md);
  font-weight: var(--font-weight-semibold);
  color: var(--crees-slate-900);
}

.crees-subtext {
  font-size: var(--text-sm);
  color: var(--crees-slate-500);
  line-height: var(--line-height-base);
}

.crees-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--crees-slate-500);
}

.crees-mono {
  font-family: var(--font-family-mono);
  font-feature-settings: 'tnum' on, 'zero' on;
}

/* --------------------------------------------------------------------------
   3. Button System
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-family-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  padding: 0.5625rem 0.9375rem; /* 9px 15px */
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: all var(--duration-fast) var(--ease-standard);
  text-decoration: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--crees-blue-100), 0 0 0 1px var(--crees-blue-600);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — Institutional Brand Blue */
.btn-primary {
  background-color: var(--crees-blue-600);
  border-color: var(--crees-blue-600);
  color: var(--crees-white);
  box-shadow: var(--shadow-xs);
}
.btn-primary:hover {
  background-color: var(--crees-blue-500);
  border-color: var(--crees-blue-500);
  color: var(--crees-white);
}
.btn-primary:active {
  background-color: var(--crees-blue-700);
  border-color: var(--crees-blue-700);
}

/* Secondary / Neutral Slate */
.btn-secondary {
  background-color: var(--crees-white);
  border-color: var(--crees-slate-300);
  color: var(--crees-slate-800);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background-color: var(--crees-slate-100);
  border-color: var(--crees-slate-400);
  color: var(--crees-slate-900);
}
.btn-secondary:active {
  background-color: var(--crees-slate-200);
}

/* Outline — Subtle */
.btn-outline {
  background-color: transparent;
  border-color: var(--crees-slate-300);
  color: var(--crees-slate-700);
}
.btn-outline:hover {
  background-color: var(--crees-slate-100);
  color: var(--crees-slate-900);
}

/* Ghost — Borderless */
.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--crees-slate-600);
}
.btn-ghost:hover {
  background-color: var(--crees-slate-100);
  color: var(--crees-slate-900);
}

/* Success / Approve Action */
.btn-success {
  background-color: var(--crees-success-600);
  border-color: var(--crees-success-600);
  color: var(--crees-white);
  box-shadow: var(--shadow-xs);
}
.btn-success:hover {
  background-color: var(--crees-success-700);
  border-color: var(--crees-success-700);
}

/* Destructive / Reject Action */
.btn-danger {
  background-color: var(--crees-danger-600);
  border-color: var(--crees-danger-600);
  color: var(--crees-white);
  box-shadow: var(--shadow-xs);
}
.btn-danger:hover {
  background-color: var(--crees-danger-700);
  border-color: var(--crees-danger-700);
}

/* Sizes */
.btn-xs {
  font-size: var(--text-2xs);
  padding: 0.3125rem 0.5625rem;
  border-radius: var(--radius-xs);
}
.btn-sm {
  font-size: var(--text-xs);
  padding: 0.4375rem 0.75rem;
}
.btn-lg {
  font-size: var(--text-base);
  padding: 0.6875rem 1.25rem;
}
.btn-icon-only {
  padding: 0.5rem;
  width: 34px;
  height: 34px;
}
.btn-icon-only.btn-sm {
  width: 28px;
  height: 28px;
  padding: 0.3125rem;
}

/* Button Loading State */
.btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  left: 50%;
  margin: -7px 0 0 -7px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: crees-spin 0.65s linear infinite;
}
@keyframes crees-spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   4. Form Controls & Inputs
   -------------------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1-5);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--crees-slate-700);
  letter-spacing: 0.01em;
}
.form-label .required {
  color: var(--crees-danger-600);
  margin-left: 2px;
}

.input,
.select,
.textarea {
  width: 100%;
  font-family: var(--font-family-sans);
  font-size: var(--text-sm);
  color: var(--crees-slate-900);
  background-color: var(--crees-white);
  border: 1px solid var(--crees-slate-300);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  outline: none;
  transition: all var(--duration-fast) var(--ease-standard);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--crees-slate-400);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--crees-blue-600);
  box-shadow: 0 0 0 3px var(--crees-blue-100);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--crees-slate-400);
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

/* Search Input with Leading Icon */
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-wrapper .search-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--crees-slate-400);
  pointer-events: none;
  width: 15px;
  height: 15px;
}
.search-input-wrapper .input {
  padding-left: 2.25rem;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--crees-slate-500);
}
.form-error {
  font-size: var(--text-xs);
  color: var(--crees-danger-600);
  font-weight: var(--font-weight-medium);
}

/* --------------------------------------------------------------------------
   5. Status Badges & Issue Severity Indicators
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-family-sans);
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.02em;
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  line-height: 1.25;
  white-space: nowrap;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Status variants */
.badge-success {
  background-color: var(--crees-success-50);
  border-color: var(--crees-success-border);
  color: var(--crees-success-700);
}
.badge-success .badge-dot { background-color: var(--crees-success-500); }

.badge-warning {
  background-color: var(--crees-warning-50);
  border-color: var(--crees-warning-border);
  color: var(--crees-warning-700);
}
.badge-warning .badge-dot { background-color: var(--crees-warning-500); }

.badge-danger {
  background-color: var(--crees-danger-50);
  border-color: var(--crees-danger-border);
  color: var(--crees-danger-700);
}
.badge-danger .badge-dot { background-color: var(--crees-danger-500); }

.badge-info {
  background-color: var(--crees-info-50);
  border-color: var(--crees-info-border);
  color: var(--crees-info-700);
}
.badge-info .badge-dot { background-color: var(--crees-info-500); }

.badge-neutral {
  background-color: var(--crees-slate-100);
  border-color: var(--crees-slate-200);
  color: var(--crees-slate-700);
}
.badge-neutral .badge-dot { background-color: var(--crees-slate-400); }

/* Severity Chips (Specific to Inspection Issues & Maintenance) */
.severity-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
}
.severity-critical {
  background-color: var(--crees-danger-50);
  color: var(--crees-danger-600);
  border-color: var(--crees-danger-border);
}
.severity-moderate {
  background-color: var(--crees-warning-50);
  color: var(--crees-warning-700);
  border-color: var(--crees-warning-border);
}
.severity-low {
  background-color: var(--crees-slate-100);
  color: var(--crees-slate-700);
  border-color: var(--crees-slate-200);
}

/* --------------------------------------------------------------------------
   6. Reusable Cards & Layout Containers
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--crees-white);
  border: 1px solid var(--crees-slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}

.card:hover {
  border-color: var(--crees-slate-300);
}

.card-header {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--crees-slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.card-title {
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  color: var(--crees-slate-900);
}

.card-body {
  padding: var(--space-5);
}

.card-footer {
  padding: var(--space-3) var(--space-5);
  background-color: var(--crees-slate-50);
  border-top: 1px solid var(--crees-slate-200);
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   7. Property Header Component (Persistent Asset Topline)
   -------------------------------------------------------------------------- */
.property-header {
  background-color: var(--crees-white);
  border: 1px solid var(--crees-slate-200);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  box-shadow: var(--shadow-xs);
}

.property-header-main {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.property-header-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--crees-slate-200);
  flex-shrink: 0;
}

.property-header-meta h1 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--crees-slate-900);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.property-header-badges {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: 4px;
}

.property-header-location {
  font-size: var(--text-xs);
  color: var(--crees-slate-500);
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-header-stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.stat-metric {
  display: flex;
  flex-direction: column;
}
.stat-metric .metric-label {
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--crees-slate-500);
}
.stat-metric .metric-val {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--crees-slate-900);
}

/* Health Meter Pill */
.health-meter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--crees-slate-100);
  border: 1px solid var(--crees-slate-200);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
}
.health-meter-pill.good {
  background-color: var(--crees-success-50);
  border-color: var(--crees-success-border);
  color: var(--crees-success-700);
}

/* Property Header Navigation Tabs */
.property-nav-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  border-bottom: 1px solid var(--crees-slate-200);
  margin-top: var(--space-4);
  overflow-x: auto;
  scrollbar-width: none;
}
.property-nav-tabs::-webkit-scrollbar { display: none; }

.property-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.625rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--crees-slate-600);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-standard);
}
.property-tab-link:hover {
  color: var(--crees-blue-600);
  border-bottom-color: var(--crees-slate-300);
}
.property-tab-link.active {
  color: var(--crees-blue-600);
  border-bottom-color: var(--crees-blue-600);
}

.property-tab-badge {
  font-size: 10px;
  padding: 1px 5px;
  border-radius: var(--radius-pill);
  background-color: var(--crees-danger-50);
  color: var(--crees-danger-600);
  border: 1px solid var(--crees-danger-border);
  font-weight: var(--font-weight-bold);
}

/* --------------------------------------------------------------------------
   8. Data Table Component (Crisp, High-Density Institutional Grid)
   -------------------------------------------------------------------------- */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--crees-slate-200);
  border-radius: var(--radius-md);
  background-color: var(--crees-white);
  box-shadow: var(--shadow-xs);
}

.crees-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-sm);
}

.crees-table th {
  background-color: var(--crees-slate-100);
  color: var(--crees-slate-600);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.6875rem 1rem;
  border-bottom: 1px solid var(--crees-slate-200);
  white-space: nowrap;
}

.crees-table td {
  padding: 0.8125rem 1rem;
  border-bottom: 1px solid var(--crees-slate-200);
  color: var(--crees-slate-800);
  vertical-align: middle;
}

.crees-table tbody tr:last-child td {
  border-bottom: none;
}

.crees-table tbody tr:hover {
  background-color: var(--crees-slate-50);
}

.crees-table .align-right { text-align: right; }
.crees-table .align-center { text-align: center; }

/* --------------------------------------------------------------------------
   9. Timeline Component (Audit Trail & Event Log)
   -------------------------------------------------------------------------- */
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 2px;
  background-color: var(--crees-slate-200);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-5);
}
.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: -20px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--crees-white);
  border: 2px solid var(--crees-blue-600);
  box-shadow: 0 0 0 3px var(--crees-white);
}
.timeline-node.success { border-color: var(--crees-success-500); }
.timeline-node.warning { border-color: var(--crees-warning-500); }
.timeline-node.danger  { border-color: var(--crees-danger-500); }

.timeline-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: 2px;
}
.timeline-title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--crees-slate-900);
}
.timeline-time {
  font-size: var(--text-xs);
  color: var(--crees-slate-500);
}
.timeline-desc {
  font-size: var(--text-xs);
  color: var(--crees-slate-600);
  line-height: var(--line-height-base);
}

/* --------------------------------------------------------------------------
   10. Modal Dialog
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 13, 23, 0.65);
  backdrop-filter: blur(2px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-base) var(--ease-standard);
}
.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: var(--crees-white);
  border: 1px solid var(--crees-slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 540px;
  transform: translateY(12px) scale(0.98);
  transition: transform var(--duration-base) var(--ease-standard);
  overflow: hidden;
}
.modal-backdrop.is-active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--crees-slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  color: var(--crees-slate-900);
}

.modal-body {
  padding: var(--space-5);
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  padding: var(--space-3) var(--space-5);
  background-color: var(--crees-slate-50);
  border-top: 1px solid var(--crees-slate-200);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
}

/* --------------------------------------------------------------------------
   11. Slide-Over Detail Drawer (For Issue Triage & Quotation Approvals)
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 13, 23, 0.55);
  z-index: var(--z-drawer);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-base) var(--ease-standard);
}
.drawer-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background-color: var(--crees-white);
  box-shadow: var(--shadow-drawer);
  z-index: calc(var(--z-drawer) + 1);
  transform: translateX(100%);
  transition: transform var(--duration-base) var(--ease-standard);
  display: flex;
  flex-direction: column;
}
.drawer-backdrop.is-active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--crees-slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--crees-slate-50);
}

.drawer-body {
  padding: var(--space-5);
  flex: 1;
  overflow-y: auto;
}

.drawer-footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--crees-slate-200);
  background-color: var(--crees-slate-50);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
}

/* --------------------------------------------------------------------------
   12. Toast & Notifications System
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background-color: var(--crees-slate-900);
  color: var(--crees-white);
  border-radius: var(--radius-sm);
  padding: 0.6875rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  min-width: 280px;
  max-width: 420px;
  border-left: 3px solid var(--crees-blue-500);
  animation: crees-toast-enter var(--duration-base) var(--ease-standard);
}
.toast.toast-success { border-left-color: var(--crees-success-500); }
.toast.toast-warning { border-left-color: var(--crees-warning-500); }
.toast.toast-danger  { border-left-color: var(--crees-danger-500); }

@keyframes crees-toast-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   13. Empty States & Loading Skeletons
   -------------------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-state-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--crees-slate-100);
  color: var(--crees-slate-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.empty-state-title {
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  color: var(--crees-slate-900);
  margin-bottom: var(--space-1);
}

.empty-state-text {
  font-size: var(--text-xs);
  color: var(--crees-slate-500);
  max-width: 320px;
  margin-bottom: var(--space-4);
}

/* Skeletons */
.skeleton {
  background: linear-gradient(90deg, var(--crees-slate-200) 25%, var(--crees-slate-100) 37%, var(--crees-slate-200) 63%);
  background-size: 400% 100%;
  animation: crees-skeleton-pulse 1.4s ease infinite;
  border-radius: var(--radius-xs);
}
@keyframes crees-skeleton-pulse {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
.skeleton-text {
  height: 12px;
  margin-bottom: 6px;
  border-radius: var(--radius-xs);
}
.skeleton-title {
  height: 18px;
  width: 60%;
  margin-bottom: 12px;
}
.skeleton-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
}
