/* TicketPayGo Lite Dashboard Styles - Official Brand Colors */
:root {
    --tpgl-primary: #0A4974;
    --tpgl-secondary: #42963B;
    --tpgl-gradient: linear-gradient(135deg, #0A4974 0%, #42963B 100%);
    --tpgl-success: #42963B;
    --tpgl-warning: #f59e0b;
    --tpgl-danger: #ef4444;
    --tpgl-text-primary: #1e293b;
    --tpgl-text-secondary: #64748b;
    --tpgl-border: #e2e8f0;
    --tpgl-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --tpgl-radius: 12px;
}

.ticketpaygo-lite-dashboard {
    max-width: 100% !important;
    margin: 0 !important;
}

/* Header Card with Logo */
.tpgl-header-card {
    background: #0A4974;
    border-radius: var(--tpgl-radius);
    padding: 40px 32px;
    margin: 20px 0 30px 0;
    box-shadow: var(--tpgl-shadow);
    position: relative;
}

.tpgl-header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tpgl-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.tpgl-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tpgl-logo {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.tpgl-lite-badge {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tpgl-tagline {
    margin: 0;
    color: white;
    opacity: 0.95;
    font-size: 16px;
    text-align: center;
}

.tpgl-version-badge {
    position: absolute;
    top: 20px;
    right: 32px;
    color: white;
}

.tpgl-version-number {
    font-size: 13px;
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 12px;
}

/* Statistics Grid */
.tpgl-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0 30px 0;
}

.tpgl-stat-card {
    background: #ffffff;
    border: 1px solid var(--tpgl-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--tpgl-shadow);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.tpgl-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #0A4974;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tpgl-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--tpgl-primary);
}

.tpgl-stat-card:hover::before {
    opacity: 1;
}

.tpgl-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tpgl-stat-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.tpgl-stat-icon-primary {
    background: linear-gradient(135deg, rgba(10, 73, 116, 0.15) 0%, rgba(10, 73, 116, 0.25) 100%);
    color: var(--tpgl-primary);
}

.tpgl-stat-icon-success {
    background: linear-gradient(135deg, rgba(66, 150, 59, 0.15) 0%, rgba(66, 150, 59, 0.25) 100%);
    color: var(--tpgl-success);
}

.tpgl-stat-icon-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%);
    color: var(--tpgl-warning);
}

.tpgl-stat-icon-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
    color: #3b82f6;
}

.tpgl-stat-content {
    flex: 1;
    min-width: 0;
}

.tpgl-stat-content h3 {
    margin: 0 0 4px 0;
    font-size: 32px;
    font-weight: 800;
    color: var(--tpgl-text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.tpgl-stat-content p {
    margin: 0;
    color: var(--tpgl-text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.status-completed, .status-paid {
    background: #d4edda;
    color: #155724;
}
.status-pending {
    background: #fff3cd;
    color: #856404;
}
.status-cancelled, .status-failed {
    background: #f8d7da;
    color: #721c24;
}
