@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap");

:root {
  --ink: #0f4c5c;
  --ink-light: #1a6b7f;
  --ink-dark: #0a3640;
  --paper: #fafaf8;
  --accent: #e36414;
  --accent-hover: #c85510;
  --success: #2d936c;
  --success-light: #e8f5ef;
  --surface: #ffffff;
  --muted: #6b7280;
  --border: #e5e7eb;
  --danger: #dc2626;
  --danger-light: #fef2f2;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --info: #3b82f6;
  --info-light: #eff6ff;

  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;

  --shadow-sm: 0 1px 2px rgba(15, 76, 92, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 76, 92, 0.08);
  --shadow-lg: 0 8px 24px rgba(15, 76, 92, 0.12);
  --shadow-card: 0 1px 3px rgba(15, 76, 92, 0.06), 0 1px 2px rgba(15, 76, 92, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 76, 92, 0.3) transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--paper);
  color: #1f2937;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-dark);
  line-height: 1.2;
}

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

a:hover {
  color: var(--accent);
}

.pg-navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
}

.pg-navbar .navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.pg-navbar .navbar-brand span {
  color: var(--accent);
}

.pg-navbar .nav-link {
  font-weight: 500;
  color: var(--muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.pg-navbar .nav-link:hover,
.pg-navbar .nav-link.active {
  color: var(--ink);
  background: rgba(15, 76, 92, 0.05);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-ink:hover {
  background: var(--ink-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 0.55rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-outline-ink:hover {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-ghost:hover {
  color: var(--ink);
  background: rgba(15, 76, 92, 0.05);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-danger:hover {
  background: #b91c1c;
  color: #fff;
}

.btn-lg.btn-ink,
.btn-lg.btn-accent,
.btn-lg.btn-outline-ink,
.btn-lg.btn-danger,
.btn-lg.btn-ghost {
  font-size: 1.05rem;
  padding: 0.75rem 1.75rem;
}

.pg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.pg-card:hover {
  box-shadow: var(--shadow-md);
}

.pg-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.pg-card-header h3 {
  font-size: 1.05rem;
  margin: 0;
}

.pg-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition);
}

.pg-stat:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.pg-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pg-stat-icon.ink {
  background: rgba(15, 76, 92, 0.1);
  color: var(--ink);
}
.pg-stat-icon.accent {
  background: rgba(227, 100, 20, 0.1);
  color: var(--accent);
}
.pg-stat-icon.success {
  background: rgba(45, 147, 108, 0.1);
  color: var(--success);
}
.pg-stat-icon.warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.pg-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink-dark);
  line-height: 1;
}

.pg-stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.pg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pg-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pg-badge-pending {
  background: var(--warning-light);
  color: #92400e;
}
.pg-badge-pending::before {
  background: var(--warning);
}

.pg-badge-confirmed,
.pg-badge-processing,
.pg-badge-printing {
  background: var(--info-light);
  color: #1e40af;
}
.pg-badge-confirmed::before,
.pg-badge-processing::before,
.pg-badge-printing::before {
  background: var(--info);
}

.pg-badge-ready {
  background: rgba(15, 76, 92, 0.1);
  color: var(--ink);
}
.pg-badge-ready::before {
  background: var(--ink);
}

.pg-badge-completed {
  background: var(--success-light);
  color: #166534;
}
.pg-badge-completed::before {
  background: var(--success);
}

.pg-badge-cancelled {
  background: var(--danger-light);
  color: #991b1b;
}
.pg-badge-cancelled::before {
  background: var(--danger);
}

.pg-badge-paid {
  background: var(--success-light);
  color: #166534;
}
.pg-badge-paid::before {
  background: var(--success);
}

.pg-badge-failed {
  background: var(--danger-light);
  color: #991b1b;
}
.pg-badge-failed::before {
  background: var(--danger);
}

.pg-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 0;
  position: relative;
}

.pg-stepper::before {
  content: "";
  position: absolute;
  top: calc(1.5rem + 16px);
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--border);
  transform: translateY(-50%);
  z-index: 0;
}

.pg-stepper-progress {
  position: absolute;
  top: calc(1.5rem + 16px);
  left: 24px;
  height: 2px;
  background: var(--ink);
  transform: translateY(-50%);
  z-index: 1;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.pg-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pg-step.active .pg-step-dot {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(15, 76, 92, 0.15);
  animation: stepPulse 2s ease-in-out infinite;
}

.pg-step.completed .pg-step-dot {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.pg-step.cancelled .pg-step-dot {
  border-color: var(--danger);
  background: var(--danger);
  color: #fff;
}

.pg-step-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  max-width: 72px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pg-step.active .pg-step-label,
.pg-step.completed .pg-step-label {
  color: var(--ink);
}

@keyframes stepPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(15, 76, 92, 0.15);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(15, 76, 92, 0.08);
  }
}

.pg-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.pg-table thead th {
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.pg-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: middle;
  white-space: nowrap;
}

.pg-table tbody tr {
  transition: background var(--transition);
}

.pg-table tbody tr:hover {
  background: rgba(15, 76, 92, 0.02);
}

.pg-input {
  display: block;
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: #1f2937;
  transition: all var(--transition);
}

.pg-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.1);
}

.pg-input::placeholder {
  color: #9ca3af;
}

.pg-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.35rem;
}

select.pg-select {
  display: block;
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: #1f2937;
  transition: all var(--transition);
  cursor: pointer;
}

select.pg-select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.1);
}

.pg-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: rgba(15, 76, 92, 0.01);
}

.pg-upload-zone:hover,
.pg-upload-zone.dragover {
  border-color: var(--ink);
  background: rgba(15, 76, 92, 0.04);
}

.pg-upload-zone i {
  font-size: 2rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.pg-upload-zone p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.pg-upload-zone .highlight {
  color: var(--ink);
  font-weight: 600;
}

.pg-file-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.pg-file-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(15, 76, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}

.pg-file-name {
  font-size: 0.88rem;
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pg-file-size {
  font-size: 0.78rem;
  color: var(--muted);
}

.pg-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(160deg, var(--ink-dark) 0%, var(--ink) 50%, var(--ink-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pg-hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(227, 100, 20, 0.08);
  pointer-events: none;
}

.pg-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.pg-hero h1 span {
  color: var(--accent);
}

.pg-hero p {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 520px;
  line-height: 1.7;
}

.pg-feature {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all var(--transition);
}

.pg-feature:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pg-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 76, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--ink);
}

.pg-feature h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.pg-feature p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.pg-auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--paper);
}

.pg-auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.pg-auth-card h2 {
  text-align: center;
  margin-bottom: 0.35rem;
  font-size: 1.5rem;
}

.pg-auth-card .subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.pg-auth-card .pg-input {
  margin-bottom: 1rem;
}

.pg-auth-card .btn-ink,
.pg-auth-card .btn-accent {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.95rem;
}

.pg-auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.pg-layout {
  display: flex;
  min-height: 100vh;
}

.pg-sidebar {
  width: 260px;
  background: var(--ink-dark);
  color: #fff;
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1040;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.pg-sidebar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.pg-sidebar-brand span {
  color: var(--accent);
}

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

.pg-sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.pg-sidebar-nav li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.pg-sidebar-nav li a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--accent);
}

.pg-sidebar-nav li a i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.pg-sidebar-section {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  padding: 1rem 1.5rem 0.4rem;
  font-weight: 600;
}

.pg-sidebar-logout {
  margin-top: 1rem;
  padding-bottom: 1.5rem;
}

.pg-sidebar-logout a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  color: #ef4444 !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.pg-sidebar-logout a:hover {
  color: #ffffff !important;
  background: rgba(220, 38, 38, 0.2);
  border-left-color: var(--danger);
}

.pg-sidebar-logout a i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.pg-main {
  flex: 1;
  min-width: 0;
  margin-left: 260px;
  padding: 2rem;
  min-height: 100vh;
}

.pg-page-header {
  margin-bottom: 1.5rem;
}

.pg-page-header .d-flex {
  min-width: 0;
}

.pg-page-header .d-flex > div {
  min-width: 0;
}

.pg-page-header h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  text-wrap: wrap;
  overflow-wrap: break-word;
  word-break: break-word;
}

.pg-page-header p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  text-wrap: wrap;
  overflow-wrap: break-word;
  word-break: break-word;
}

.pg-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
}

.pg-empty i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.pg-empty p {
  font-size: 0.95rem;
}

.pg-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pg-toast {
  min-width: 300px;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pg-toast-success {
  background: var(--success);
  color: #fff;
}
.pg-toast-error {
  background: var(--danger);
  color: #fff;
}
.pg-toast-info {
  background: var(--ink);
  color: #fff;
}
.pg-toast-confirm {
  background: var(--surface);
  color: var(--ink-dark);
  border: 1px solid var(--border);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.pg-cost-summary {
  background: linear-gradient(135deg, var(--ink-dark), var(--ink));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.pg-cost-summary h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.pg-cost-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  opacity: 0.8;
}

.pg-cost-total {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.pg-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.pg-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--muted);
  gap: 0.75rem;
}

.pg-loading .pg-spinner {
  border-color: var(--border);
  border-top-color: var(--ink);
}

.pg-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 54, 64, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1030;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pg-sidebar-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition);
}

.mobile-menu-btn:hover {
  background: rgba(15, 76, 92, 0.05);
}

@media (min-width: 993px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

.pg-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 992px) {
  .pg-hero h1 {
    font-size: 2.2rem;
  }

  .pg-sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
  }

  .pg-sidebar.open {
    transform: translateX(0);
  }

  .pg-main {
    margin-left: 0;
    padding: 1.5rem 1rem;
  }

  .pg-stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .pg-stepper::before,
  .pg-stepper-progress {
    display: none;
  }

  .pg-step {
    flex-direction: row;
    gap: 0.75rem;
  }

  .pg-step-label {
    max-width: none;
  }

  .pg-auth-card {
    padding: 1.5rem;
  }
}

.pg-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
}

.pg-pagination button {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.pg-pagination button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pg-pagination button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.text-ink {
  color: var(--ink) !important;
}
.text-accent {
  color: var(--accent) !important;
}
.text-muted {
  color: var(--muted) !important;
}
.text-success {
  color: var(--success) !important;
}
.text-danger {
  color: var(--danger) !important;
}
.bg-paper {
  background: var(--paper) !important;
}
.fw-600 {
  font-weight: 600 !important;
}
.gap-1 {
  gap: 0.5rem !important;
}
.gap-2 {
  gap: 1rem !important;
}

.pg-sidebar-logout {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pg-sidebar-logout a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.pg-sidebar-logout a:hover {
  color: var(--danger);
}

.pg-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.pg-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.pg-modal-content {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 500px;
  transform: translateY(-20px);
  transition: transform var(--transition);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.pg-modal.show .pg-modal-content {
  transform: translateY(0);
}

.pg-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pg-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(15, 76, 92, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ink);
}

.hero-ui-composition {
  position: relative;
  width: 100%;
  height: 480px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.hero-paper {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  width: 280px;
  height: 380px;
  transition: all var(--transition);
}

.hero-paper-1 {
  transform: rotate(-6deg) translateX(-20px) translateY(10px) translateZ(-20px);
  z-index: 1;
  opacity: 0.5;
}

.hero-paper-2 {
  transform: rotate(4deg) translateX(20px) translateY(-5px) translateZ(-10px);
  z-index: 2;
  opacity: 0.8;
}

.hero-card {
  background: var(--surface);
  border: 1px solid rgba(15, 76, 92, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: absolute;
  z-index: 3;
}

.main-order-card {
  width: 320px;
  transform: translateZ(20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: float-slow 8s ease-in-out infinite;
}

.card-header-mini {
  padding: 1.25rem;
  background: var(--ink-dark);
  color: white;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-header-mini .file-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}

.card-header-mini .file-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.card-header-mini .filename {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.card-header-mini .filemeta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.card-body-mini {
  padding: 1.25rem;
  background: var(--surface);
  text-align: left;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--border);
}

.cost-row strong {
  font-size: 1.15rem;
  color: var(--ink-dark);
}

.printer-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 500;
}

.card-footer-mini {
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.btn-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(227, 100, 20, 0.25);
  transition: transform 0.2s;
}

.btn-mini:hover {
  transform: translateY(-2px);
}

.floating-status {
  top: 10%;
  right: -5%;
  width: 220px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transform: translateZ(50px);
  z-index: 4;
  animation: float-medium 6s ease-in-out infinite 1s;
}

.floating-status .top-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--info);
  box-shadow: 0 0 0 3px var(--info-light);
  animation: pulse-status 2s infinite;
}

.status-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.status-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-dark);
  margin-bottom: 0.1rem;
}

.status-desc {
  font-size: 0.7rem;
  color: var(--muted);
}

.status-progress {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.status-progress .progress-bar {
  height: 100%;
  background: var(--info);
  width: 65%;
  border-radius: 3px;
}

.floating-success {
  bottom: 12%;
  left: -8%;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--success);
  transform: translateZ(40px);
  z-index: 5;
  animation: float-fast 5s ease-in-out infinite 2s;
}

.success-icon {
  width: 26px;
  height: 26px;
  background: var(--success-light);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.success-text {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-dark);
}

@keyframes float-slow {
  0% {
    transform: translateY(0px) translateZ(20px);
  }
  50% {
    transform: translateY(-12px) translateZ(20px);
  }
  100% {
    transform: translateY(0px) translateZ(20px);
  }
}

@keyframes float-medium {
  0% {
    transform: translateY(0px) translateZ(50px);
  }
  50% {
    transform: translateY(-8px) translateZ(50px);
  }
  100% {
    transform: translateY(0px) translateZ(50px);
  }
}

@keyframes float-fast {
  0% {
    transform: translateY(0px) translateZ(40px);
  }
  50% {
    transform: translateY(-6px) translateZ(40px);
  }
  100% {
    transform: translateY(0px) translateZ(40px);
  }
}

@keyframes pulse-status {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}
