/* ============================================
   TurboPay IQ - Payment Gateway Admin Dashboard
   Custom Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --pg-primary: #635bff;
    --pg-primary-dark: #4b45c6;
    --pg-primary-light: #a8a3ff;
    --pg-secondary: #1a1f36;
    --pg-success: #3ecf8e;
    --pg-danger: #e25950;
    --pg-warning: #f5a623;
    --pg-info: #6772e5;
    --pg-sidebar-bg: #0a2540;
    --pg-sidebar-width: 260px;
    --pg-sidebar-collapsed: 70px;
    --pg-topbar-height: 64px;
    --pg-body-bg: #f6f9fc;
    --pg-card-bg: #ffffff;
    --pg-text-primary: #1a1f36;
    --pg-text-secondary: #697386;
    --pg-text-muted: #8898aa;
    --pg-border-color: #e3e8ee;
    --pg-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --pg-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --pg-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --pg-radius: 8px;
    --pg-radius-lg: 12px;
    --pg-transition: all 0.3s ease;
    --pg-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Import Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- Global Reset ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--pg-font);
    background-color: var(--pg-body-bg);
    color: var(--pg-text-primary);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--pg-primary);
    transition: var(--pg-transition);
}

a:hover {
    color: var(--pg-primary-dark);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c1c9d2;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* ============================================
   SIDEBAR
   ============================================ */
.pg-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--pg-sidebar-width);
    height: 100vh;
    background: var(--pg-sidebar-bg);
    z-index: 1050;
    transition: var(--pg-transition);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.pg-sidebar::-webkit-scrollbar {
    width: 4px;
}

.pg-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}

/* Sidebar Logo */
.pg-sidebar-brand {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    min-height: var(--pg-topbar-height);
}

.pg-sidebar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--pg-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.pg-sidebar-brand .brand-text {
    margin-left: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.pg-sidebar-brand .brand-text span {
    color: var(--pg-primary-light);
}

/* Sidebar Menu */
.pg-sidebar-menu {
    padding: 16px 0;
    flex: 1;
}

.pg-menu-label {
    padding: 12px 24px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
}

.pg-menu-item {
    display: block;
    padding: 10px 24px;
    color: rgba(255,255,255,0.65);
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--pg-transition);
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.pg-menu-item i {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    font-size: 15px;
    flex-shrink: 0;
}

.pg-menu-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.pg-menu-item.active {
    color: #fff;
    background: rgba(99, 91, 255, 0.15);
    border-left-color: var(--pg-primary);
}

.pg-menu-item .badge {
    margin-left: auto;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
}

/* Sidebar Submenu */
.pg-submenu {
    display: none;
    padding-left: 0;
    list-style: none;
    background: rgba(0,0,0,0.15);
}

.pg-submenu.show {
    display: block;
}

.pg-submenu .pg-menu-item {
    padding-left: 56px;
    font-size: 13px;
    border-left: none;
}

.pg-menu-item .menu-arrow {
    margin-left: auto;
    transition: var(--pg-transition);
    font-size: 12px;
}

.pg-menu-item[aria-expanded="true"] .menu-arrow {
    transform: rotate(90deg);
}

/* Sidebar Footer */
.pg-sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.pg-sidebar-footer .user-info {
    display: flex;
    align-items: center;
}

.pg-sidebar-footer .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.pg-sidebar-footer .user-details {
    margin-left: 12px;
    white-space: nowrap;
}

.pg-sidebar-footer .user-name {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.pg-sidebar-footer .user-role {
    color: rgba(255,255,255,0.45);
    font-size: 11px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.pg-main {
    margin-left: var(--pg-sidebar-width);
    min-height: 100vh;
    transition: var(--pg-transition);
}

/* ============================================
   TOP NAVBAR
   ============================================ */
.pg-topbar {
    height: var(--pg-topbar-height);
    background: #fff;
    border-bottom: 1px solid var(--pg-border-color);
    display: flex;
    align-items: center;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: var(--pg-shadow-sm);
}

.pg-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pg-topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pg-toggle-sidebar {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--pg-text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--pg-transition);
}

.pg-toggle-sidebar:hover {
    background: var(--pg-body-bg);
    color: var(--pg-text-primary);
}

/* Search Bar */
.pg-search {
    position: relative;
    width: 320px;
}

.pg-search input {
    width: 100%;
    padding: 8px 16px 8px 40px;
    border: 1px solid var(--pg-border-color);
    border-radius: 8px;
    font-size: 13px;
    background: var(--pg-body-bg);
    transition: var(--pg-transition);
    color: var(--pg-text-primary);
}

.pg-search input:focus {
    outline: none;
    border-color: var(--pg-primary);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
    background: #fff;
}

.pg-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pg-text-muted);
    font-size: 14px;
}

.pg-search .search-shortcut {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid var(--pg-border-color);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 11px;
    color: var(--pg-text-muted);
}

/* Topbar Icons */
.pg-topbar-icon {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--pg-text-secondary);
    cursor: pointer;
    transition: var(--pg-transition);
    border: none;
    background: none;
}

.pg-topbar-icon:hover {
    background: var(--pg-body-bg);
    color: var(--pg-text-primary);
}

.pg-topbar-icon .notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--pg-danger);
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Topbar User Dropdown */
.pg-topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 4px 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--pg-transition);
    border: none;
    background: none;
}

.pg-topbar-user:hover {
    background: var(--pg-body-bg);
}

.pg-topbar-user .avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--pg-primary), #818cf8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.pg-topbar-user .user-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--pg-text-primary);
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.pg-content {
    padding: 24px;
}

/* Page Header */
.pg-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.pg-page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--pg-text-primary);
    letter-spacing: -0.5px;
}

.pg-page-subtitle {
    font-size: 13px;
    color: var(--pg-text-secondary);
    margin-top: 2px;
}

/* Breadcrumb */
.pg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

.pg-breadcrumb a {
    color: var(--pg-text-secondary);
}

.pg-breadcrumb a:hover {
    color: var(--pg-primary);
}

.pg-breadcrumb .separator {
    color: var(--pg-text-muted);
}

.pg-breadcrumb .current {
    color: var(--pg-text-primary);
    font-weight: 500;
}

/* ============================================
   CARDS
   ============================================ */
.pg-card {
    background: var(--pg-card-bg);
    border-radius: var(--pg-radius-lg);
    border: 1px solid var(--pg-border-color);
    box-shadow: var(--pg-shadow-sm);
    transition: var(--pg-transition);
}

.pg-card:hover {
    box-shadow: var(--pg-shadow-md);
}

.pg-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--pg-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.pg-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--pg-text-primary);
}

.pg-card-body {
    padding: 24px;
}

.pg-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--pg-border-color);
    background: #fafbfc;
    border-radius: 0 0 var(--pg-radius-lg) var(--pg-radius-lg);
}

/* ============================================
   STAT CARDS
   ============================================ */
.pg-stat-card {
    background: var(--pg-card-bg);
    border-radius: var(--pg-radius-lg);
    padding: 24px;
    border: 1px solid var(--pg-border-color);
    box-shadow: var(--pg-shadow-sm);
    transition: var(--pg-transition);
    position: relative;
    overflow: hidden;
}

.pg-stat-card:hover {
    box-shadow: var(--pg-shadow-md);
    transform: translateY(-2px);
}

.pg-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.pg-stat-card .stat-icon.primary {
    background: rgba(99, 91, 255, 0.1);
    color: var(--pg-primary);
}

.pg-stat-card .stat-icon.success {
    background: rgba(62, 207, 142, 0.1);
    color: var(--pg-success);
}

.pg-stat-card .stat-icon.danger {
    background: rgba(226, 89, 80, 0.1);
    color: var(--pg-danger);
}

.pg-stat-card .stat-icon.warning {
    background: rgba(245, 166, 35, 0.1);
    color: var(--pg-warning);
}

.pg-stat-card .stat-icon.info {
    background: rgba(103, 114, 229, 0.1);
    color: var(--pg-info);
}

.pg-stat-card .stat-label {
    font-size: 13px;
    color: var(--pg-text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.pg-stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--pg-text-primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.pg-stat-card .stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}

.pg-stat-card .stat-change.up {
    color: var(--pg-success);
    background: rgba(62, 207, 142, 0.1);
}

.pg-stat-card .stat-change.down {
    color: var(--pg-danger);
    background: rgba(226, 89, 80, 0.1);
}

.pg-stat-card .stat-period {
    font-size: 12px;
    color: var(--pg-text-muted);
    margin-left: 8px;
    font-weight: 400;
}

.pg-stat-card .stat-bg-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 80px;
    opacity: 0.04;
    color: var(--pg-text-primary);
}

/* ============================================
   TABLES
   ============================================ */
.pg-table {
    width: 100%;
}

.pg-table thead th {
    background: #fafbfc;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pg-text-secondary);
    padding: 12px 16px;
    border-bottom: 1px solid var(--pg-border-color);
    white-space: nowrap;
}

.pg-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--pg-border-color);
    font-size: 13px;
    vertical-align: middle;
}

.pg-table tbody tr:hover {
    background: #f8f9ff;
}

.pg-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.pg-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pg-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pg-status.succeeded, .pg-status.active, .pg-status.paid, .pg-status.completed {
    background: rgba(62, 207, 142, 0.1);
    color: #0e8a5e;
}

.pg-status.succeeded::before, .pg-status.active::before, .pg-status.paid::before, .pg-status.completed::before {
    background: var(--pg-success);
}

.pg-status.failed, .pg-status.canceled, .pg-status.overdue {
    background: rgba(226, 89, 80, 0.1);
    color: #c23028;
}

.pg-status.failed::before, .pg-status.canceled::before, .pg-status.overdue::before {
    background: var(--pg-danger);
}

.pg-status.pending, .pg-status.processing, .pg-status.in-review {
    background: rgba(245, 166, 35, 0.1);
    color: #b37a00;
}

.pg-status.pending::before, .pg-status.processing::before, .pg-status.in-review::before {
    background: var(--pg-warning);
}

.pg-status.refunded, .pg-status.disputed {
    background: rgba(103, 114, 229, 0.1);
    color: #4b54c8;
}

.pg-status.refunded::before, .pg-status.disputed::before {
    background: var(--pg-info);
}

.pg-status.draft, .pg-status.inactive {
    background: rgba(105, 115, 134, 0.1);
    color: var(--pg-text-secondary);
}

.pg-status.draft::before, .pg-status.inactive::before {
    background: var(--pg-text-secondary);
}

/* ============================================
   BUTTONS
   ============================================ */
.pg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--pg-transition);
    white-space: nowrap;
    font-family: var(--pg-font);
}

.pg-btn-primary {
    background: var(--pg-primary);
    color: #fff;
    border-color: var(--pg-primary);
}

.pg-btn-primary:hover {
    background: var(--pg-primary-dark);
    border-color: var(--pg-primary-dark);
    box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
    transform: translateY(-1px);
}

.pg-btn-outline {
    background: #fff;
    color: var(--pg-text-primary);
    border-color: var(--pg-border-color);
}

.pg-btn-outline:hover {
    background: var(--pg-body-bg);
    border-color: #cfd7df;
}

.pg-btn-success {
    background: var(--pg-success);
    color: #fff;
    border-color: var(--pg-success);
}

.pg-btn-success:hover {
    background: #32b57a;
    transform: translateY(-1px);
}

.pg-btn-danger {
    background: var(--pg-danger);
    color: #fff;
    border-color: var(--pg-danger);
}

.pg-btn-danger:hover {
    background: #cc4940;
    transform: translateY(-1px);
}

.pg-btn-sm {
    padding: 5px 14px;
    font-size: 12px;
}

.pg-btn-lg {
    padding: 12px 28px;
    font-size: 15px;
}

.pg-btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* ============================================
   FORMS
   ============================================ */
.pg-form-group {
    margin-bottom: 20px;
}

.pg-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pg-text-primary);
    margin-bottom: 6px;
}

.pg-form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    border: 1px solid var(--pg-border-color);
    border-radius: 8px;
    background: #fff;
    transition: var(--pg-transition);
    color: var(--pg-text-primary);
    font-family: var(--pg-font);
}

.pg-form-control:focus {
    outline: none;
    border-color: var(--pg-primary);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.pg-form-control::placeholder {
    color: var(--pg-text-muted);
}

.pg-form-hint {
    font-size: 12px;
    color: var(--pg-text-muted);
    margin-top: 4px;
}

/* ============================================
   DROPDOWN NOTIFICATIONS
   ============================================ */
.pg-notification-dropdown {
    width: 380px;
    max-height: 480px;
    overflow: hidden;
    border: 1px solid var(--pg-border-color);
    border-radius: var(--pg-radius-lg);
    box-shadow: var(--pg-shadow-lg);
}

.pg-notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    transition: var(--pg-transition);
    cursor: pointer;
}

.pg-notification-item:hover {
    background: var(--pg-body-bg);
}

.pg-notification-item .notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.pg-notification-item .notif-content {
    flex: 1;
}

.pg-notification-item .notif-text {
    font-size: 13px;
    color: var(--pg-text-primary);
    line-height: 1.4;
}

.pg-notification-item .notif-time {
    font-size: 11px;
    color: var(--pg-text-muted);
    margin-top: 2px;
}

/* ============================================
   DATATABLE CUSTOMIZATION
   ============================================ */
.dataTables_wrapper .dataTables_length select {
    padding: 6px 30px 6px 12px;
    border: 1px solid var(--pg-border-color);
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: var(--pg-text-primary);
}

.dataTables_wrapper .dataTables_filter input {
    padding: 8px 14px;
    border: 1px solid var(--pg-border-color);
    border-radius: 8px;
    font-size: 13px;
    margin-left: 8px;
    transition: var(--pg-transition);
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: var(--pg-primary);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.dataTables_wrapper .dataTables_info {
    font-size: 13px;
    color: var(--pg-text-secondary);
    padding-top: 16px;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 16px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px !important;
    border-radius: 6px !important;
    border: 1px solid var(--pg-border-color) !important;
    margin: 0 2px;
    font-size: 13px;
    transition: var(--pg-transition);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--pg-primary) !important;
    color: #fff !important;
    border-color: var(--pg-primary) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--pg-body-bg) !important;
    color: var(--pg-text-primary) !important;
    border-color: #cfd7df !important;
}

/* ============================================
   CHART CONTAINERS
   ============================================ */
.pg-chart-container {
    position: relative;
    width: 100%;
    min-height: 300px;
}

.pg-chart-container canvas {
    width: 100% !important;
}

/* ============================================
   ACTIVITY TIMELINE
   ============================================ */
.pg-timeline {
    position: relative;
    padding-left: 28px;
}

.pg-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--pg-border-color);
}

.pg-timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.pg-timeline-item:last-child {
    padding-bottom: 0;
}

.pg-timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--pg-primary);
    background: #fff;
    z-index: 1;
}

.pg-timeline-item.success::before {
    border-color: var(--pg-success);
}

.pg-timeline-item.danger::before {
    border-color: var(--pg-danger);
}

.pg-timeline-item.warning::before {
    border-color: var(--pg-warning);
}

.pg-timeline-item .timeline-time {
    font-size: 11px;
    color: var(--pg-text-muted);
    margin-bottom: 4px;
}

.pg-timeline-item .timeline-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--pg-text-primary);
}

.pg-timeline-item .timeline-desc {
    font-size: 12px;
    color: var(--pg-text-secondary);
    margin-top: 2px;
}

/* ============================================
   API KEY DISPLAY
   ============================================ */
.pg-api-key {
    display: flex;
    align-items: center;
    background: var(--pg-body-bg);
    border: 1px solid var(--pg-border-color);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    gap: 12px;
}

.pg-api-key .key-value {
    flex: 1;
    color: var(--pg-text-primary);
    word-break: break-all;
}

.pg-api-key .key-copy {
    cursor: pointer;
    color: var(--pg-primary);
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--pg-transition);
}

.pg-api-key .key-copy:hover {
    background: rgba(99, 91, 255, 0.1);
}

/* ============================================
   PROGRESS BARS
   ============================================ */
.pg-progress {
    height: 6px;
    background: var(--pg-body-bg);
    border-radius: 3px;
    overflow: hidden;
}

.pg-progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* ============================================
   TAGS / CHIPS
   ============================================ */
.pg-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    background: var(--pg-body-bg);
    color: var(--pg-text-secondary);
    border: 1px solid var(--pg-border-color);
}

/* ============================================
   MODALS CUSTOM
   ============================================ */
.pg-modal .modal-content {
    border-radius: var(--pg-radius-lg);
    border: 1px solid var(--pg-border-color);
    box-shadow: var(--pg-shadow-lg);
}

.pg-modal .modal-header {
    border-bottom: 1px solid var(--pg-border-color);
    padding: 20px 24px;
}

.pg-modal .modal-body {
    padding: 24px;
}

.pg-modal .modal-footer {
    border-top: 1px solid var(--pg-border-color);
    padding: 16px 24px;
}

/* ============================================
   TABS
   ============================================ */
.pg-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--pg-border-color);
    margin-bottom: 24px;
}

.pg-tab-item {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pg-text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--pg-transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pg-tab-item:hover {
    color: var(--pg-text-primary);
}

.pg-tab-item.active {
    color: var(--pg-primary);
    border-bottom-color: var(--pg-primary);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.pg-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.pg-empty-state .empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--pg-body-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--pg-text-muted);
}

.pg-empty-state .empty-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--pg-text-primary);
    margin-bottom: 8px;
}

.pg-empty-state .empty-text {
    font-size: 14px;
    color: var(--pg-text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   TRANSACTION DETAIL
   ============================================ */
.pg-detail-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--pg-border-color);
}

.pg-detail-row:last-child {
    border-bottom: none;
}

.pg-detail-label {
    width: 200px;
    font-size: 13px;
    color: var(--pg-text-secondary);
    font-weight: 500;
}

.pg-detail-value {
    font-size: 13px;
    color: var(--pg-text-primary);
    font-weight: 500;
}

/* ============================================
   COPY CODE BLOCK
   ============================================ */
.pg-code-block {
    background: #1a1f36;
    border-radius: 8px;
    padding: 16px 20px;
    color: #e4e8f1;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    position: relative;
    overflow-x: auto;
}

.pg-code-block .copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.6);
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: var(--pg-transition);
}

.pg-code-block .copy-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* ============================================
   CKEDITOR CONTAINER
   ============================================ */
.ck-editor__editable {
    min-height: 300px;
}

/* ============================================
   FILTER BAR
   ============================================ */
.pg-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pg-filter-bar .filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pg-filter-bar .filter-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--pg-text-secondary);
    text-transform: uppercase;
    white-space: nowrap;
}

/* ============================================
   KPI MINI CARD
   ============================================ */
.pg-kpi-mini {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--pg-radius);
    background: var(--pg-card-bg);
    border: 1px solid var(--pg-border-color);
}

.pg-kpi-mini .kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.pg-kpi-mini .kpi-info .kpi-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--pg-text-primary);
}

.pg-kpi-mini .kpi-info .kpi-label {
    font-size: 12px;
    color: var(--pg-text-secondary);
}

/* ============================================
   WEBHOOK LOG ENTRY
   ============================================ */
.pg-log-entry {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--pg-border-color);
    font-size: 13px;
    gap: 16px;
}

.pg-log-entry:hover {
    background: #f8f9ff;
}

.pg-log-entry .log-method {
    font-weight: 700;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    min-width: 48px;
    text-align: center;
}

.pg-log-entry .log-method.post {
    background: rgba(62, 207, 142, 0.1);
    color: var(--pg-success);
}

.pg-log-entry .log-method.get {
    background: rgba(103, 114, 229, 0.1);
    color: var(--pg-info);
}

.pg-log-entry .log-method.delete {
    background: rgba(226, 89, 80, 0.1);
    color: var(--pg-danger);
}

.pg-log-entry .log-status {
    font-weight: 600;
}

.pg-log-entry .log-status.s200 {
    color: var(--pg-success);
}

.pg-log-entry .log-status.s400, .pg-log-entry .log-status.s500 {
    color: var(--pg-danger);
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.pg-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a2540 0%, #1a1f36 50%, #0a2540 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.pg-auth-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.pg-auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.pg-auth-card .auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.pg-auth-card .auth-logo .brand-icon {
    width: 52px;
    height: 52px;
    background: var(--pg-primary);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pg-auth-card .auth-logo h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--pg-text-primary);
}

.pg-auth-card .auth-logo p {
    font-size: 14px;
    color: var(--pg-text-secondary);
    margin-top: 4px;
}

.pg-auth-card .auth-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
}

.pg-auth-card .auth-divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
    color: var(--pg-text-muted);
    font-size: 12px;
}

.pg-auth-card .auth-divider::before,
.pg-auth-card .auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--pg-border-color);
}

.pg-auth-card .auth-divider::before {
    left: 0;
}

.pg-auth-card .auth-divider::after {
    right: 0;
}

.pg-auth-card .auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--pg-text-secondary);
}

/* ============================================
   SELECT2 OVERRIDES
   ============================================ */
.select2-container--default .select2-selection--single {
    height: 40px;
    border: 1px solid var(--pg-border-color);
    border-radius: 8px;
    padding: 5px 10px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
    font-size: 13px;
    color: var(--pg-text-primary);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}

.select2-dropdown {
    border-color: var(--pg-border-color);
    border-radius: 8px;
    box-shadow: var(--pg-shadow-md);
}

.select2-results__option {
    font-size: 13px;
    padding: 8px 14px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--pg-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
    .pg-search {
        width: 240px;
    }
}

@media (max-width: 991px) {
    .pg-sidebar {
        transform: translateX(-100%);
    }

    .pg-sidebar.active {
        transform: translateX(0);
    }

    .pg-main {
        margin-left: 0;
    }

    .pg-search {
        display: none;
    }

    .pg-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1045;
    }

    .pg-overlay.active {
        display: block;
    }
}

@media (max-width: 767px) {
    .pg-content {
        padding: 16px;
    }

    .pg-stat-card .stat-value {
        font-size: 22px;
    }

    .pg-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pg-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   DARK MODE (Optional Toggle)
   ============================================ */
body.dark-mode {
    --pg-body-bg: #0f1724;
    --pg-card-bg: #1a2234;
    --pg-text-primary: #e4e8f1;
    --pg-text-secondary: #8898aa;
    --pg-text-muted: #5a6882;
    --pg-border-color: #2d3748;
}

body.dark-mode .pg-topbar {
    background: #1a2234;
}

body.dark-mode .pg-table thead th {
    background: #151d2e;
}

body.dark-mode .pg-form-control {
    background: #151d2e;
    border-color: #2d3748;
    color: #e4e8f1;
}

body.dark-mode .pg-search input {
    background: #151d2e;
    border-color: #2d3748;
    color: #e4e8f1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pg-animate-in {
    animation: fadeIn 0.4s ease forwards;
}

.pg-skeleton {
    animation: pulse 1.5s ease-in-out infinite;
    background: #e3e8ee;
    border-radius: 4px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.font-mono {
    font-family: 'Courier New', monospace;
}

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 24px; }

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--pg-shadow-md);
}

/* ---------- Detail Items (Transaction/Merchant Detail Pages) ---------- */
.pg-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--pg-border-color);
}
.pg-detail-item:last-child { border-bottom: none; }
.pg-detail-item .detail-label {
    font-size: 13px;
    color: var(--pg-text-secondary);
    min-width: 120px;
    font-weight: 500;
}
.pg-detail-item .detail-value {
    font-size: 14px;
    color: var(--pg-text-primary);
    text-align: right;
    word-break: break-all;
}

/* ---------- Card Footer ---------- */
.pg-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--pg-border-color);
    background: #fafbfc;
    border-radius: 0 0 var(--pg-radius-lg) var(--pg-radius-lg);
}

/* ---------- Filter Bar ---------- */
.pg-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.pg-filter-bar .filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pg-filter-bar .filter-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--pg-text-secondary);
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---------- Auth Pages ---------- */
.pg-auth-page {
    background: #0a2540;
    min-height: 100vh;
}
.pg-auth-wrapper {
    display: flex;
    min-height: 100vh;
}
.pg-auth-left {
    width: 45%;
    background: linear-gradient(135deg, #0a2540, #1a1f36);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.pg-auth-left .auth-brand .brand-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #635bff, #818cf8);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 16px;
}
.pg-auth-left .auth-brand h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}
.pg-auth-left .auth-brand h1 span { color: #635bff; }
.pg-auth-left .auth-brand p { color: #8898aa; font-size: 14px; }
.pg-auth-left .auth-features { margin-top: 48px; }
.pg-auth-left .feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}
.pg-auth-left .feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(99, 91, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    font-size: 18px;
}
.pg-auth-left .feature-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}
.pg-auth-left .feature-item p {
    font-size: 13px;
    color: #8898aa;
    margin: 0;
}
.pg-auth-right {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f6f9fc;
}
.pg-auth-form {
    width: 100%;
    max-width: 440px;
}
.pg-auth-form h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}
.pg-auth-form .auth-subtitle {
    color: #697386;
    font-size: 14px;
    margin-bottom: 32px;
}
.pg-auth-form .auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #697386;
}
.pg-auth-form .auth-footer a {
    color: #635bff;
    font-weight: 600;
    text-decoration: none;
}

/* Button variants */
.pg-btn-success {
    background: var(--pg-success);
    color: #fff;
    border-color: var(--pg-success);
}
.pg-btn-success:hover {
    background: #2da070;
    border-color: #2da070;
    color: #fff;
}
.pg-btn-danger {
    background: var(--pg-danger);
    color: #fff;
    border-color: var(--pg-danger);
}
.pg-btn-danger:hover {
    background: #c23028;
    border-color: #c23028;
    color: #fff;
}
.pg-btn-lg {
    padding: 12px 24px;
    font-size: 15px;
}

/* Input Icon */
.pg-input-icon {
    position: relative;
}
.pg-input-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8898aa;
    font-size: 14px;
}
.pg-input-icon input {
    padding-left: 40px;
}

/* Stat change */
.stat-change {
    font-size: 12px;
    color: var(--pg-text-secondary);
    margin-top: 2px;
}
.stat-change.positive { color: var(--pg-success); }
.stat-change.negative { color: var(--pg-danger); }

/* Responsive Auth */
@media (max-width: 992px) {
    .pg-auth-left { display: none; }
    .pg-auth-right { width: 100%; }
}

/* Laravel Pagination Styling */
.pg-card-footer nav { display: flex; justify-content: center; }
.pg-card-footer nav .pagination { margin: 0; }
.pg-card-footer nav .page-link {
    color: var(--pg-primary);
    border-color: var(--pg-border-color);
    font-size: 13px;
    padding: 6px 12px;
}
.pg-card-footer nav .page-item.active .page-link {
    background: var(--pg-primary);
    border-color: var(--pg-primary);
    color: #fff;
}

/* ---------- Landing Page ---------- */
.pg-landing-page {
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3fb 100%);
    min-height: 100vh;
}

.pg-landing-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--pg-border-color);
    backdrop-filter: blur(8px);
}

.pg-landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pg-text-primary);
    font-weight: 700;
}

.pg-landing-brand .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pg-primary), #818cf8);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pg-landing-brand .brand-text span {
    color: var(--pg-primary);
}

.pg-landing-hero {
    padding: 72px 0 56px;
}

.pg-landing-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(99, 91, 255, 0.12);
    color: var(--pg-primary-dark);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pg-landing-hero h1 {
    font-size: 46px;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 14px;
    color: var(--pg-text-primary);
}

.pg-landing-hero p {
    color: var(--pg-text-secondary);
    font-size: 16px;
    max-width: 640px;
}

.pg-landing-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--pg-text-secondary);
    font-size: 13px;
}

.pg-landing-trust i {
    color: var(--pg-primary);
    margin-right: 6px;
}

.pg-landing-panel {
    background: #fff;
    border: 1px solid var(--pg-border-color);
    border-radius: 16px;
    box-shadow: var(--pg-shadow-md);
    padding: 28px;
}

.pg-landing-panel h5 {
    font-size: 20px;
    margin-bottom: 18px;
}

.pg-landing-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.pg-landing-panel li {
    color: var(--pg-text-secondary);
    font-size: 14px;
}

.pg-landing-panel li i {
    color: var(--pg-success);
    margin-right: 8px;
}

.pg-landing-section-head h2 {
    font-size: 34px;
    margin-bottom: 8px;
}

.pg-landing-section-head p {
    color: var(--pg-text-secondary);
}

.pg-landing-feature-card {
    background: #fff;
    border: 1px solid var(--pg-border-color);
    border-radius: 14px;
    padding: 24px;
    height: 100%;
    box-shadow: var(--pg-shadow-sm);
    transition: var(--pg-transition);
}

.pg-landing-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--pg-shadow-md);
}

.pg-landing-feature-card .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 91, 255, 0.12);
    color: var(--pg-primary);
    margin-bottom: 14px;
    font-size: 18px;
}

.pg-landing-feature-card h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.pg-landing-feature-card p {
    color: var(--pg-text-secondary);
    font-size: 14px;
    margin: 0;
}

.pg-landing-footer {
    border-top: 1px solid var(--pg-border-color);
    background: #fff;
    padding: 20px 0;
    margin-top: 24px;
}

.pg-landing-footer p {
    color: var(--pg-text-secondary);
    font-size: 13px;
}

@media (max-width: 991px) {
    .pg-landing-hero {
        padding-top: 48px;
    }

    .pg-landing-hero h1 {
        font-size: 34px;
    }
}

/* ---------- API Documentation Page ---------- */
.pg-docs-section {
    margin-bottom: 24px;
    scroll-margin-top: 88px;
}

.pg-docs-nav-card {
    position: sticky;
    top: 88px;
}

.pg-docs-nav-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pg-text-secondary);
    margin-bottom: 12px;
}

.pg-docs-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pg-docs-nav a {
    color: var(--pg-text-secondary);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 8px;
}

.pg-docs-nav a:hover {
    background: #f8f9ff;
    color: var(--pg-primary);
}

.pg-docs-kpi {
    height: 100%;
    border: 1px solid var(--pg-border-color);
    border-radius: 12px;
    background: #fafbff;
    padding: 16px;
}

.pg-docs-kpi .label {
    display: block;
    font-size: 12px;
    color: var(--pg-text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pg-docs-kpi code,
.pg-docs-kpi strong {
    font-size: 14px;
    color: var(--pg-text-primary);
}

.pg-docs-endpoint {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.pg-docs-endpoint code {
    font-size: 14px;
    color: var(--pg-text-primary);
}

.pg-docs-endpoint .method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pg-docs-endpoint .method.get {
    background: rgba(103, 114, 229, 0.12);
    color: var(--pg-info);
}

.pg-docs-endpoint .method.post {
    background: rgba(62, 207, 142, 0.12);
    color: #0e8a5e;
}

.pg-docs-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--pg-text-primary);
    margin-bottom: 10px;
}

.pg-docs-list,
.pg-docs-steps {
    padding-left: 18px;
    color: var(--pg-text-secondary);
    font-size: 14px;
}

.pg-docs-list li,
.pg-docs-steps li {
    margin-bottom: 8px;
}

.pg-docs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 1199px) {
    .pg-docs-nav-card {
        position: static;
    }
}

