/* =============================================
   CeriaSir iPaymu Demo - Global Styles
   ============================================= */

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

:root {
    /* Brand Colors */
    --primary: #6C63FF;
    --primary-dark: #5A52E8;
    --primary-light: #8B85FF;
    --secondary: #FF6B6B;
    --accent: #4ECDC4;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #9B89FF 100%);
    --gradient-hero: linear-gradient(135deg, #0F0C29 0%, #302B63 50%, #24243e 100%);
    --gradient-card: linear-gradient(145deg, rgba(108,99,255,0.05), rgba(78,205,196,0.05));

    /* Neutral */
    --bg: #0A0A1A;
    --bg-card: #12122A;
    --bg-card-hover: #1A1A35;
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(108,99,255,0.4);

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255,255,255,0.6);
    --text-muted: rgba(255,255,255,0.35);

    /* Status */
    --success: #4ADE80;
    --success-bg: rgba(74,222,128,0.1);
    --warning: #FCD34D;
    --warning-bg: rgba(252,211,77,0.1);
    --danger: #F87171;
    --danger-bg: rgba(248,113,113,0.1);

    /* Spacing */
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;

    /* Shadow */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(108,99,255,0.2);
    --shadow-glow-strong: 0 0 60px rgba(108,99,255,0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* =============================================
   Utility Classes
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted { color: var(--text-secondary); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-full { width: 100%; }

/* =============================================
   Card
   ============================================= */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(108,99,255,0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(108,99,255,0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 1px solid rgba(108,99,255,0.4);
}

.btn-outline:hover {
    background: rgba(108,99,255,0.1);
    border-color: var(--primary);
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: 14px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 8px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* =============================================
   Forms
   ============================================= */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(108,99,255,0.05);
    box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}

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

.form-control:read-only {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =============================================
   Navigation
   ============================================= */
.navbar {
    background: rgba(10,10,26,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-nav a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.navbar-nav a.active {
    color: var(--primary-light);
    background: rgba(108,99,255,0.1);
}

/* =============================================
   Alert / Notification
   ============================================= */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: var(--success-bg);
    border-color: rgba(74,222,128,0.3);
    color: var(--success);
}

.alert-danger {
    background: var(--danger-bg);
    border-color: rgba(248,113,113,0.3);
    color: var(--danger);
}

.alert-warning {
    background: var(--warning-bg);
    border-color: rgba(252,211,77,0.3);
    color: var(--warning);
}

/* =============================================
   Badges / Status
   ============================================= */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(74,222,128,0.3);
}

.badge-pending {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid rgba(252,211,77,0.3);
}

.badge-danger {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(248,113,113,0.3);
}

.badge-expired {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* =============================================
   Table
   ============================================= */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

thead tr {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}

th {
    padding: 14px 20px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-primary);
    vertical-align: middle;
}

tbody tr {
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

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

/* =============================================
   Stats Card
   ============================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.1;
    transform: translate(20px, -20px);
}

.stat-card.blue::after { background: #6C63FF; }
.stat-card.green::after { background: #4ADE80; }
.stat-card.orange::after { background: #FB923C; }
.stat-card.pink::after { background: #F472B6; }

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.stat-icon.blue { background: rgba(108,99,255,0.15); }
.stat-icon.green { background: rgba(74,222,128,0.15); }
.stat-icon.orange { background: rgba(251,146,60,0.15); }
.stat-icon.pink { background: rgba(244,114,182,0.15); }

.stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================
   Page Header
   ============================================= */
.page-header {
    padding: 32px 0 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.page-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =============================================
   Landing Page Hero
   ============================================= */
.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108,99,255,0.3) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(78,205,196,0.2) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 60px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108,99,255,0.15);
    border: 1px solid rgba(108,99,255,0.3);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* =============================================
   Feature Cards
   ============================================= */
.features-section {
    padding: 80px 0;
    background: var(--bg);
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   Info Section (Contact, etc.)
   ============================================= */
.info-section {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(108,99,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.info-value {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.info-value a {
    color: var(--primary-light);
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--border);
    padding: 28px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

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

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =============================================
   Auth Pages (Login)
   ============================================= */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,99,255,0.25) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(18,18,42,0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(108,99,255,0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md), 0 0 60px rgba(108,99,255,0.15);
}

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

.auth-logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 32px;
}

/* =============================================
   Dashboard Layout
   ============================================= */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 24px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 32px;
    text-decoration: none;
    padding: 0 8px;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 4px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-nav a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.sidebar-nav a.active {
    color: var(--primary-light);
    background: rgba(108,99,255,0.12);
}

.sidebar-nav .icon {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.sidebar-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 16px 0;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    margin-top: auto;
    border: 1px solid var(--border);
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.sidebar-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.sidebar-user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.main-content {
    flex: 1;
    padding: 0;
    overflow-x: hidden;
}

.content-area {
    padding: 32px;
    max-width: 1000px;
}

/* =============================================
   Checkout / Payment
   ============================================= */
.checkout-wrapper {
    min-height: 100vh;
    background: var(--bg);
    padding: 40px 20px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.product-image {
    width: 100%;
    height: 180px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 20px;
}

.price-tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.order-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.order-item:last-of-type { border-bottom: none; }

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 2px solid var(--border);
    margin-top: 8px;
}

/* =============================================
   Status Pages
   ============================================= */
.status-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 40px 20px;
}

.status-card {
    max-width: 500px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    display: block;
}

.status-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.status-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.transaction-details {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: left;
    margin-bottom: 28px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--text-secondary); }
.detail-value { font-weight: 600; }

/* =============================================
   Policy Pages
   ============================================= */
.policy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.policy-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.policy-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 40px;
}

.policy-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--primary-light);
}

.policy-content p,
.policy-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.policy-content ul, .policy-content ol {
    padding-left: 20px;
}

/* =============================================
   Loading Spinner
   ============================================= */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

/* =============================================
   Animations
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fadeInUp { animation: fadeInUp 0.5s ease forwards; }
.animate-fadeIn { animation: fadeIn 0.4s ease forwards; }

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; opacity: 0; }
.stagger-2 { animation-delay: 0.2s; opacity: 0; }
.stagger-3 { animation-delay: 0.3s; opacity: 0; }
.stagger-4 { animation-delay: 0.4s; opacity: 0; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
    .dashboard-layout { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: relative; }
    .content-area { padding: 20px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-content { padding: 60px 20px 40px; }
    .table-wrapper { margin: 0 -20px; border-radius: 0; border-left: none; border-right: none; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .auth-card { padding: 28px 24px; }
    .status-card { padding: 36px 24px; }
}
