
.business-banner {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border-color: rgba(48,209,88,0.25) !important;
    background: rgba(48,209,88,0.06) !important;
    animation: fadeUp 0.4s ease both;
}
.business-banner-icon {
    width: 38px; height: 38px; flex-shrink: 0;
    border-radius: 10px;
    background: rgba(48,209,88,0.12);
    border: 1px solid rgba(48,209,88,0.25);
    display: flex; align-items: center; justify-content: center;
    color: var(--green);
}
.business-banner-text {
    display: flex; flex-direction: column; gap: 2px;
    flex: 1;
}
.business-banner-title {
    font-size: 0.875rem; font-weight: 600;
    color: var(--text-primary);
}
.business-banner-sub {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}
.business-banner-chip {
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(48,209,88,0.15);
    color: var(--green);
    border: 1px solid rgba(48,209,88,0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.badge-business {
    background: rgba(48,209,88,0.12);
    color: var(--green);
    border: 1px solid rgba(48,209,88,0.25);
}

.nav-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dash-main {
    min-height: 100svh;
    padding: 100px 24px 80px;
    max-width: 860px;
    margin: 0 auto;
    position: relative; z-index: 2;
}

.navbar.scrolled { top: 0; }
.navbar.scrolled .nav-pill {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-border-bright);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

.btn-nav-cta.danger {
    background: rgba(255,69,58,0.15);
    color: #FF453A;
    border: 1px solid rgba(255,69,58,0.25);
}
.btn-nav-cta.danger:hover {
    background: rgba(255,69,58,0.25);
    opacity: 1;
}

.nav-user-chip {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 12px 5px 6px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem; font-weight: 500;
    color: var(--text-secondary);
}
.nav-avatar {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--blue-dim);
    border: 1px solid rgba(10,132,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700;
    color: var(--blue);
}

.dash-loading {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 60vh;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.loading-ring {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.08);
    border-top-color: var(--blue);
    animation: spin 0.8s linear infinite;
}

.dash-empty {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center;
    gap: 16px; min-height: 60vh;
}
.empty-icon { font-size: 3rem; }
.dash-empty h2 { font-size: 1.4rem; font-weight: 600; }
.dash-empty p { color: var(--text-secondary); font-size: 0.9rem; }

.profile-hero {
    display: flex; align-items: center; gap: 24px;
    margin-bottom: 32px;
    animation: fadeUp 0.5s ease both;
}

.profile-avatar-wrap {
    position: relative; flex-shrink: 0;
}

.profile-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(10,132,255,0.25), rgba(94,10,220,0.2));
    border: 2px solid rgba(10,132,255,0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700;
    color: var(--blue);
    letter-spacing: -0.02em;
    box-shadow: 0 0 32px rgba(10,132,255,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}

.profile-status-dot {
    position: absolute; bottom: 3px; right: 3px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--green);
    border: 2px solid var(--bg);
    box-shadow: 0 0 8px var(--green);
}

.profile-meta { flex: 1; }
.profile-name {
    font-size: 1.8rem; font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.profile-phone {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-family: 'SF Mono', monospace;
    margin-bottom: 10px;
}

.profile-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.profile-badge {
    font-size: 0.7rem; font-weight: 600;
    padding: 3px 10px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-user {
    background: var(--blue-dim);
    color: var(--blue);
    border: 1px solid rgba(10,132,255,0.25);
}
.badge-ig {
    background: rgba(193,53,132,0.12);
    color: #c13584;
    border: 1px solid rgba(193,53,132,0.25);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    animation: fadeUp 0.5s ease 0.08s both;
}

.stat-tile {
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
}
.stat-tile-val {
    display: block;
    font-size: 1.5rem; font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.stat-tile-lbl {
    display: block;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase; letter-spacing: 0.07em;
}

.xp-card {
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 60px;
    animation: fadeUp 0.5s ease 0.12s both;
}
.xp-header {
    display: flex; justify-content: space-between;
    margin-bottom: 12px;
}
.xp-label { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.xp-value { font-size: 0.8rem; color: var(--text-tertiary); font-family: 'SF Mono', monospace; }
.xp-track {
    height: 6px; border-radius: 3px;
    background: rgba(255,255,255,0.07);
    overflow: hidden;
    margin-bottom: 8px;
}
.xp-fill {
    height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, var(--blue), #5e8fff);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(10,132,255,0.5);
}
.xp-footer {
    display: flex; justify-content: space-between;
    font-size: 0.75rem; color: var(--text-tertiary);
}

.edit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.edit-card {
    border-radius: var(--radius-lg);
    padding: 22px;
    transition: border-color 0.2s;
    animation: fadeUp 0.5s ease both;
}
.edit-card:focus-within {
    border-color: rgba(10,132,255,0.4);
}

.edit-card-header {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 16px;
}
.edit-icon-wrap {
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    margin-top: 2px;
}
.edit-card-header > div:nth-child(2) { flex: 1; }
.edit-card-header h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.edit-card-header p { font-size: 0.75rem; color: var(--text-tertiary); }

.edit-saved-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    flex-shrink: 0; margin-top: 4px;
    animation: fadeIn 0.3s ease both;
}
@keyframes fadeIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

.edit-input-row {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 12px;
}
.edit-input-row:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(10,132,255,0.15);
}
.input-prefix {
    padding: 0 12px;
    color: var(--text-tertiary);
    font-size: 1rem;
    font-family: 'SF Mono', monospace;
    border-right: 1px solid var(--glass-border);
    height: 100%;
    display: flex; align-items: center;
    background: rgba(255,255,255,0.03);
    align-self: stretch;
}

.dash-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.9rem;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.edit-input-row .dash-input {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 12px 14px;
    flex: 1;
}
.dash-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(10,132,255,0.15);
}
.dash-textarea {
    resize: vertical; min-height: 80px;
    margin-bottom: 12px;
    line-height: 1.5;
}
.dash-date {
    margin-bottom: 12px;
    color-scheme: dark;
}
.dash-input::placeholder { color: rgba(255,255,255,0.2); }

.gender-pills {
    display: flex; gap: 8px;
    margin-bottom: 14px;
}
.gender-pill {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.82rem; font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.gender-pill:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
.gender-pill.active {
    background: var(--blue-dim);
    border-color: rgba(10,132,255,0.4);
    color: var(--blue);
}
.gender-symbol { font-size: 1rem; }

.edit-actions {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px;
}
.char-count, .bday-age {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-variant-numeric: tabular-nums;
}
.ig-preview-link {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.75rem; color: var(--blue);
    text-decoration: none;
    transition: opacity 0.2s;
}
.ig-preview-link:hover { opacity: 0.7; }

.btn-save {
    background: rgba(10,132,255,0.15);
    color: var(--blue);
    border: 1px solid rgba(10,132,255,0.3);
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.8rem; font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-save:hover { background: rgba(10,132,255,0.25); }
.btn-save:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-save.saving { opacity: 0.6; }
.btn-save.saved {
    background: rgba(48,209,88,0.12);
    color: var(--green);
    border-color: rgba(48,209,88,0.3);
}

.danger-zone {
    border-radius: var(--radius-lg);
    padding: 24px;
    border-color: rgba(255,69,58,0.2) !important;
    background: rgba(255,69,58,0.04) !important;
    margin-bottom: 40px;
    animation: fadeUp 0.5s ease both;
}
.danger-header {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; font-weight: 600;
    color: #FF453A;
    margin-bottom: 10px;
}
.danger-zone p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 16px;
}
.btn-danger {
    background: rgba(255,69,58,0.12);
    color: #FF453A;
    border: 1px solid rgba(255,69,58,0.3);
    padding: 9px 20px;
    border-radius: 20px;
    font-size: 0.85rem; font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-danger:hover { background: rgba(255,69,58,0.22); }

@media (max-width: 680px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .edit-grid { grid-template-columns: 1fr; }
    .profile-hero { flex-direction: column; text-align: center; }
    .profile-badges { justify-content: center; }
    .business-banner { flex-wrap: wrap; }
    .business-banner-chip { margin-left: auto; }
}
@media (max-width: 420px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .gender-pills { flex-direction: column; }
}