/* modern.css - Unified Design System for Thozhan Crackers */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;

  /* HSL Tailored Color Palette (POS Eye-Strain Friendly & Cracker Festive) */
  --bg-app: hsl(36, 15%, 96%);
  --bg-surface: hsl(0, 0%, 100%);
  --bg-surface-alt: hsl(36, 12%, 93%);
  --text-main: hsl(24, 15%, 15%);
  --text-muted: hsl(24, 10%, 45%);
  --text-inverse: hsl(0, 0%, 100%);

  --color-primary: hsl(4, 60%, 46%); /* Muted Crimson */
  --color-primary-hover: hsl(4, 60%, 38%);
  --color-primary-light: hsl(4, 60%, 95%);
  
  --color-secondary: hsl(38, 55%, 48%); /* Golden Ochre */
  --color-secondary-hover: hsl(38, 55%, 40%);
  --color-secondary-light: hsl(38, 55%, 94%);

  --color-success: hsl(150, 45%, 40%); /* Soft Sage/Mint Green */
  --color-success-hover: hsl(150, 45%, 33%);
  --color-success-light: hsl(150, 45%, 94%);

  --color-danger: hsl(355, 50%, 50%); /* Soft Rose Red */
  --color-danger-hover: hsl(355, 50%, 42%);
  --color-danger-light: hsl(355, 50%, 95%);

  --color-info: hsl(210, 45%, 48%); /* Soft Steel Blue */
  --color-info-hover: hsl(210, 45%, 40%);
  --color-info-light: hsl(210, 45%, 95%);

  --border-color: hsl(36, 12%, 88%);
  --border-focus: hsl(4, 60%, 65%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-width: 1200px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--color-primary-hover);
}

/* Container */
.container {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Navbar */
header.app-header {
  background: linear-gradient(135deg, hsl(220, 45%, 16%), hsl(224, 40%, 10%));
  color: var(--text-inverse);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border-bottom: 3px solid var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  min-width: 1200px;
}

header.app-header h1 {
  color: var(--text-inverse);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header.app-header p {
  font-size: 0.9rem;
  opacity: 0.85;
}

header.app-header a.nav-link {
  color: var(--text-inverse);
  opacity: 0.85;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background-color: rgba(255,255,255,0.08);
}
header.app-header a.nav-link:hover {
  opacity: 1;
  background-color: rgba(255,255,255,0.15);
}

/* Cards */
.card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.card.hoverable:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}

.card-title {
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--bg-app);
  padding-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

table.modern-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

table.modern-table th {
  background-color: var(--bg-surface-alt);
  color: var(--text-main);
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  border-bottom: 2px solid var(--border-color);
  font-family: var(--font-heading);
}

table.modern-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  font-size: 0.9rem;
}

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

table.modern-table tbody tr {
  position: relative;
  transition: var(--transition);
}

table.modern-table tbody tr:hover {
  background-color: hsla(4, 60%, 46%, 0.02) !important;
}

table.modern-table tbody tr:hover td:first-child {
  box-shadow: inset 3.5px 0 0 0 var(--color-primary);
}

/* Category separator for listing */
tr.category-header-row td {
  background: linear-gradient(90deg, var(--color-secondary), hsl(38, 55%, 58%)) !important;
  color: var(--text-inverse) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: left;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.5px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input:not([type]),
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input:not([type]):focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px hsla(4, 60%, 46%, 0.15);
}

input[readonly] {
  background-color: var(--bg-surface-alt);
  cursor: not-allowed;
}

/* Grid helper */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(to bottom, hsl(4, 60%, 48%), hsl(4, 60%, 44%));
  color: var(--text-inverse);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 6px -1px hsla(4, 60%, 46%, 0.15), 0 2px 4px -1px hsla(4, 60%, 46%, 0.1);
}
.btn-primary:hover {
  background: linear-gradient(to bottom, hsl(4, 60%, 52%), hsl(4, 60%, 48%));
  transform: translateY(-1.5px);
  box-shadow: 0 6px 10px -1px hsla(4, 60%, 46%, 0.25), 0 2px 6px -1px hsla(4, 60%, 46%, 0.15);
  color: var(--text-inverse);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-secondary:hover {
  background-color: var(--bg-surface-alt);
  border-color: hsl(36, 12%, 80%);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-success {
  background: linear-gradient(to bottom, hsl(150, 45%, 42%), hsl(150, 45%, 38%));
  color: var(--text-inverse);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 6px -1px hsla(150, 45%, 40%, 0.15);
}
.btn-success:hover {
  background: linear-gradient(to bottom, hsl(150, 45%, 46%), hsl(150, 45%, 42%));
  transform: translateY(-1.5px);
  box-shadow: 0 6px 10px -1px hsla(150, 45%, 40%, 0.25);
}

.btn-danger {
  background: linear-gradient(to bottom, hsl(355, 50%, 52%), hsl(355, 50%, 48%));
  color: var(--text-inverse);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 6px -1px hsla(355, 50%, 50%, 0.15);
}
.btn-danger:hover {
  background: linear-gradient(to bottom, hsl(355, 50%, 56%), hsl(355, 50%, 52%));
  transform: translateY(-1.5px);
  box-shadow: 0 6px 10px -1px hsla(355, 50%, 50%, 0.25);
}

.btn-info {
  background: linear-gradient(to bottom, hsl(210, 45%, 50%), hsl(210, 45%, 46%));
  color: var(--text-inverse);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 6px -1px hsla(210, 45%, 48%, 0.15);
}
.btn-info:hover {
  background: linear-gradient(to bottom, hsl(210, 45%, 54%), hsl(210, 45%, 50%));
  transform: translateY(-1.5px);
  box-shadow: 0 6px 10px -1px hsla(210, 45%, 48%, 0.25);
}

/* Modern Status Badges & Chips */
.badge-modern {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 30px;
  letter-spacing: 0.5px;
  background-color: color-mix(in srgb, var(--badge-color, #888) 12%, transparent);
  color: color-mix(in srgb, var(--badge-color, #888) 85%, #000);
  border: 1px solid color-mix(in srgb, var(--badge-color, #888) 20%, transparent);
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.badge-modern::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--badge-color, #888);
  margin-right: 6px;
  box-shadow: 0 0 6px var(--badge-color, #888);
}

/* Add pulsing animation to active/pending status indicators */
.badge-modern.pulse::before {
  animation: pulse-dot 1.8s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--badge-color, #888) 40%, transparent);
  }
  70% {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--badge-color, #888) 0%, transparent);
  }
  100% {
    transform: scale(0.8);
    opacity: 0.6;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--badge-color, #888) 0%, transparent);
  }
}

/* Custom Styled Select Dropdown */
select.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2.5' 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.6rem center;
  background-size: 0.85rem;
  padding-right: 1.8rem !important;
  cursor: pointer;
  border-radius: 6px !important;
}

select.custom-select:hover {
  border-color: var(--color-primary);
}

/* Quantity Adjuster Custom Styling */
.qty-adjuster {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  overflow: hidden;
  width: 110px;
}
.qty-adjuster button {
  width: 32px;
  height: 32px;
  border: none;
  background-color: var(--bg-surface-alt);
  color: var(--text-main);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.qty-adjuster button:hover {
  background-color: var(--border-color);
}
.qty-adjuster input {
  width: 46px;
  height: 32px;
  border: none;
  text-align: center;
  padding: 0;
  font-weight: 600;
}
.qty-adjuster input:focus {
  box-shadow: none;
}

/* Alert Boxes */
.alert {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  border-left: 4px solid transparent;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.alert-success {
  background-color: var(--color-success-light);
  color: hsl(142, 70%, 20%);
  border-left-color: var(--color-success);
}

.alert-danger {
  background-color: var(--color-danger-light);
  color: hsl(0, 84%, 20%);
  border-left-color: var(--color-danger);
}

.alert-info {
  background-color: var(--color-info-light);
  color: hsl(217, 91%, 20%);
  border-left-color: var(--color-info);
}

/* Footer styling */
footer.app-footer {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  min-width: 1200px;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
}
.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.dashboard-card .card-icon {
  font-size: 2.25rem;
}
.dashboard-card .card-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
}
.dashboard-card:hover .card-text {
  color: var(--color-primary);
}

/* Utility layout spacing classes */
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-3 { margin-top: 1rem; margin-bottom: 1rem; }
.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-5 { margin-top: 2rem; margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.font-bold { font-weight: bold; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }

/* Out of Stock visual indicators */
.out-of-stock-row {
  background-color: hsl(0, 84%, 98%) !important;
}
.out-of-stock-badge {
  background-color: var(--color-danger);
  color: var(--text-inverse);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
}
.highlight-order-row {
  background-color: hsl(142, 70%, 97%) !important;
}

/* Premium Customer Details Layout & Inputs (Compact Redesign) */
.customer-details-card {
  position: relative;
  overflow: hidden;
}

.customer-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.customer-section {
  background-color: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: var(--transition);
}

.customer-section:hover {
  border-color: hsla(12, 85%, 53%, 0.15);
  box-shadow: var(--shadow-md);
}

.customer-section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 2px solid hsla(4, 60%, 46%, 0.15);
  padding-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.customer-section-title svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--color-primary);
}

.customer-section .form-group {
  margin-bottom: 0;
}

.customer-section .form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
}

.customer-grid-compact-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.customer-grid-compact-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.85rem;
}

.input-group-premium {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-group-premium .input-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--text-muted);
  opacity: 0.45;
  width: 1.15rem;
  height: 1.15rem;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-group-premium .input-icon svg {
  width: 100%;
  height: 100%;
}

.input-group-premium input,
.input-group-premium textarea {
  width: 100%;
  padding: 0.55rem 0.8rem !important;
  padding-left: 2.5rem !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-main);
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.01);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-group-premium textarea {
  padding-top: 0.55rem !important;
}

/* Align icon to top for textarea */
.input-group-premium.textarea-group .input-icon {
  top: 0.75rem;
  transform: none;
}

/* Focus effects */
.input-group-premium input:focus,
.input-group-premium textarea:focus {
  border-color: var(--color-primary) !important;
  background-color: var(--bg-surface);
  box-shadow: 0 2px 8px hsla(4, 60%, 46%, 0.06), 0 0 0 3px hsla(4, 60%, 46%, 0.12) !important;
}

.input-group-premium input:focus ~ .input-icon,
.input-group-premium textarea:focus ~ .input-icon {
  color: var(--color-primary);
  opacity: 1;
  transform: scale(1.1);
}

.input-group-premium.textarea-group textarea:focus ~ .input-icon {
  transform: scale(1.1);
}

/* Asterisk Styling */
.required-asterisk {
  color: var(--color-danger);
  font-weight: bold;
  margin-left: 0.15rem;
}

/* Custom Validation Styles (Touched state) */
.input-group-premium.touched input:invalid,
.input-group-premium.touched textarea:invalid {
  border-color: var(--color-danger) !important;
  box-shadow: 0 2px 8px hsla(355, 50%, 50%, 0.06), 0 0 0 3px hsla(355, 50%, 50%, 0.12) !important;
}

.input-group-premium.touched input:invalid ~ .input-icon,
.input-group-premium.touched textarea:invalid ~ .input-icon {
  color: var(--color-danger);
  opacity: 1;
}

.input-group-premium.touched input:valid:not(:placeholder-shown),
.input-group-premium.touched textarea:valid:not(:placeholder-shown) {
  border-color: var(--color-success) !important;
  box-shadow: 0 2px 8px hsla(150, 45%, 40%, 0.06), 0 0 0 3px hsla(150, 45%, 40%, 0.12) !important;
}

.input-group-premium.touched input:valid:not(:placeholder-shown) ~ .input-icon,
.input-group-premium.touched textarea:valid:not(:placeholder-shown) ~ .input-icon {
  color: var(--color-success);
  opacity: 1;
}

.error-msg {
  font-size: 0.75rem;
  color: var(--color-danger);
  margin-top: 0.25rem;
  font-weight: 600;
  display: none;
  animation: slideDown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pagination Styling */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 2rem 0;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 36px;
  padding: 0 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}
.pagination a:hover {
  background-color: var(--bg-surface-alt);
  border-color: hsl(36, 12%, 80%);
}
.pagination a.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-inverse);
}
.pagination span {
  background-color: transparent;
  border-color: transparent;
  color: var(--text-muted);
  font-weight: normal;
}
.goto-page-form {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}
.goto-page-form input {
  width: 60px;
  padding: 0.35rem;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}





