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

*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #f8fafc; --bg-card: #ffffff; --text: #0f172a; --text-soft: #334155; --text-muted: #64748b; --border: #e2e8f0; --border-soft: #f1f5f9;
  --primary: #4f46e5; --primary-hover: #4338ca; --primary-soft: #eef2ff; --primary-text: #3730a3;
  --partner: #059669; --partner-hover: #047857; --partner-soft: #ecfdf5; --partner-text: #065f46;
  --success: #10b981; --success-soft: #d1fae5; --success-text: #065f46; --warning: #f59e0b; --warning-soft: #fef3c7; --warning-text: #92400e;
  --danger: #ef4444; --danger-soft: #fee2e2; --danger-text: #991b1b; --info-soft: #dbeafe; --info-text: #1e40af;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.04); --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08);
  --radius-sm: 8px; --radius: 12px; --radius-lg: 16px; --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
}
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14.5px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
h1, h2, h3 { margin-top: 0; color: var(--text); font-weight: 600; }
h1 { font-size: 1.75rem; letter-spacing: -0.02em; margin-bottom: 1rem; }
h2 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 1.75rem 0 .75rem; }
h3 { font-size: 1rem; margin: 1.25rem 0 .5rem; }
p { margin: .6rem 0; }
small { font-size: .85em; }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Forms & Buttons */
label { display: block; margin-bottom: 1rem; font-size: .9rem; font-weight: 500; color: var(--text-soft); }
label > span.required { color: var(--danger); margin-left: 2px; }
input, select, textarea { display: block; width: 100%; margin-top: .35rem; padding: .65rem .85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: .95rem; background: #fff; color: var(--text); transition: border-color var(--transition), box-shadow var(--transition); min-height: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12); }
textarea { min-height: 90px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: auto; min-height: auto; margin: .2rem .4rem 0 0; }
input[readonly] { background: var(--bg); color: var(--text-muted); cursor: text; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem 1.15rem; min-height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; color: var(--text); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all var(--transition); text-decoration: none; white-space: nowrap; user-select: none; box-shadow: var(--shadow-xs); }
.btn:hover { background: #f8fafc; border-color: #cbd5e1; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%); color: #fff; border-color: #4f46e5; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.28); }
.btn.primary:hover { background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%); border-color: #4338ca; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35); }
.btn.success { background: linear-gradient(135deg, #059669 0%, #10b981 100%); color: #fff; border-color: #059669; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28); }
.btn.success:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35); }
.btn.danger { background: #fff; color: #dc2626; border-color: #fecaca; }
.btn.danger:hover { background: #fef2f2; border-color: #fca5a5; }
.btn.small { padding: .35rem .75rem; min-height: 32px; font-size: .82rem; }
.btn.block { width: 100%; }

/* Alerts & Badges */
.alert { padding: .85rem 1.15rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: .92rem; font-weight: 500; border: 1px solid transparent; display: flex; align-items: center; gap: .65rem; box-shadow: var(--shadow-xs); }
.alert.ok { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert.err { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert.warn { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.status, .tag { display: inline-flex; align-items: center; gap: 0.35rem; padding: .22rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: 0.02em; text-transform: capitalize; }
.tag { background: var(--primary-soft); color: var(--primary-text); }
.status.pending { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.status.in_process { background: #fefce8; color: #a16207; border: 1px solid #fef08a; }
.status.completed { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.status.cancelled { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.status.lost { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.status.active, .status.paid { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.status.inactive, .status.rejected { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.status.accrued { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.status.approved { background: #fefce8; color: #a16207; border: 1px solid #fef08a; }

/* Split Screen */
.split-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #f8fafc;
    overflow-x: hidden;
}

.split-container {
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: 100vh;
    align-items: start;
}

.split-left {
    background: linear-gradient(135deg, #4f46e5 0%, #7e22ce 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 2.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}

.partner-gradient {
    background: linear-gradient(145deg, #064e3b 0%, #065f46 50%, #0d9488 100%) !important;
}

.admin-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

.brand-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
}

.brand-content h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.6rem;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.brand-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #f0fdf4;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0.9rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-list li {
    font-size: 0.88rem;
    line-height: 1.4;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #f0fdf4;
}

.feature-list .check {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-list .feature-text {
    flex: 1;
}

.feature-list .feature-text strong {
    color: #ffffff;
    font-weight: 700;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.shape-1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -80px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.03); }
    100% { transform: translateY(0) scale(1); }
}

.split-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2.5rem 1.5rem;
    background: #f8fafc;
    overflow-y: auto;
    min-height: 100vh;
}

.form-wrapper {
    width: 100%;
    max-width: 580px;
    background: #ffffff;
    padding: 2.25rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    margin: 0 auto;
}

.form-wrapper h2 {
    margin-top: 0;
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.compact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.compact-form .form-row .full,
.compact-form label.full {
    grid-column: 1 / -1;
}

.compact-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.75rem;
}

.compact-form input,
.compact-form select,
.compact-form textarea {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.92rem;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.15s ease;
}

.compact-form input:focus,
.compact-form select:focus,
.compact-form textarea:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

@media (max-width: 1024px) {
    .split-container {
        grid-template-columns: 1fr;
        min-height: 100vh;
    }
    .split-left {
        padding: 3rem 1.5rem;
        text-align: center;
        align-items: center;
    }
    .brand-content {
        max-width: 600px;
        margin: 0 auto;
    }
    .brand-content h1 {
        font-size: 2rem;
    }
    .feature-list {
        text-align: left;
        max-width: 480px;
        margin: 1.5rem auto;
    }
    .split-right {
        padding: 2rem 1rem;
        background: #f8fafc;
        min-height: auto;
    }
    .form-wrapper {
        padding: 1.75rem 1.25rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    }
    .compact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Layout & Topbar */
.topbar { position: sticky; top: 0; z-index: 100; background: #ffffff; border-bottom: 1px solid var(--border); height: 66px; display: flex; align-items: center; padding: 0 1.5rem; gap: 1rem; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.topbar.partner { border-top: 3px solid var(--partner); }
.topbar.partner .brand { color: var(--partner); }
.topbar .brand { font-weight: 800; font-size: 1.05rem; color: var(--text); display: flex; align-items: center; gap: .6rem; white-space: nowrap; text-decoration: none; }
.topbar nav { display: flex; align-items: center; gap: .3rem; flex: 1; margin-left: 1.25rem; }
.topbar nav a { color: var(--text-soft); font-size: .86rem; font-weight: 600; padding: .5rem .8rem; border-radius: 8px; transition: all var(--transition); white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.topbar nav a:hover { background: #f1f5f9; color: var(--text); }
.topbar nav a.active { background: #eef2ff; color: #4338ca; font-weight: 700; box-shadow: inset 0 0 0 1px #c7d2fe; }
.topbar .spacer { flex: 1; }
.topbar .menu-toggle { display: none; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); width: 40px; height: 40px; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; color: var(--text-soft); }
@media (max-width: 1024px) { 
    .topbar { height: 60px; padding: 0 1rem; } 
    .topbar .menu-toggle { display: flex; margin-left: auto; } 
    .topbar nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 1.25rem 1.25rem; flex-direction: column; align-items: stretch; gap: .4rem; margin-left: 0; box-shadow: var(--shadow-lg); max-height: calc(100vh - 65px); overflow-y: auto; } 
    .topbar.open nav { display: flex; } 
    .topbar nav a { padding: .75rem 1rem; font-size: .95rem; } 
    .topbar .spacer { display: none; } 
}
.container { max-width: 1260px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
@media (max-width: 768px) { .container { padding: 1.25rem 1rem 3rem; } }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }

/* Cards & Tables */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-xs); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-xs); }
.stat .label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; font-weight: 500; }
.stat .value { font-size: 1.55rem; font-weight: 700; margin-top: .3rem; }
.stat.highlight { background: var(--success-soft); border-color: var(--success); }
.stat.highlight .value { color: var(--success-text); }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); gap: .75rem; } .stat .value { font-size: 1.2rem; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: #fff; margin-bottom: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .85rem 1.15rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border-soft); }
th { background: #f8fafc; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #475569; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background 0.15s ease; }
tbody tr:hover { background: #f8fafc; }
@media (max-width: 768px) { table.data-cards { display: block; border: none; background: none; } table.data-cards thead { display: none; } table.data-cards tbody, table.data-cards tfoot { display: block; } table.data-cards tr { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: .75rem; box-shadow: var(--shadow-xs); } table.data-cards td { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .35rem 0; border: none; text-align: right; } table.data-cards td::before { content: attr(data-label); font-weight: 600; color: var(--text-muted); font-size: .78rem; text-transform: uppercase; text-align: left; flex-shrink: 0; padding-top: .15rem; } table.data-cards td:empty { display: none; } .table-wrap:has(table.data-cards) { border: none; overflow: visible; } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: .4rem 1rem; margin: 0; font-size: .92rem; }
.kv dt { color: var(--text-muted); font-weight: 500; }
.kv dd { margin: 0; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--text-muted); font-size: .9rem; }
/* ============================================================
   Pending Partner Applications Layout Fix
   ============================================================ */
.pending-list { display: grid; gap: 1rem; margin-bottom: 2rem; }

.pending-item {
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
    border: 1px solid #fde68a;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.pending-item h3 { 
    margin: 0 0 1rem; 
    font-size: 1.1rem; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

/* Fix the grid for Email, Phone, User ID */
.pending-item .pending-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.25rem;
}

.pending-item .pending-meta dt { 
    color: var(--text-muted); 
    font-weight: 600; 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.pending-item .pending-meta dd { 
    margin: 0; 
    font-weight: 500; 
    color: var(--text);
}

.pending-item .actions { 
    display: flex; 
    gap: .5rem; 
    flex-wrap: wrap; 
    margin-bottom: 1rem; 
}

/* Hide the Approve/Reject panels by default */
.pending-item .approve-panel, 
.pending-item .reject-panel { 
    display: none; 
}

/* Show them when JS adds the class */
.pending-item.show-approve .approve-panel { display: block; }
.pending-item.show-reject .reject-panel { display: block; }

/* Style the form that appears inside the Approve button */
.pending-item .approve-panel .form-grid,
.pending-item .reject-panel form {
    background: #fff;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-top: 1rem;
    box-shadow: var(--shadow-xs);
}

.pending-item .approve-panel label,
.pending-item .reject-panel label { 
    font-size: 0.85rem; 
    margin-bottom: 0.75rem; 
}

/* ============================================================
   PRM (Partner Relationship Management) Styles
   ============================================================ */
.partner-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.partner-avatar-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.milestones-section {
    margin-bottom: 2rem;
}

.milestones-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.milestone-card {
    background: #fff;
    border: 1px solid #fed7aa;
    border-left: 4px solid #f97316;
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition), box-shadow var(--transition);
}

.milestone-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.milestone-card.anniversary {
    border-color: #fbcfe8;
    border-left-color: #ec4899;
}

.milestone-card.birthday {
    border-color: #fef08a;
    border-left-color: #eab308;
}

.milestone-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.milestone-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.milestone-info {
    flex: 1;
    min-width: 0;
}

.milestone-person {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.milestone-rel {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.milestone-badge-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
}

.badge-days {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.badge-days.today {
    background: #ef4444;
    color: #fff;
    animation: pulse 1.5s infinite;
}

.badge-days.soon {
    background: #fef3c7;
    color: #92400e;
}

.badge-days.later {
    background: #f3f4f6;
    color: #4b5563;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.milestone-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-top: 1px dashed var(--border);
    padding-top: 0.6rem;
    margin-top: auto;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff !important;
    border-color: #25d366;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-whatsapp:hover {
    background: #1eb857;
}

/* PRM Profile Header & Cards */
.prm-header-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.prm-header-info {
    flex: 1;
    min-width: 250px;
}

.prm-header-info h1 {
    margin: 0 0 0.4rem;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.prm-header-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.prm-header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 800px) {
    .form-grid-3 {
        grid-template-columns: 1fr;
    }
}

.family-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-xs);
}

/* ============================================================
   PRO TOPBAR & MODERN DASHBOARD STYLES
   ============================================================ */
.brand-gem-mini {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
    flex-shrink: 0;
}

.tag-pro {
    font-size: 0.68rem;
    font-weight: 700;
    background: #e0e7ff;
    color: #4338ca;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 2px;
}

.badge-mini {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    line-height: 1;
    margin-left: 0.25rem;
}
.badge-mini.amber { background: #f59e0b; color: #fff; }
.badge-mini.danger { background: #ef4444; color: #fff; }
.badge-mini.festive { background: #ec4899; color: #fff; box-shadow: 0 0 8px rgba(236, 72, 153, 0.35); }

.user-chip-topbar {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #f1f5f9;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    color: #334155;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.pulse-dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}

.btn-logout-link {
    color: #dc2626 !important;
    background: #fef2f2 !important;
    border: 1px solid #fee2e2 !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.84rem !important;
}
.btn-logout-link:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

/* --- DASHBOARD HERO BANNER --- */
.dashboard-hero-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
    border-radius: 18px;
    color: #fff;
    padding: 2.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(49, 46, 129, 0.35);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.75rem;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #e0e7ff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0.5rem;
}

.hero-content h1 {
    font-size: 1.95rem;
    font-weight: 800;
    margin: 0.25rem 0 0.5rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 0.95rem;
    opacity: 0.92;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 1.35rem;
    color: #c7d2fe;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
}

.hero-btn.primary {
    background: #fff;
    color: #3730a3;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.hero-btn.primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
}
.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}

.art-stats-badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 1.35rem 1.6rem;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.art-badge-title {
    font-size: 0.74rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #e0e7ff;
}

.art-badge-val {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0.25rem 0;
    color: #fff;
}

.art-badge-sub {
    font-size: 0.72rem;
    color: #c7d2fe;
    display: block;
}

/* --- STATS GRID MODERN --- */
.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card-modern {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -4px rgba(0,0,0,0.07);
}

.stat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.stat-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: #f1f5f9;
}

.stat-trend {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}
.stat-trend.success { background: #dcfce7; color: #15803d; }
.stat-trend.warning { background: #fef3c7; color: #b45309; }
.stat-trend.neutral { background: #f1f5f9; color: #64748b; }
.stat-trend.glow { background: rgba(255,255,255,0.25); color: #fff; }

.stat-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-title {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-profit-hero {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #fff !important;
    border-color: #059669 !important;
    box-shadow: 0 10px 25px -4px rgba(5, 150, 105, 0.4) !important;
}
.stat-profit-hero .stat-val { color: #fff !important; font-size: 1.85rem !important; }
.stat-profit-hero .stat-title { color: rgba(255,255,255,0.85) !important; }
.stat-profit-hero .stat-icon-wrap { background: rgba(255,255,255,0.2) !important; }

/* Modern Card Styling */
.modern-card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.source-progress-list {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    margin-top: 1.25rem;
}

.source-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
}

.progress-track {
    background: #f1f5f9;
    border-radius: 999px;
    height: 9px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #6366f1 0%, #4f46e5 100%);
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s ease;
}

.dashboard-mini-celebrations {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}

.mini-event-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
}

.mini-event-icon { font-size: 1.35rem; }
.mini-event-info { flex: 1; font-size: 0.88rem; }
.mini-event-info small { display: block; font-size: 0.76rem; }

.quick-action-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.matrix-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.1rem 0.6rem;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.matrix-tile:hover {
    background: #fff;
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.15);
    color: #4f46e5;
}

.matrix-icon { font-size: 1.6rem; margin-bottom: 0.35rem; }
.matrix-title { font-weight: 700; font-size: 0.88rem; }

@media (max-width: 900px) {
    .dashboard-hero-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.75rem;
    }
    .hero-art {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ============================================================
   Enhanced Partner Registration & PRM Components
   ============================================================ */
.partner-badge-pill {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f0fdf4;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}

.form-section-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.form-section-head .step-num {
    width: 28px;
    height: 28px;
    background: #059669;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.form-section-head h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.interest-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.interest-pill-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0 !important;
}

.interest-pill-label input[type="checkbox"] {
    display: none;
}

.interest-pill-label span {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.15s ease-in-out;
    user-select: none;
}

.interest-pill-label input[type="checkbox"]:checked + span {
    background: #ecfdf5;
    border-color: #059669;
    color: #065f46;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15);
}

.interest-pill-label span:hover {
    border-color: #059669;
    color: #059669;
}

/* ============================================================
   Upgraded Partner Dashboard Styles
   ============================================================ */
.partner-hero-banner {
    background: linear-gradient(135deg, #065f46 0%, #0d9488 45%, #0284c7 100%);
    border-radius: 20px;
    padding: 2.25rem 2.25rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 12px 30px -8px rgba(13, 148, 136, 0.35);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.partner-hero-banner::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.partner-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.hero-tier-badge, .hero-rate-badge, .hero-code-badge {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
}

.hero-tier-badge {
    background: rgba(251, 191, 36, 0.25);
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fef08a;
}

.hero-rate-badge {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.hero-code-badge {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #e2e8f0;
    font-family: monospace;
}

.partner-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.partner-hero-subtitle {
    font-size: 1.02rem;
    color: #f0fdf4;
    line-height: 1.6;
    max-width: 820px;
    margin: 0 0 1.5rem;
}

.partner-ref-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 0.85rem 1.15rem;
}

.partner-ref-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 280px;
}

.partner-ref-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.partner-ref-input-wrap input {
    flex: 1;
    background: #ffffff;
    color: #0f172a;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: monospace;
    outline: none;
}

.btn-copy-ref {
    background: #ffffff;
    color: #065f46;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-copy-ref:hover {
    background: #f0fdf4;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.partner-quick-share-buttons {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.btn-share-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.15rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    transition: all 0.18s ease;
}

.btn-share-wa:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

.btn-share-cards {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #d97706;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.15rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
    transition: all 0.18s ease;
}

.btn-share-cards:hover {
    background: #b45309;
    transform: translateY(-2px);
    color: #ffffff;
}

/* ============================================================
   Vivid Large Stats Cards
   ============================================================ */
.partner-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.15rem;
    margin-bottom: 2.5rem;
}

.vivid-stat-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.25rem 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.vivid-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

.vivid-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.stat-blue::before { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.stat-emerald::before { background: linear-gradient(90deg, #10b981, #059669); }
.stat-purple::before { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.stat-amber::before { background: linear-gradient(90deg, #f59e0b, #d97706); }
.stat-green::before { background: linear-gradient(90deg, #16a34a, #10b981); }

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

.stat-blue .stat-icon-wrap { background: #eff6ff; }
.stat-emerald .stat-icon-wrap { background: #ecfdf5; }
.stat-purple .stat-icon-wrap { background: #faf5ff; }
.stat-amber .stat-icon-wrap { background: #fffbeb; }
.stat-green .stat-icon-wrap { background: #f0fdf4; }

.stat-num {
    font-size: 2.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin-top: 0.25rem;
}

.stat-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 0.15rem;
}

/* ============================================================
   Application / Services Showcase Section
   ============================================================ */
.showcase-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.section-title-wrap {
    margin-bottom: 1.75rem;
}

.section-pill {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.section-title-wrap h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 0.98rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 820px;
    margin: 0;
}

.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.service-showcase-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.card-top-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.card-corp .card-top-icon { background: #e0e7ff; }
.card-tax .card-top-icon { background: #dcfce7; }
.card-ip .card-top-icon { background: #fef3c7; }
.card-nri .card-top-icon { background: #e0f2fe; }
.card-tech .card-top-icon { background: #fae8ff; }

.service-tier-tag {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
}

.card-corp .service-tier-tag { background: #e0e7ff; color: #3730a3; }
.card-tax .service-tier-tag { background: #dcfce7; color: #166534; }
.card-ip .service-tier-tag { background: #fef3c7; color: #92400e; }
.card-nri .service-tier-tag { background: #e0f2fe; color: #075985; }
.card-tech .service-tier-tag { background: #fae8ff; color: #86198f; }

.service-showcase-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.service-showcase-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 1rem;
    flex: 1;
}

.service-feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.service-feature-bullets li {
    font-size: 0.82rem;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.service-footer-badge {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #059669;
    text-align: center;
}

/* ============================================================
   4-Step Workflow Section
   ============================================================ */
.workflow-section {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}

.workflow-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.workflow-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.workflow-step-card:hover {
    border-color: #059669;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px -4px rgba(5, 150, 105, 0.12);
}

.step-badge {
    display: inline-block;
    background: #059669;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.step-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.workflow-step-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.45rem;
}

.workflow-step-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .partner-hero-title {
        font-size: 1.75rem;
    }
    .partner-hero-banner {
        padding: 1.5rem;
    }
    .partner-ref-strip {
        flex-direction: column;
        align-items: stretch;
    }
    .partner-ref-input-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .partner-quick-share-buttons {
        width: 100%;
        justify-content: stretch;
    }
    .btn-share-wa, .btn-share-cards {
        flex: 1;
        justify-content: center;
    }
}



