/**
 * Affiliate Pro - Public Styles
 * Modern, clean dashboard UI
 */

/* ===== CSS Variables ===== */
:root {
    --ap-primary: #4f46e5;
    --ap-primary-dark: #4338ca;
    --ap-primary-light: #e0e7ff;
    --ap-success: #10b981;
    --ap-success-light: #d1fae5;
    --ap-warning: #f59e0b;
    --ap-warning-light: #fef3c7;
    --ap-danger: #ef4444;
    --ap-danger-light: #fee2e2;
    --ap-info: #3b82f6;
    --ap-info-light: #dbeafe;
    --ap-gray-50: #f9fafb;
    --ap-gray-100: #f3f4f6;
    --ap-gray-200: #e5e7eb;
    --ap-gray-300: #d1d5db;
    --ap-gray-400: #9ca3af;
    --ap-gray-500: #6b7280;
    --ap-gray-600: #4b5563;
    --ap-gray-700: #374151;
    --ap-gray-800: #1f2937;
    --ap-gray-900: #111827;
    --ap-radius-sm: 8px;
    --ap-radius-md: 12px;
    --ap-radius-lg: 16px;
    --ap-radius-xl: 20px;
    --ap-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --ap-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --ap-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --ap-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ===== Base ===== */
.ap-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--ap-gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== Page Header ===== */
.ap-page-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ap-gray-200);
}
.ap-page-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--ap-gray-900);
    letter-spacing: -0.025em;
}
.ap-page-subtitle {
    font-size: 15px;
    color: var(--ap-gray-500);
    margin: 0;
}

/* ===== Stats Grid ===== */
.ap-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.ap-stats-3 { grid-template-columns: repeat(3, 1fr); }
.ap-stats-2 { grid-template-columns: repeat(2, 1fr); }

.ap-stat-card {
    background: #fff;
    border: 1px solid var(--ap-gray-200);
    border-radius: var(--ap-radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--ap-shadow-sm);
}
.ap-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ap-shadow-md);
}
.ap-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--ap-radius-lg) var(--ap-radius-lg) 0 0;
}
.ap-stat-green::before { background: var(--ap-success); }
.ap-stat-blue::before { background: var(--ap-info); }
.ap-stat-purple::before { background: #8b5cf6; }
.ap-stat-amber::before { background: var(--ap-warning); }

.ap-stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--ap-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.ap-stat-icon-wrap svg { width: 22px; height: 22px; }
.ap-icon-wrap-green { background: var(--ap-success-light); color: var(--ap-success); }
.ap-icon-wrap-blue { background: var(--ap-info-light); color: var(--ap-info); }
.ap-icon-wrap-purple { background: #ede9fe; color: #7c3aed; }
.ap-icon-wrap-amber { background: var(--ap-warning-light); color: #d97706; }

.ap-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ap-gray-500);
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ap-stat-value {
    font-size: 30px;
    font-weight: 700;
    color: var(--ap-gray-900);
    margin: 0;
    letter-spacing: -0.02em;
}
.ap-stat-change {
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 2px 8px;
    border-radius: 999px;
}
.ap-change-up { color: var(--ap-success); background: var(--ap-success-light); }
.ap-change-down { color: var(--ap-danger); background: var(--ap-danger-light); }

/* ===== Card ===== */
.ap-card {
    background: #fff;
    border: 1px solid var(--ap-gray-200);
    border-radius: var(--ap-radius-lg);
    margin-bottom: 28px;
    box-shadow: var(--ap-shadow-sm);
    overflow: hidden;
}
.ap-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ap-gray-100);
    background: var(--ap-gray-50);
}
.ap-card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--ap-gray-900);
}
.ap-card-body { padding: 0; }

/* ===== Table ===== */
.ap-table-wrapper { overflow-x: auto; }
.ap-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}
.ap-table thead th {
    background: var(--ap-gray-50);
    padding: 14px 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--ap-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--ap-gray-200);
    white-space: nowrap;
}
.ap-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--ap-gray-100);
    vertical-align: middle;
    color: var(--ap-gray-700);
}
.ap-table tbody tr:hover { background: var(--ap-gray-50); }
.ap-table tbody tr:last-child td { border-bottom: none; }

.ap-text-right { text-align: right !important; }
.ap-text-center { text-align: center !important; }
.ap-text-green { color: var(--ap-success) !important; font-weight: 600; }
.ap-text-muted { color: var(--ap-gray-400) !important; font-size: 12px; }
.ap-mono { font-family: 'SF Mono', Monaco, monospace; font-size: 13px; }
.ap-empty {
    text-align: center;
    padding: 56px 20px;
    color: var(--ap-gray-400);
    font-size: 14px;
}

/* ===== Badges ===== */
.ap-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
.ap-badge-pending, .ap-badge-active { background: var(--ap-warning-light); color: #92400e; }
.ap-badge-settled, .ap-badge-paid, .ap-badge-completed { background: var(--ap-success-light); color: #065f46; }
.ap-badge-withdrawn { background: var(--ap-info-light); color: #1e40af; }
.ap-badge-rejected, .ap-badge-refunded { background: var(--ap-danger-light); color: #991b1b; }
.ap-badge-shipped { background: #ede9fe; color: #5b21b6; }
.ap-badge-inactive { background: var(--ap-gray-100); color: var(--ap-gray-600); }
.ap-badge-exclusive { background: #fef3c7; color: #92400e; font-size: 10px; padding: 2px 8px; margin-top: 4px; display: inline-block; }
.ap-link-rate {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ap-success);
    background: var(--ap-success-light);
    padding: 1px 6px;
    border-radius: 4px;
}

/* ===== Quick Cards ===== */
.ap-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ap-quick-card {
    background: #fff;
    border: 1px solid var(--ap-gray-200);
    border-radius: var(--ap-radius-lg);
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}
.ap-quick-card:hover {
    box-shadow: var(--ap-shadow-lg);
    transform: translateY(-3px);
    border-color: var(--ap-gray-300);
}
.ap-quick-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--ap-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ap-quick-icon svg { width: 24px; height: 24px; }
.ap-icon-blue { background: var(--ap-info-light); color: var(--ap-info); }
.ap-icon-green { background: var(--ap-success-light); color: var(--ap-success); }
.ap-icon-purple { background: #ede9fe; color: #7c3aed; }
.ap-quick-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    color: var(--ap-gray-900);
}
.ap-quick-card p {
    font-size: 14px;
    color: var(--ap-gray-500);
    margin: 0;
    flex: 1;
    line-height: 1.5;
}
.ap-quick-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: var(--ap-radius-sm);
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
    transition: all 0.2s;
}

/* ===== Tabs ===== */
.ap-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--ap-gray-200);
    padding: 0 24px;
    background: var(--ap-gray-50);
}
.ap-tab {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ap-gray-500);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
    position: relative;
}
.ap-tab:hover { color: var(--ap-gray-800); }
.ap-tab.active {
    color: var(--ap-primary);
    border-bottom-color: var(--ap-primary);
    font-weight: 600;
}

/* ===== Chart Tabs ===== */
.ap-chart-tabs {
    display: flex;
    gap: 4px;
    background: var(--ap-gray-100);
    padding: 4px;
    border-radius: var(--ap-radius-sm);
}
.ap-tab-btn {
    padding: 7px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ap-gray-500);
    cursor: pointer;
    transition: all 0.2s;
}
.ap-tab-btn.active {
    background: #fff;
    color: var(--ap-gray-900);
    box-shadow: var(--ap-shadow-sm);
    font-weight: 600;
}

/* ===== Link Cell ===== */
.ap-link-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ap-link-url {
    font-size: 13px;
    color: var(--ap-gray-600);
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: var(--ap-gray-100);
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'SF Mono', Monaco, monospace;
}
.ap-copy-btn {
    padding: 6px;
    border: none;
    background: transparent;
    color: var(--ap-gray-400);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ap-copy-btn:hover {
    color: var(--ap-primary);
    background: var(--ap-primary-light);
}

/* ===== Modal ===== */
.ap-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ap-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
}
.ap-modal-content {
    position: relative;
    background: #fff;
    border-radius: var(--ap-radius-xl);
    box-shadow: var(--ap-shadow-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: ap-modal-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes ap-modal-in {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.ap-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--ap-gray-100);
}
.ap-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--ap-gray-900);
}
.ap-modal-close {
    border: none;
    background: var(--ap-gray-100);
    font-size: 20px;
    color: var(--ap-gray-500);
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.2s;
}
.ap-modal-close:hover {
    background: var(--ap-gray-200);
    color: var(--ap-gray-900);
}
.ap-modal-body {
    padding: 28px;
}

/* ===== Forms ===== */
.ap-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ap-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ap-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ap-gray-700);
}
.ap-input {
    height: 46px;
    padding: 10px 14px;
    border: 1.5px solid var(--ap-gray-200);
    border-radius: var(--ap-radius-sm);
    font-size: 15px;
    background: #fff;
    color: var(--ap-gray-800);
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.ap-input:focus {
    outline: none;
    border-color: var(--ap-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
.ap-input::placeholder { color: var(--ap-gray-400); }
.ap-input-prefix { position: relative; }
.ap-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ap-gray-500);
    font-size: 15px;
    font-weight: 600;
}
.ap-input-prefix .ap-input { padding-left: 32px; }
.ap-form-hint {
    font-size: 13px;
    color: var(--ap-gray-500);
    line-height: 1.6;
    margin: 0;
}
.ap-form-hint svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    margin-top: -2px;
}
.ap-code {
    color: var(--ap-primary);
    font-weight: 600;
}
.ap-ref-example {
    color: var(--ap-gray-800);
    font-weight: 600;
    white-space: nowrap;
}
.ap-form-error {
    color: var(--ap-danger);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    background: var(--ap-danger-light);
    border-radius: var(--ap-radius-sm);
    display: none;
}
.ap-form-error:not(:empty) { display: block; }
.ap-radio-group {
    display: flex;
    gap: 20px;
}
.ap-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 16px;
    border: 1.5px solid var(--ap-gray-200);
    border-radius: var(--ap-radius-sm);
    transition: all 0.2s;
    flex: 1;
}
.ap-radio-label:hover { border-color: var(--ap-primary); }
.ap-radio-label:has(input:checked) {
    border-color: var(--ap-primary);
    background: var(--ap-primary-light);
    color: var(--ap-primary-dark);
    font-weight: 600;
}

/* ===== Buttons ===== */
.ap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--ap-radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.ap-btn:hover { transform: translateY(-1px); box-shadow: var(--ap-shadow-md); }
.ap-btn:active { transform: translateY(0); }
.ap-btn-primary { background: var(--ap-primary); color: #fff; }
.ap-btn-primary:hover { background: var(--ap-primary-dark); }
.ap-btn-green { background: var(--ap-success); color: #fff; }
.ap-btn-green:hover { background: #059669; }
.ap-btn-outline { background: transparent; border: 1.5px solid var(--ap-gray-300); color: var(--ap-gray-600); }
.ap-btn-outline:hover { border-color: var(--ap-gray-400); background: var(--ap-gray-50); }
.ap-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 6px; }
.ap-btn-block { width: 100%; }
.ap-btn-ghost { background: transparent; color: var(--ap-gray-500); }
.ap-btn-ghost:hover { background: var(--ap-gray-100); }

/* ===== Balance Info ===== */
.ap-balance-info {
    background: linear-gradient(135deg, var(--ap-primary-light) 0%, #eef2ff 100%);
    border-radius: var(--ap-radius-md);
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #c7d2fe;
}
.ap-balance-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ap-primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 6px 0;
}
.ap-balance-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--ap-primary-dark);
    margin: 0;
}

/* ===== Register Page - Split Layout ===== */
.ap-register-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}
.ap-register-brand {
    background: linear-gradient(135deg, var(--ap-primary) 0%, #7c3aed 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}
.ap-register-brand::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.ap-register-brand::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.ap-brand-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
}
.ap-brand-logo {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--ap-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}
.ap-brand-logo svg { width: 28px; height: 28px; color: #fff; }
.ap-brand-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.2;
}
.ap-brand-content p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 40px 0;
    opacity: 0.9;
}
.ap-brand-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ap-brand-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}
.ap-brand-feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ap-brand-feature-icon svg { width: 16px; height: 16px; }

.ap-register-form-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: var(--ap-gray-50);
}
.ap-register-card {
    background: #fff;
    border: 1px solid var(--ap-gray-200);
    border-radius: var(--ap-radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 520px;
    box-shadow: var(--ap-shadow-lg);
}
.ap-register-header {
    margin-bottom: 28px;
}
.ap-register-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--ap-gray-900);
}
.ap-register-header p {
    font-size: 15px;
    color: var(--ap-gray-500);
    margin: 0;
}
.ap-required { color: var(--ap-danger); }

.ap-register-success {
    text-align: center;
    padding: 20px 0;
}
.ap-success-icon {
    width: 72px;
    height: 72px;
    background: var(--ap-success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.ap-success-icon svg { width: 36px; height: 36px; }
.ap-register-success h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--ap-gray-900);
}
.ap-register-success p {
    font-size: 15px;
    color: var(--ap-gray-500);
    margin: 0 0 28px 0;
    line-height: 1.6;
}

/* ===== Login / Register Prompts ===== */
.ap-login-prompt, .ap-register-prompt {
    text-align: center;
    padding: 80px 24px;
    max-width: 480px;
    margin: 0 auto;
}
.ap-login-prompt h3, .ap-register-prompt h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--ap-gray-900);
}
.ap-login-prompt p, .ap-register-prompt p {
    color: var(--ap-gray-500);
    margin: 0 0 24px 0;
    font-size: 15px;
}

/* ===== Notice ===== */
.ap-notice {
    padding: 16px 20px;
    border-radius: var(--ap-radius-md);
    margin: 24px 0;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ap-notice-success { background: var(--ap-success-light); color: #065f46; border: 1px solid #a7f3d0; }
.ap-notice-warning { background: var(--ap-warning-light); color: #92400e; border: 1px solid #fde68a; }
.ap-notice-error { background: var(--ap-danger-light); color: #991b1b; border: 1px solid #fecaca; }

/* ===== Link ===== */
.ap-link {
    color: var(--ap-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}
.ap-link:hover { color: var(--ap-primary-dark); text-decoration: underline; }

/* ===== Action Bar ===== */
.ap-action-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

/* ===== Font weight helper ===== */
.ap-font-medium { font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .ap-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ap-quick-grid { grid-template-columns: repeat(2, 1fr); }
    .ap-register-wrap { grid-template-columns: 1fr; }
    .ap-register-brand { display: none; }
    .ap-register-form-area { padding: 40px 24px; }
}

@media (max-width: 640px) {
    .ap-dashboard { padding: 20px 16px; }
    .ap-stats-grid, .ap-stats-3, .ap-stats-2 { grid-template-columns: 1fr; }
    .ap-quick-grid { grid-template-columns: 1fr; }
    .ap-table { font-size: 13px; }
    .ap-table thead th, .ap-table tbody td { padding: 12px 14px; }
    .ap-card-header { flex-direction: column; gap: 12px; align-items: flex-start; }
    .ap-register-card { padding: 28px 20px; }
    .ap-modal-content { border-radius: var(--ap-radius-lg); }
    .ap-modal-body { padding: 20px; }
}
