/* ============================================
   PAYNIT — 3D Modern Techy Theme
   ============================================ */

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

/* ============================================
   DESIGN TOKENS — LIGHT MODE
   ============================================ */
:root {
    /* Primary palette — inspired by logo */
    --pm-primary: #e8364f;
    --pm-primary-light: #ff5a6e;
    --pm-primary-dark: #c41e35;
    --pm-secondary: #7b2ff7;
    --pm-secondary-light: #9d5cfa;
    --pm-accent: #f97316;
    --pm-accent-light: #fb923c;

    /* Gradients */
    --pm-gradient-primary: linear-gradient(135deg, #e8364f 0%, #f97316 50%, #7b2ff7 100%);
    --pm-gradient-warm: linear-gradient(135deg, #e8364f 0%, #f97316 100%);
    --pm-gradient-cool: linear-gradient(135deg, #7b2ff7 0%, #e8364f 100%);
    --pm-gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    --pm-gradient-sidebar: linear-gradient(180deg, #ffffff 0%, #f0f2f5 100%);
    --pm-sidebar-bg: var(--pm-gradient-sidebar);
    --pm-sidebar-text: #5a5a7a;
    --pm-sidebar-text-hover: #1a1a2e;
    --pm-sidebar-section: #9a9abe;

    /* Surfaces */
    --pm-bg: #f0f2f5;
    --pm-bg-secondary: #e4e7ec;
    --pm-surface: #ffffff;
    --pm-surface-hover: #f8f9fb;
    --pm-surface-glass: rgba(255, 255, 255, 0.72);
    --pm-surface-glass-border: rgba(255, 255, 255, 0.3);
    --pm-overlay: rgba(0, 0, 0, 0.5);

    /* Text */
    --pm-text-primary: #1a1a2e;
    --pm-text-secondary: #5a5a7a;
    --pm-text-muted: #9a9abe;
    --pm-text-inverse: #ffffff;
    --pm-text-on-gradient: #ffffff;

    /* Borders */
    --pm-border: #e2e5ea;
    --pm-border-light: #f0f1f4;
    --pm-border-focus: #e8364f;

    /* Status */
    --pm-success: #10b981;
    --pm-success-bg: rgba(16, 185, 129, 0.1);
    --pm-warning: #f59e0b;
    --pm-warning-bg: rgba(245, 158, 11, 0.1);
    --pm-danger: #ef4444;
    --pm-danger-bg: rgba(239, 68, 68, 0.1);
    --pm-info: #3b82f6;
    --pm-info-bg: rgba(59, 130, 246, 0.1);
    --pm-pending: #8b5cf6;
    --pm-pending-bg: rgba(139, 92, 246, 0.1);

    /* Shadows */
    --pm-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --pm-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --pm-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --pm-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --pm-shadow-glow: 0 0 20px rgba(232, 54, 79, 0.15);
    --pm-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --pm-shadow-3d: 0 10px 30px -5px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Radius */
    --pm-radius-sm: 8px;
    --pm-radius-md: 12px;
    --pm-radius-lg: 16px;
    --pm-radius-xl: 20px;
    --pm-radius-full: 9999px;

    /* Transitions */
    --pm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --pm-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --pm-transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Sizing */
    --pm-sidebar-width: 270px;
    --pm-sidebar-collapsed: 72px;
    --pm-topbar-height: 64px;

    /* Typography */
    --pm-font-body: 'Inter', -apple-system, sans-serif;
    --pm-font-heading: 'Outfit', -apple-system, sans-serif;
    --pm-font-mono: 'JetBrains Mono', monospace;
}

/* ============================================
   DARK MODE TOKENS
   ============================================ */
[data-theme="dark"] {
    --pm-bg: #0f0f1a;
    --pm-bg-secondary: #161628;
    --pm-surface: #1a1a2e;
    --pm-surface-hover: #22223a;
    --pm-surface-glass: rgba(26, 26, 46, 0.85);
    --pm-surface-glass-border: rgba(255, 255, 255, 0.08);
    --pm-overlay: rgba(0, 0, 0, 0.7);

    --pm-text-primary: #e8e8f0;
    --pm-text-secondary: #a0a0c0;
    --pm-text-muted: #6a6a8a;

    --pm-border: #2a2a45;
    --pm-border-light: #222240;
    --pm-border-focus: #ff5a6e;

    --pm-gradient-card: linear-gradient(145deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 22, 40, 0.7) 100%);
    --pm-gradient-sidebar: linear-gradient(180deg, #0a0a18 0%, #151530 50%, #1a1035 100%);
    --pm-sidebar-bg: var(--pm-gradient-sidebar);
    --pm-sidebar-text: rgba(255, 255, 255, 0.65);
    --pm-sidebar-text-hover: #ffffff;
    --pm-sidebar-section: rgba(255, 255, 255, 0.35);

    --pm-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --pm-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --pm-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --pm-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --pm-shadow-glow: 0 0 20px rgba(232, 54, 79, 0.25);
    --pm-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --pm-shadow-3d: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--pm-font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--pm-text-primary);
    background: var(--pm-bg);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    max-width: 100vw;
}

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

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

a:hover {
    color: var(--pm-primary-light);
}

/* ============================================
   LAYOUT — SIDEBAR + MAIN
   ============================================ */
.pm-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.pm-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--pm-sidebar-width);
    height: 100vh;
    background: var(--pm-sidebar-bg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: var(--pm-transition);
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid var(--pm-border);
}

.pm-sidebar::-webkit-scrollbar {
    width: 4px;
}

.pm-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.pm-sidebar-brand {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: var(--pm-topbar-height);
}

.pm-sidebar-brand img {
    height: 96px;
    max-width: 280px;
    width: 100%;
    object-fit: contain;
    filter: brightness(1.15) drop-shadow(0 2px 8px rgba(232, 54, 79, 0.3));
}

.pm-sidebar-brand span {
    font-family: var(--pm-font-heading);
    font-size: 20px;
    font-weight: 800;
    background: var(--pm-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pm-sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pm-sidebar-section {
    padding: 12px 16px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pm-sidebar-section);
}

.pm-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: var(--pm-radius-md);
    color: var(--pm-sidebar-text);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--pm-transition);
    position: relative;
    overflow: hidden;
}

.pm-nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pm-gradient-warm);
    opacity: 0;
    transition: var(--pm-transition);
    border-radius: var(--pm-radius-md);
}

.pm-nav-item:hover {
    color: var(--pm-sidebar-text-hover);
    transform: translateX(4px);
}

.pm-nav-item:hover::before {
    opacity: 0.12;
}

.pm-nav-item.active {
    color: var(--pm-sidebar-text-hover);
    background: rgba(232, 54, 79, 0.15);
    box-shadow: inset 3px 0 0 var(--pm-primary);
}

.pm-nav-item.active::before {
    opacity: 0.08;
}

.pm-nav-item i {
    width: 20px;
    font-size: 16px;
    text-align: center;
    z-index: 1;
    flex-shrink: 0;
}

.pm-nav-item span {
    z-index: 1;
}

.pm-nav-item .pm-badge-nav {
    margin-left: auto;
    background: var(--pm-gradient-warm);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--pm-radius-full);
    z-index: 1;
}

/* MAIN CONTENT */
.pm-main {
    margin-left: var(--pm-sidebar-width);
    flex: 1;
    min-width: 0;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: var(--pm-transition);
}

/* TOPBAR */
.pm-topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: var(--pm-topbar-height);
    background: var(--pm-surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--pm-surface-glass-border);
}

.pm-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pm-topbar-left h1 {
    font-size: 18px;
    font-weight: 700;
}

.pm-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--pm-text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--pm-radius-sm);
    transition: var(--pm-transition-fast);
}

.pm-menu-toggle:hover {
    background: var(--pm-surface-hover);
}

/* THEME TOGGLE */
.pm-theme-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: var(--pm-radius-full);
    background: var(--pm-bg-secondary);
    border: 2px solid var(--pm-border);
    cursor: pointer;
    transition: var(--pm-transition);
    flex-shrink: 0;
}

.pm-theme-toggle::after {
    content: '☀️';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pm-surface);
    box-shadow: var(--pm-shadow-sm);
    transition: var(--pm-transition-bounce);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

[data-theme="dark"] .pm-theme-toggle {
    background: var(--pm-bg-secondary);
    border-color: var(--pm-border);
}

[data-theme="dark"] .pm-theme-toggle::after {
    content: '🌙';
    transform: translateX(24px);
    background: var(--pm-surface);
}

.pm-user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    background: var(--pm-surface);
    border-radius: var(--pm-radius-full);
    border: 1px solid var(--pm-border);
    cursor: default;
}

.pm-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pm-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 13px;
}

.pm-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pm-user-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--pm-text-primary);
}

.pm-user-role {
    font-size: 11px;
    color: var(--pm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CONTENT AREA */
.pm-content {
    flex: 1;
    padding: 28px;
}

/* ============================================
   CARDS
   ============================================ */
.pm-card {
    background: var(--pm-gradient-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--pm-surface-glass-border);
    border-radius: var(--pm-radius-lg);
    box-shadow: var(--pm-shadow-card);
    transition: var(--pm-transition);
    overflow: hidden;
}

.pm-card:hover {
    box-shadow: var(--pm-shadow-3d);
    transform: translateY(-2px);
}

.pm-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--pm-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pm-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--pm-text-primary);
}

.pm-card-body {
    padding: 24px;
}

.pm-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--pm-border-light);
    background: var(--pm-surface-hover);
}

/* KPI STAT CARDS */
.pm-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.pm-stat-card {
    background: var(--pm-gradient-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--pm-surface-glass-border);
    border-radius: var(--pm-radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--pm-transition);
    box-shadow: var(--pm-shadow-card);
}

.pm-stat-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--pm-shadow-3d);
}

.pm-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pm-gradient-primary);
}

.pm-stat-card .pm-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--pm-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pm-stat-card .pm-stat-icon.icon-primary {
    background: var(--pm-gradient-warm);
}

.pm-stat-card .pm-stat-icon.icon-secondary {
    background: var(--pm-gradient-cool);
}

.pm-stat-card .pm-stat-icon.icon-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.pm-stat-card .pm-stat-icon.icon-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.pm-stat-card .pm-stat-icon.icon-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pm-stat-card .pm-stat-icon.icon-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.pm-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--pm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.pm-stat-value {
    font-family: var(--pm-font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--pm-text-primary);
    line-height: 1.1;
}

.pm-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: var(--pm-radius-full);
}

.pm-stat-change.up {
    color: var(--pm-success);
    background: var(--pm-success-bg);
}

.pm-stat-change.down {
    color: var(--pm-danger);
    background: var(--pm-danger-bg);
}

.pm-stat-sparkline {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 50px;
    opacity: 0.5;
}

/* ============================================
   TABLES
   ============================================ */
.pm-table-wrapper {
    overflow-x: auto;
    border-radius: var(--pm-radius-md);
    max-width: 100%;
}

.pm-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.pm-table thead th {
    padding: 14px 16px;
    background: var(--pm-bg-secondary);
    color: var(--pm-text-secondary);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: left;
    border-bottom: 2px solid var(--pm-border);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

.pm-table tbody tr {
    transition: var(--pm-transition-fast);
}

.pm-table tbody tr:hover {
    background: var(--pm-surface-hover);
}

.pm-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--pm-border-light);
    color: var(--pm-text-primary);
    vertical-align: middle;
    white-space: nowrap;
}

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

/* ============================================
   BADGES
   ============================================ */
.pm-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: var(--pm-radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pm-badge-success {
    background: var(--pm-success-bg);
    color: var(--pm-success);
}

.pm-badge-warning {
    background: var(--pm-warning-bg);
    color: var(--pm-warning);
}

.pm-badge-danger {
    background: var(--pm-danger-bg);
    color: var(--pm-danger);
}

.pm-badge-info {
    background: var(--pm-info-bg);
    color: var(--pm-info);
}

.pm-badge-pending {
    background: var(--pm-pending-bg);
    color: var(--pm-pending);
}

.pm-badge-neutral {
    background: var(--pm-bg-secondary);
    color: var(--pm-text-secondary);
}

.pm-badge-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* ============================================
   BUTTONS
   ============================================ */
.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--pm-radius-md);
    font-family: var(--pm-font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pm-transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.pm-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
}

.pm-btn:active::after {
    width: 200px;
    height: 200px;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
}

.pm-btn-primary {
    background: var(--pm-gradient-warm);
    color: white;
    box-shadow: 0 4px 14px rgba(232, 54, 79, 0.3);
}

.pm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 54, 79, 0.4);
}

.pm-btn-secondary {
    background: var(--pm-gradient-cool);
    color: white;
    box-shadow: 0 4px 14px rgba(123, 47, 247, 0.3);
}

.pm-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 47, 247, 0.4);
}

.pm-btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

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

.pm-btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

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

.pm-btn-outline {
    background: transparent;
    border: 1.5px solid var(--pm-border);
    color: var(--pm-text-primary);
}

.pm-btn-outline:hover {
    border-color: var(--pm-primary);
    color: var(--pm-primary);
    background: rgba(232, 54, 79, 0.04);
}

.pm-btn-ghost {
    background: transparent;
    color: var(--pm-text-secondary);
    padding: 8px 14px;
}

.pm-btn-ghost:hover {
    background: var(--pm-surface-hover);
    color: var(--pm-text-primary);
}

.pm-btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: var(--pm-radius-sm);
}

.pm-btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

.pm-btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--pm-radius-sm);
}

.pm-btn:disabled,
.pm-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   FORMS
   ============================================ */
.pm-form-group {
    margin-bottom: 20px;
    position: relative;
}

.pm-form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--pm-text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-form-input,
.pm-form-select,
.pm-form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--pm-surface);
    border: 1.5px solid var(--pm-border);
    border-radius: var(--pm-radius-md);
    color: var(--pm-text-primary);
    font-family: var(--pm-font-body);
    font-size: 14px;
    transition: var(--pm-transition);
    outline: none;
}

.pm-form-input:focus,
.pm-form-select:focus,
.pm-form-textarea:focus {
    border-color: var(--pm-primary);
    box-shadow: 0 0 0 3px rgba(232, 54, 79, 0.12), var(--pm-shadow-sm);
}

.pm-form-input::placeholder {
    color: var(--pm-text-muted);
}

.pm-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.pm-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a9abe' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.pm-form-hint {
    font-size: 11px;
    color: var(--pm-text-muted);
    margin-top: 4px;
}

.pm-form-error {
    font-size: 11px;
    color: var(--pm-danger);
    margin-top: 4px;
}

.pm-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

/* TOGGLE SWITCH */
.pm-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.pm-switch input {
    display: none;
}

.pm-switch-slider {
    width: 44px;
    height: 24px;
    background: var(--pm-bg-secondary);
    border: 2px solid var(--pm-border);
    border-radius: var(--pm-radius-full);
    position: relative;
    transition: var(--pm-transition);
}

.pm-switch-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--pm-text-muted);
    transition: var(--pm-transition-bounce);
}

.pm-switch input:checked+.pm-switch-slider {
    background: var(--pm-success);
    border-color: var(--pm-success);
}

.pm-switch input:checked+.pm-switch-slider::after {
    transform: translateX(20px);
    background: white;
}

.pm-switch-label {
    font-size: 13px;
    color: var(--pm-text-secondary);
    font-weight: 500;
}

/* ============================================
   MODALS
   ============================================ */
.pm-modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--pm-overlay);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: pmFadeIn 0.2s ease;
    backdrop-filter: blur(4px);
}

.pm-modal-overlay.active {
    display: flex;
}

.pm-modal {
    background: var(--pm-surface);
    border-radius: var(--pm-radius-xl);
    box-shadow: var(--pm-shadow-xl);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    animation: pmSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pm-modal-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pm-modal-title {
    font-size: 18px;
    font-weight: 700;
}

.pm-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--pm-bg-secondary);
    border-radius: 50%;
    cursor: pointer;
    color: var(--pm-text-secondary);
    font-size: 16px;
    transition: var(--pm-transition-fast);
}

.pm-modal-close:hover {
    background: var(--pm-danger-bg);
    color: var(--pm-danger);
}

.pm-modal-body {
    padding: 24px;
}

.pm-modal-footer {
    padding: 0 24px 24px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* ============================================
   PAGINATION
   ============================================ */
.pm-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.pm-pagination button {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--pm-border);
    background: var(--pm-surface);
    color: var(--pm-text-secondary);
    border-radius: var(--pm-radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pm-transition);
    font-family: var(--pm-font-body);
}

.pm-pagination button:hover:not(.active):not(:disabled) {
    border-color: var(--pm-primary);
    color: var(--pm-primary);
    background: rgba(232, 54, 79, 0.04);
}

.pm-pagination button.active {
    background: var(--pm-gradient-warm);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(232, 54, 79, 0.3);
}

.pm-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pm-pagination-info {
    font-size: 12px;
    color: var(--pm-text-muted);
    margin-top: 8px;
    text-align: center;
}

/* ============================================
   FILTER BAR
   ============================================ */
.pm-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: var(--pm-surface);
    border: 1px solid var(--pm-border-light);
    border-radius: var(--pm-radius-lg);
}

.pm-filter-bar .pm-form-input,
.pm-filter-bar .pm-form-select {
    max-width: 200px;
    padding: 8px 12px;
    font-size: 13px;
}

.pm-filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 4px;
}

.pm-filter-chips::-webkit-scrollbar {
    display: none;
}

.pm-filter-chip {
    padding: 6px 14px;
    border-radius: var(--pm-radius-full);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pm-transition);
    border: 1.5px solid var(--pm-border);
    background: var(--pm-surface);
    color: var(--pm-text-secondary);
}

.pm-filter-chip:hover {
    border-color: var(--pm-primary);
    color: var(--pm-primary);
}

.pm-filter-chip.active {
    background: var(--pm-gradient-warm);
    color: white;
    border-color: transparent;
}

/* ============================================
   TABS
   ============================================ */
.pm-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--pm-bg-secondary);
    border-radius: var(--pm-radius-md);
    margin-bottom: 24px;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.pm-tabs::-webkit-scrollbar {
    display: none;
}

.pm-tab {
    padding: 8px 20px;
    border-radius: var(--pm-radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--pm-text-secondary);
    transition: var(--pm-transition);
    border: none;
    background: transparent;
    font-family: var(--pm-font-body);
}

.pm-tab:hover {
    color: var(--pm-text-primary);
}

.pm-tab.active {
    background: var(--pm-surface);
    color: var(--pm-text-primary);
    box-shadow: var(--pm-shadow-sm);
}

.pm-tab-content {
    display: none;
}

.pm-tab-content.active {
    display: block;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.pm-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.pm-toast {
    padding: 14px 20px;
    border-radius: var(--pm-radius-md);
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    box-shadow: var(--pm-shadow-lg);
    font-size: 13px;
    font-weight: 500;
    color: var(--pm-text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    max-width: 420px;
    pointer-events: auto;
    animation: pmSlideInRight 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), pmFadeOut 0.3s ease 4s forwards;
}

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

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

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

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

/* ============================================
   LOADING & SKELETON
   ============================================ */
.pm-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--pm-border);
    border-top: 3px solid var(--pm-primary);
    border-radius: 50%;
    animation: pmSpin 0.8s linear infinite;
}

.pm-spinner-sm {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

.pm-loading-overlay {
    position: absolute;
    inset: 0;
    background: var(--pm-surface-glass);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    z-index: 10;
}

.pm-skeleton {
    background: linear-gradient(90deg, var(--pm-bg-secondary) 25%, var(--pm-border-light) 50%, var(--pm-bg-secondary) 75%);
    background-size: 200% 100%;
    animation: pmShimmer 1.5s infinite;
    border-radius: var(--pm-radius-sm);
}

.pm-skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.pm-skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.pm-skeleton-box {
    height: 100px;
}

/* ============================================
   COMING SOON BADGE
   ============================================ */
.pm-coming-soon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
}

.pm-coming-soon-badge {
    font-family: var(--pm-font-heading);
    font-size: 22px;
    font-weight: 800;
    background: var(--pm-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    animation: pmPulse 2s ease-in-out infinite;
}

.pm-coming-soon-icon {
    font-size: 72px;
    margin-bottom: 24px;
    animation: pmFloat 3s ease-in-out infinite;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.pm-text-center {
    text-align: center;
}

.pm-text-right {
    text-align: right;
}

.pm-text-muted {
    color: var(--pm-text-muted);
}

.pm-text-primary {
    color: var(--pm-text-primary);
}

.pm-text-success {
    color: var(--pm-success);
}

.pm-text-danger {
    color: var(--pm-danger);
}

.pm-text-warning {
    color: var(--pm-warning);
}

.pm-mt-0 {
    margin-top: 0;
}

.pm-mt-1 {
    margin-top: 8px;
}

.pm-mt-2 {
    margin-top: 16px;
}

.pm-mt-3 {
    margin-top: 24px;
}

.pm-mb-0 {
    margin-bottom: 0;
}

.pm-mb-1 {
    margin-bottom: 8px;
}

.pm-mb-2 {
    margin-bottom: 16px;
}

.pm-mb-3 {
    margin-bottom: 24px;
}

.pm-p-2 {
    padding: 16px;
}

.pm-p-3 {
    padding: 24px;
}

.pm-flex {
    display: flex;
}

.pm-flex-col {
    flex-direction: column;
}

.pm-items-center {
    align-items: center;
}

.pm-justify-between {
    justify-content: space-between;
}

.pm-gap-1 {
    gap: 8px;
}

.pm-gap-2 {
    gap: 16px;
}

.pm-gap-3 {
    gap: 24px;
}

.pm-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pm-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pm-mono {
    font-family: var(--pm-font-mono);
    font-size: 13px;
}

.pm-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================================
   AUTH PAGES (LOGIN/REGISTER)
   ============================================ */
.pm-auth-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--pm-gradient-sidebar);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.pm-auth-page::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 54, 79, 0.15) 0%, transparent 70%);
    top: -50px;
    right: 0;
    animation: pmFloat 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.pm-auth-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.12) 0%, transparent 70%);
    bottom: -50px;
    left: 0;
    animation: pmFloat 8s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.pm-auth-card {
    width: 100%;
    max-width: 440px;
    margin: auto;
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius-xl);
    box-shadow: var(--pm-shadow-xl);
    padding: 40px;
    position: relative;
    z-index: 1;
    animation: pmSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pm-auth-logo {
    text-align: center;
    margin-bottom: 24px;
}

.pm-auth-logo img {
    height: 56px;
    max-width: 240px;
    width: auto;
    object-fit: contain;
}

.pm-auth-title {
    text-align: center;
    font-size: 22px;
    color: var(--pm-text-primary);
    margin-bottom: 8px;
}

.pm-auth-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--pm-text-muted);
    margin-bottom: 32px;
}

.pm-auth-submit {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    margin-top: 8px;
}

.pm-auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--pm-text-muted);
}

.pm-auth-footer a {
    color: var(--pm-primary);
    font-weight: 600;
}

.pm-auth-footer a:hover {
    color: var(--pm-primary-light);
}

.pm-auth-admin-badge {
    text-align: center;
    margin-bottom: 20px;
    padding: 6px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--pm-radius-full);
    background: rgba(232, 54, 79, 0.15);
    color: var(--pm-primary-light);
    border: 1px solid rgba(232, 54, 79, 0.25);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pm-auth-alert {
    padding: 12px 16px;
    border-radius: var(--pm-radius-md);
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-auth-alert.alert-error {
    background: var(--pm-danger-bg);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: var(--pm-danger);
}

.pm-auth-alert.alert-success {
    background: var(--pm-success-bg);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--pm-success);
}

/* ============================================
   API DOCS STYLING
   ============================================ */
.pm-api-endpoint {
    background: var(--pm-bg-secondary);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.pm-api-method {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: var(--pm-radius-sm);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--pm-font-mono);
    color: white;
}

.pm-api-method.method-post {
    background: var(--pm-success);
}

.pm-api-method.method-get {
    background: var(--pm-info);
}

.pm-api-url {
    font-family: var(--pm-font-mono);
    font-size: 14px;
    color: var(--pm-primary);
    margin-left: 10px;
    word-break: break-all;
}

.pm-code-block {
    background: #1a1a2e;
    color: #e8e8f0;
    padding: 20px;
    border-radius: var(--pm-radius-md);
    font-family: var(--pm-font-mono);
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
    margin: 12px 0;
}

.pm-code-block .code-key {
    color: #7dd3fc;
}

.pm-code-block .code-string {
    color: #86efac;
}

.pm-code-block .code-number {
    color: #fbbf24;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pmFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pmFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes pmSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pmSlideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pmShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes pmPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes pmFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.pm-animate-in {
    animation: pmSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.pm-animate-in-1 {
    animation-delay: 0.05s;
}

.pm-animate-in-2 {
    animation-delay: 0.1s;
}

.pm-animate-in-3 {
    animation-delay: 0.15s;
}

.pm-animate-in-4 {
    animation-delay: 0.2s;
}

.pm-animate-in-5 {
    animation-delay: 0.25s;
}

.pm-animate-in-6 {
    animation-delay: 0.3s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .pm-sidebar {
        transform: translateX(-100%);
    }

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

    .pm-main {
        margin-left: 0;
    }

    .pm-menu-toggle {
        display: flex;
    }

    .pm-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .pm-grid-2,
    .pm-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pm-content {
        padding: 12px;
    }

    .pm-topbar {
        padding: 0 16px;
    }

    .pm-stat-card {
        padding: 18px;
    }

    .pm-stat-value {
        font-size: 22px;
    }

    .pm-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .pm-card-body {
        padding: 16px;
    }

    .pm-filter-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .pm-filter-bar .pm-filter-chips {
        grid-column: 1 / -1;
    }

    .pm-filter-bar>button {
        grid-column: 1 / -1;
    }

    .pm-filter-bar .pm-form-input,
    .pm-filter-bar .pm-form-select {
        max-width: 100%;
    }

    .pm-auth-card {
        padding: 28px 24px;
        margin: auto;
    }

    .pm-modal {
        max-width: calc(100% - 20px);
    }

    .pm-user-info {
        display: none;
    }
}

@media (max-width: 480px) {
    .pm-stats-grid {
        grid-template-columns: 1fr;
    }

    .pm-form-row {
        grid-template-columns: 1fr;
    }

    .pm-topbar-left h1 {
        font-size: 15px;
    }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--pm-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--pm-border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pm-text-muted);
}

/* ============================================
   CUSTOM SELECT (lazy-load dropdown)
   ============================================ */
.pm-select-search-wrapper {
    position: relative;
}

.pm-select-search-wrapper .pm-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius-md);
    box-shadow: var(--pm-shadow-lg);
    max-height: 240px;
    overflow-y: auto;
    z-index: 500;
    display: none;
}

.pm-select-search-wrapper .pm-select-dropdown.open {
    display: block;
}

.pm-select-option {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    transition: var(--pm-transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-select-option:hover {
    background: var(--pm-surface-hover);
}

.pm-select-option.selected {
    background: rgba(232, 54, 79, 0.08);
    color: var(--pm-primary);
    font-weight: 600;
}

/* ============================================
   PREMIUM INLINE TOAST MESSAGES
   ============================================ */
@keyframes pmToastSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pm-toast-msg {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--pm-radius-md);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    animation: pmToastSlide .35s cubic-bezier(.175, .885, .32, 1.275);
    margin-bottom: 20px;
}

.pm-toast-msg .pm-toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.pm-toast-msg .pm-toast-text {
    flex: 1;
    min-width: 0;
}

.pm-toast-msg .pm-toast-dismiss {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    opacity: .45;
    padding: 4px;
    transition: opacity .2s;
    flex-shrink: 0;
}

.pm-toast-msg .pm-toast-dismiss:hover {
    opacity: 1;
}

/* Error variant */
.pm-toast-msg.pm-toast-error {
    background: linear-gradient(135deg, rgba(232, 54, 79, .05), rgba(232, 54, 79, .1));
    border: 1px solid rgba(232, 54, 79, .2);
    color: #be123c;
}

.pm-toast-msg.pm-toast-error .pm-toast-icon {
    background: rgba(232, 54, 79, .12);
    color: #e8364f;
}

.pm-toast-msg.pm-toast-error .pm-toast-dismiss {
    color: #be123c;
}

/* Success variant */
.pm-toast-msg.pm-toast-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, .05), rgba(16, 185, 129, .1));
    border: 1px solid rgba(16, 185, 129, .2);
    color: #15803d;
}

.pm-toast-msg.pm-toast-success .pm-toast-icon {
    background: rgba(16, 185, 129, .12);
    color: #10b981;
}

.pm-toast-msg.pm-toast-success .pm-toast-dismiss {
    color: #15803d;
}

/* Warning variant */
.pm-toast-msg.pm-toast-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, .05), rgba(245, 158, 11, .1));
    border: 1px solid rgba(245, 158, 11, .2);
    color: #b45309;
}

.pm-toast-msg.pm-toast-warning .pm-toast-icon {
    background: rgba(245, 158, 11, .12);
    color: #f59e0b;
}

.pm-toast-msg.pm-toast-warning .pm-toast-dismiss {
    color: #b45309;
}

/* Info variant */
.pm-toast-msg.pm-toast-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, .05), rgba(59, 130, 246, .1));
    border: 1px solid rgba(59, 130, 246, .2);
    color: #1d4ed8;
}

.pm-toast-msg.pm-toast-info .pm-toast-icon {
    background: rgba(59, 130, 246, .12);
    color: #3b82f6;
}

.pm-toast-msg.pm-toast-info .pm-toast-dismiss {
    color: #1d4ed8;
}

/* ============================================
   SECTION BLUR LOADER
   ============================================ */
@keyframes pmLoaderSpin {
    to { transform: rotate(360deg); }
}

.pm-section-loader {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 10;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, .72);
    border-radius: inherit;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.pm-section-loader.active {
    display: flex;
}

.pm-section-loader .pm-loader-logo {
    height: 32px;
    opacity: .8;
}

.pm-section-loader .pm-loader-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(123, 47, 247, .15);
    border-top-color: var(--pm-secondary);
    border-radius: 50%;
    animation: pmLoaderSpin .7s linear infinite;
}

.pm-section-loader .pm-loader-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--pm-text-muted);
}
