/* ═══════════════════════════════════════════
   PROFILE PAGE — Premium Settings UI
   ═══════════════════════════════════════════ */

.pf-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
    font-family: var(--font-body, 'Poppins', sans-serif);
}

.pf-desktop-layout {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pf-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    position: sticky;
    top: 1.25rem;
}

.pf-main {
    min-width: 0;
}

/* ─── Profile navigation ─── */
.pf-sidebar-nav {
    padding: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    background: var(--color-surface-container-lowest, #fff);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.pf-sidebar-nav__label {
    padding: 0.45rem 0.7rem 0.55rem;
    color: var(--color-on-surface-variant, #64748b);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pf-sidebar-nav__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 44px;
    padding: 0.65rem 0.7rem;
    border-radius: 10px;
    color: var(--color-on-surface-variant, #475569);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    border: 0;
    width: 100%;
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.pf-sidebar-nav__item i:first-child {
    width: 18px;
    color: #0d80ff;
    font-size: 0.92rem;
    text-align: center;
}
.pf-sidebar-nav__item i:last-child {
    margin-left: auto;
    color: #94a3b8;
    font-size: 0.7rem;
}
.pf-sidebar-nav__item:hover,
.pf-sidebar-nav__item:focus-visible,
.pf-sidebar-nav__item--active {
    color: #0568d8;
    background: rgba(13, 128, 255, 0.08);
    outline: none;
}
.pf-sidebar-nav__item:hover { transform: translateX(2px); }

/* ─── Loading / Error ─── */
.pf-loading {
    display: flex;
    justify-content: center;
    padding: 5rem 0;
}
.pf-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 2rem;
    color: var(--color-on-surface-variant, #6b7280);
    font-size: 0.85rem;
}
.pf-error i { font-size: 2rem; margin-bottom: 0.75rem; opacity: 0.4; }
.pf-empty-text { font-size: 0.82rem; color: var(--color-on-surface-variant, #6b7280); margin: 0; }

/* ═══ HERO CARD ═══ */
.pf-hero {
    position: relative;
    z-index: 20;
    background: var(--color-surface-container-lowest, #fff);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 18px;
    overflow: visible;
    margin-bottom: 0;
}
.pf-hero__bg {
    height: 80px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(139,92,246,0.1));
}
.pf-hero__content {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 0 1.25rem 1.15rem;
    margin-top: -36px;
}
.pf-hero__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.pf-hero__avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    border: 3px solid var(--color-surface-container-lowest, #fff);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    overflow: hidden;
}
.pf-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pf-hero__avatar-edit {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #3b82f6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    cursor: pointer;
    border: 2px solid var(--color-surface-container-lowest, #fff);
    transition: all 0.15s ease;
}
.pf-hero__avatar-edit:hover { background: #2563eb; transform: scale(1.08); }
.pf-hero__info {
    flex: 1;
    min-width: 0;
    padding-bottom: 2px;
}
.pf-hero__name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-on-surface, #1f2937);
    letter-spacing: -0.02em;
}
.pf-hero__professions {
    position: relative;
    z-index: 90;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.32rem;
    max-width: 100%;
    margin-top: 0.28rem;
    overflow: visible;
    white-space: nowrap;
}
.pf-hero__profession-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    max-width: 118px;
    height: 32px;
    min-height: 32px;
    padding: 0 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(59,130,246,0.14);
    border-radius: 999px;
    background: rgba(59,130,246,0.075);
    color: #2563eb;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    vertical-align: middle;
}
.pf-hero__profession-more-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    flex-shrink: 0;
    height: 32px;
}
.pf-hero__profession-chip--more {
    width: auto;
    min-width: 44px;
    appearance: none;
    -webkit-appearance: none;
    border-style: solid;
    flex-shrink: 0;
    max-width: none;
    margin: 0;
    border-color: rgba(59,130,246,0.22);
    background: rgba(59,130,246,0.11);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.pf-hero__profession-chip--more:hover,
.pf-hero__profession-chip--more:focus-visible {
    border-color: rgba(59,130,246,0.34);
    background: rgba(59,130,246,0.16);
    color: #1d4ed8;
    outline: none;
}
.pf-profession-popover {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 120;
    width: min(440px, calc(100vw - 40px));
    overflow: hidden;
    border: 1px solid rgba(226,232,240,0.9);
    border-radius: 16px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 18px 44px rgba(15,23,42,0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    animation: pf-popover-in 0.14s ease;
}
.pf-profession-popover__head {
    display: grid;
    gap: 0.12rem;
    padding: 0.72rem 0.82rem 0.58rem;
    border-bottom: 1px solid rgba(226,232,240,0.72);
}
.pf-profession-popover__head strong {
    color: var(--color-on-surface, #1f2937);
    font-size: 0.78rem;
    font-weight: 900;
}
.pf-profession-popover__head span {
    color: var(--color-on-surface-variant, #6b7280);
    font-size: 0.66rem;
    font-weight: 750;
}
.pf-profession-popover__list {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.36rem;
    height: 206px;
    max-height: min(206px, calc(100vh - 420px));
    min-height: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(59,130,246,0.35) transparent;
    padding: 0.56rem 0.64rem 0.56rem 0.56rem;
}
.pf-profession-popover__list::-webkit-scrollbar {
    width: 6px;
}
.pf-profession-popover__list::-webkit-scrollbar-track {
    background: transparent;
}
.pf-profession-popover__list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(59,130,246,0.35);
}
.pf-profession-popover__list span {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 26px;
    padding: 0 0.58rem;
    overflow: hidden;
    border: 1px solid rgba(59,130,246,0.14);
    border-radius: 999px;
    background: rgba(59,130,246,0.065);
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pf-profession-popover__list span:hover {
    background: rgba(59,130,246,0.11);
}
.pf-profession-popover-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    border: 0;
    background: transparent;
    cursor: default;
}
@keyframes pf-popover-in {
    from { opacity: 0; transform: translateY(-4px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.pf-hero__plan {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #3b82f6;
    background: rgba(59,130,246,0.08);
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 0.2rem;
}
.pf-hero__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}
.pf-hero__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-on-surface, #1f2937);
}
.pf-hero__rating > i {
    color: #f59e0b;
    font-size: 0.84rem;
}
.pf-hero__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--color-on-surface-variant, #6b7280);
}
.pf-hero__location i { font-size: 0.75rem; }
.pf-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #059669;
    background: rgba(16,185,129,0.08);
    padding: 2px 8px;
    border-radius: 20px;
}

/* ═══ STATS ═══ */
.pf-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}
.pf-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.5rem;
    background: var(--color-surface-container-lowest, #fff);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    transition: all 0.2s ease;
}
.pf-stat-card:hover {
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.pf-stat-card__value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-on-surface, #1f2937);
    line-height: 1.1;
}
.pf-stat-card__label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-on-surface-variant, #6b7280);
    opacity: 0.7;
}

/* ═══ VERIFICATION ═══ */
.pf-verification {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}
.pf-verification__locked {
    display: grid;
    gap: 0.65rem;
    padding: 0.75rem;
    border: 1px solid rgba(59,130,246,0.12);
    border-radius: 14px;
    background: rgba(59,130,246,0.05);
}
.pf-verification__locked p {
    margin: 0;
    color: var(--color-on-surface-variant, #6b7280);
    font-size: 0.72rem;
    line-height: 1.4;
}
.pf-verification__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
    font-size: 0.68rem;
}
.pf-verification__meta span {
    color: #3b82f6;
    font-weight: 800;
}
.pf-verification__meta strong {
    color: var(--color-on-surface, #1f2937);
    font-weight: 850;
    text-align: right;
}
.pf-verification__progress {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148,163,184,0.18);
    margin-bottom: 0.65rem;
}
.pf-verification__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0d80ff, #38bdf8);
    transition: width 0.2s ease;
}
.pf-verification__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.34rem;
}
.pf-verification__item {
    display: flex;
    align-items: flex-start;
    gap: 0.42rem;
    min-height: 42px;
    padding: 0.46rem 0.52rem;
    border: 1px solid rgba(148,163,184,0.16);
    border-radius: 12px;
    background: rgba(148,163,184,0.055);
}
.pf-verification__item i {
    margin-top: 0.08rem;
    font-size: 0.78rem;
    flex-shrink: 0;
}
.pf-verification__item strong,
.pf-verification__item span {
    display: block;
}
.pf-verification__item strong {
    color: var(--color-on-surface, #1f2937);
    font-size: 0.68rem;
    font-weight: 850;
}
.pf-verification__item span {
    margin-top: 0.06rem;
    color: var(--color-on-surface-variant, #6b7280);
    font-size: 0.61rem;
    line-height: 1.3;
}
.pf-verification__item.is-ok i {
    color: #10b981;
}
.pf-verification__item.is-pending i {
    color: var(--color-on-surface-variant, #9ca3af);
    opacity: 0.58;
}

/* ═══ SECTIONS ═══ */
.pf-section {
    background: var(--color-surface-container-lowest, #fff);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 1.2rem;
    margin-bottom: 0.9rem;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.035);
    scroll-margin-top: 1.25rem;
}

.pf-sidebar .pf-section {
    margin-bottom: 0;
}
.pf-section__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}
.pf-section__title-wrap {
    flex: 1;
    min-width: 0;
}
.pf-section__head--clickable {
    cursor: pointer;
    user-select: none;
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    margin: -0.35rem -0.5rem 0.75rem;
    transition: background-color 0.15s ease, margin-bottom 0.2s ease;
}
.pf-section__head--clickable:hover {
    background: rgba(0, 0, 0, 0.025);
}
.pf-section__head--clickable:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}
.pf-section__head--collapsed {
    margin-bottom: -0.35rem !important;
}
.pf-main .pf-section__head--collapsed {
    margin-bottom: -0.35rem !important;
}
.pf-section__toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: auto;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.025);
    color: var(--color-on-surface-variant, #6b7280);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.pf-section__head--clickable:hover .pf-section__toggle-btn {
    background: rgba(59, 130, 246, 0.09);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.25);
}
.pf-section__chevron {
    font-size: 0.85rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    transform: rotate(0deg);
}
.pf-section__chevron--collapsed {
    transform: rotate(-180deg);
}
.pf-section__body {
    transition: opacity 0.2s ease;
}
.pf-section__body--collapsed {
    display: none !important;
}

.pf-section--locations .pf-prof-grid {
    margin-bottom: 0.85rem;
}
.pf-section--inactive {
    display: none !important;
}

/* No Web, a sidebar já separa as telas do perfil. A seção ativa permanece aberta. */
.pf-main .pf-section__toggle-btn {
    display: none;
}
.pf-main .pf-section__head--clickable {
    cursor: default;
    user-select: text;
}
.pf-main .pf-section__head--clickable:hover {
    background: transparent;
}
.pf-main .pf-section__body--collapsed {
    display: block !important;
}

/* ═══ TOOLBAR ═══ */
.pf-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.85rem;
}
.pf-toolbar__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.pf-toolbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--color-on-surface-variant, #4b5563);
    background: var(--color-surface-container-lowest, #fff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.15s ease;
}
.pf-toolbar__btn:hover {
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.04);
}
.pf-toolbar__btn i {
    font-size: 0.82rem;
}
.pf-section__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(59,130,246,0.08);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.pf-section__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--color-on-surface, #1f2937);
}
.pf-section__desc {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    color: var(--color-on-surface-variant, #6b7280);
    opacity: 0.7;
}
.pf-section__subtitle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-on-surface-variant, #6b7280);
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pf-section__subtitle i { font-size: 0.78rem; opacity: 0.6; }
.pf-section--pref { padding: 0.5rem; }

/* ═══ FORM INPUTS ═══ */
.pf-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}
.pf-field--full { grid-column: 1 / -1; }
.pf-field--wide { grid-column: 1 / -1; }
.pf-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-on-surface-variant, #374151);
    margin-bottom: 0.3rem;
}
.pf-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
    color: var(--color-on-surface, #1f2937);
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    transition: all 0.15s ease;
    outline: none;
    box-sizing: border-box;
}
.pf-input--textarea {
    height: auto;
    padding: 10px 12px;
    resize: vertical;
    min-height: 72px;
}
.pf-input:focus {
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.06);
}

/* ─── Business Hours Editor ─── */
.pf-hours {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.pf-hours-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.65rem;
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    transition: opacity 0.15s ease, background 0.15s ease;
}
.pf-hours-row--closed {
    opacity: 0.45;
    background: rgba(0,0,0,0.015);
}
.pf-hours-day {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-on-surface, #1f2937);
}
.pf-hours-closed-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-on-surface-variant, #6b7280);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}
.pf-hours-closed-label input {
    accent-color: #3b82f6;
    cursor: pointer;
}
.pf-hours-time {
    height: 34px;
    padding: 0 8px;
    font-size: 0.78rem;
}
.pf-hours-dash {
    color: var(--color-on-surface-variant, #9ca3af);
    font-weight: 600;
}
@media (min-width: 992px) {
    .pf-main .pf-hours-row {
        gap: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
}
@media (max-width: 480px) {
    .pf-hours-row {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-areas: "day day day" "open dash close";
        row-gap: 0.4rem;
    }
    .pf-hours-row .pf-hours-day { grid-area: day; }
    .pf-hours-row .pf-hours-closed-label { grid-area: day; margin-left: auto; }
    .pf-hours-row .pf-hours-time:first-of-type { grid-area: open; }
    .pf-hours-row .pf-hours-dash { grid-area: dash; }
    .pf-hours-row .pf-hours-time:last-of-type { grid-area: close; }
}
[data-theme="dark"] .pf-hours-row {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .pf-hours-row--closed {
    background: rgba(255,255,255,0.015);
}

/* ─── Bio Counter ─── */
.pf-bio-wrap { position: relative; }
.pf-bio-counter {
    display: block;
    text-align: right;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--color-on-surface-variant, #9ca3af);
    margin-top: 0.25rem;
}

/* ─── Address Actions ─── */
.pf-address-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.pf-field-grid--address {
    grid-template-columns: 1fr 1.5fr 2.2fr 0.72fr;
}
@media (min-width: 992px) {
    .pf-main .pf-section {
        padding: 1.15rem;
        border-radius: 18px;
    }

    .pf-main .pf-section__head {
        margin-bottom: 1rem;
    }

    .pf-main .pf-section__title {
        font-size: 0.98rem;
    }

    .pf-main .pf-section__desc {
        font-size: 0.74rem;
    }

    .pf-main .pf-field-grid {
        gap: 0.8rem;
    }

    .pf-main .pf-field-grid--address {
        grid-template-columns: 1fr 1.55fr 2.3fr 0.72fr;
    }

    .pf-address-field--cep { grid-column: span 1; }
    .pf-address-field--neighborhood { grid-column: span 3; }
    .pf-address-field--street { grid-column: span 3; }
    .pf-address-field--number { grid-column: span 1; }
    .pf-address-field--city { grid-column: span 2; }
    .pf-address-field--state { grid-column: span 1; }
    .pf-address-field--country { grid-column: span 1; }

    .pf-main .pf-input {
        height: 42px;
    }

    .pf-main .pf-input--textarea {
        min-height: 86px;
    }

    .pf-main .pf-prof-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        max-height: 360px;
    }
}
@media (max-width: 991.98px) {
    .pf-page {
        max-width: 720px;
        padding-inline: 1rem;
    }

    .pf-desktop-layout {
        display: block;
    }

    .pf-sidebar {
        position: static;
        display: block;
    }

    .pf-sidebar-nav {
        display: flex;
        gap: 0.35rem;
        overflow-x: auto;
        padding: 0.45rem;
        scrollbar-width: none;
    }
    .pf-sidebar-nav::-webkit-scrollbar { display: none; }
    .pf-sidebar-nav__label { display: none; }
    .pf-sidebar-nav__item {
        flex: 0 0 auto;
        min-height: 40px;
        white-space: nowrap;
    }
    .pf-sidebar-nav__item i:last-child { display: none; }

    .pf-hero,
    .pf-stats,
    .pf-verification {
        margin-bottom: 0.75rem;
    }
}
@media (max-width: 575.98px) {
    .pf-page {
        max-width: 680px;
        padding: 1.5rem 1rem 6rem;
    }

    .pf-field-grid--address { grid-template-columns: 1fr 1fr; }
    .pf-address-field--neighborhood,
    .pf-address-field--street,
    .pf-address-field--city,
    .pf-address-field--country {
        grid-column: 1 / -1;
    }

    .pf-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .pf-save-btn,
    .pf-cancel-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ═══ BUTTONS ═══ */
.pf-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 34px;
    padding: 0 14px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.pf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.pf-btn--outline {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--color-on-surface-variant, #374151);
}
.pf-btn--outline:hover {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.15);
}
.pf-btn--primary {
    justify-content: center;
    width: fit-content;
    background: #0d80ff;
    border: 1px solid #0d80ff;
    color: #fff;
    box-shadow: 0 6px 16px rgba(13,128,255,0.2);
}
.pf-btn--primary:hover {
    background: #006ee6;
    border-color: #006ee6;
    color: #fff;
}
.pf-btn--primary:hover *,
.pf-btn--primary:focus *,
.pf-btn--primary:focus-visible * { color: #fff !important; }

/* ═══ CHIPS ═══ */
.pf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.pf-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 34px;
    padding: 0 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-on-surface-variant, #6b7280);
    background: rgba(0,0,0,0.02);
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.18s ease;
}
.pf-chip:hover {
    border-color: rgba(59,130,246,0.3);
    background: rgba(59,130,246,0.04);
}
.pf-chip--active {
    background: rgba(59,130,246,0.08);
    border-color: rgba(59,130,246,0.35);
    color: #3b82f6;
    font-weight: 700;
}
.pf-chip--active:hover {
    background: rgba(59,130,246,0.12);
}
.pf-chip i { font-size: 0.82rem; }
.pf-chip--disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pf-profession-count {
    font-size: 0.82rem;
    font-weight: 600;
    color: #3b82f6;
}
.pf-profession-limit-msg {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: #d97706;
    background: rgba(217,119,6,0.06);
    border: 1px solid rgba(217,119,6,0.15);
    border-radius: 8px;
}

/* ═══ VISIBILITY ═══ */
.pf-visibility-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pf-visibility-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    background: rgba(0,0,0,0.015);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 10px;
    transition: all 0.15s ease;
}
.pf-visibility-card:hover {
    background: rgba(0,0,0,0.025);
    border-color: rgba(0,0,0,0.06);
}
.pf-visibility-card__info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}
.pf-visibility-card__info > i {
    font-size: 0.9rem;
    color: #3b82f6;
    flex-shrink: 0;
    opacity: 0.7;
}
.pf-visibility-card__info strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-on-surface, #1f2937);
}
.pf-visibility-card__info span {
    display: block;
    font-size: 0.65rem;
    color: var(--color-on-surface-variant, #6b7280);
    opacity: 0.7;
}

/* ═══ TOGGLE ═══ */
.pf-toggle {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    flex-shrink: 0;
}
.pf-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.pf-toggle__track {
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    position: relative;
}
.pf-toggle__knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}
.pf-toggle input:checked + .pf-toggle__track {
    background: #3b82f6;
}
.pf-toggle input:checked + .pf-toggle__track .pf-toggle__knob {
    transform: translateX(18px);
}

/* ═══ PREFERENCES ═══ */
.pf-pref-list {
    display: flex;
    flex-direction: column;
}
.pf-pref-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-on-surface, #1f2937);
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    width: 100%;
    text-align: left;
}
.pf-pref-item:hover {
    background: rgba(0,0,0,0.03);
}
.pf-pref-item > i:first-child {
    font-size: 1rem;
    color: var(--color-on-surface-variant, #6b7280);
    width: 20px;
    text-align: center;
}
.pf-pref-item span { flex: 1; }
.pf-pref-item > i:last-child {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant, #9ca3af);
}
.pf-pref-item--danger { color: #ef4444; }
.pf-pref-item--danger > i:first-child { color: #ef4444; }
.pf-pref-badge {
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    background: #ef4444;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* ═══ SAVE ACTIONS ═══ */
.pf-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.25rem;
    padding: 1rem;
    background: var(--color-surface-container-lowest, #fff);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 18px;
}
.pf-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 24px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: #3b82f6;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 2px 8px rgba(59,130,246,0.25);
}
.pf-save-btn:hover { background: #2563eb; color: #fff; box-shadow: 0 4px 12px rgba(59,130,246,0.3); }
.pf-save-btn:hover *,
.pf-save-btn:focus *,
.pf-save-btn:focus-visible * { color: #fff !important; }
.pf-save-btn:active { transform: scale(0.97); }
.pf-save-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.pf-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    background: transparent;
    color: var(--color-on-surface-variant, #6b7280);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.18s ease;
}
.pf-cancel-btn:hover {
    background: rgba(0,0,0,0.03);
    color: var(--color-on-surface, #1f2937);
}
.pf-cancel-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══ DARK MODE ═══ */
[data-theme="dark"] .pf-hero { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .pf-hero__avatar { border-color: rgba(30,30,30,1); }
[data-theme="dark"] .pf-hero__avatar-edit { border-color: rgba(30,30,30,1); }
[data-theme="dark"] .pf-stat-card { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .pf-section { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .pf-section__head--clickable:hover { background: rgba(255,255,255,0.035); }
[data-theme="dark"] .pf-section__toggle-btn { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
[data-theme="dark"] .pf-section__head--clickable:hover .pf-section__toggle-btn { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.35); color: #93c5fd; }
[data-theme="dark"] .pf-toolbar__btn { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); }
[data-theme="dark"] .pf-toolbar__btn:hover { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); color: #93c5fd; }
[data-theme="dark"] .pf-input { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
[data-theme="dark"] .pf-chip { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
[data-theme="dark"] .pf-chip:hover { border-color: rgba(59,130,246,0.3); }
[data-theme="dark"] .pf-chip--active { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.35); }
[data-theme="dark"] .pf-visibility-card { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .pf-toggle__track { background: rgba(255,255,255,0.15); }
[data-theme="dark"] .pf-pref-item:hover { background: rgba(255,255,255,0.04); }
[data-theme="dark"] .pf-pref-item > i:first-child { color: rgba(255,255,255,0.5); }
[data-theme="dark"] .pf-form-actions { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .pf-cancel-btn { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.62); }
[data-theme="dark"] .pf-cancel-btn:hover { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.82); }
[data-theme="dark"] .pf-btn--outline { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
[data-theme="dark"] .pf-verification__locked { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.18); }
[data-theme="dark"] .pf-verification__item { background: rgba(255,255,255,0.035); border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .pf-verification__progress { background: rgba(255,255,255,0.08); }
[data-theme="dark"] .pf-hero__profession-chip { background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.18); color: #93c5fd; }
[data-theme="dark"] .pf-hero__profession-chip--more { background: rgba(96,165,250,0.16); border-color: rgba(96,165,250,0.26); }
[data-theme="dark"] .pf-hero__profession-chip--more:hover,
[data-theme="dark"] .pf-hero__profession-chip--more:focus-visible { background: rgba(96,165,250,0.22); border-color: rgba(96,165,250,0.36); color: #bfdbfe; }
[data-theme="dark"] .pf-profession-popover { background: rgba(18,18,18,0.98); border-color: rgba(255,255,255,0.08); box-shadow: 0 18px 44px rgba(0,0,0,0.38); }
[data-theme="dark"] .pf-profession-popover__head { border-bottom-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .pf-profession-popover__head strong { color: rgba(255,255,255,0.86); }
[data-theme="dark"] .pf-profession-popover__head span { color: rgba(255,255,255,0.52); }
[data-theme="dark"] .pf-profession-popover__list { scrollbar-color: rgba(96,165,250,0.45) transparent; }
[data-theme="dark"] .pf-profession-popover__list::-webkit-scrollbar-thumb { background: rgba(96,165,250,0.45); }
[data-theme="dark"] .pf-profession-popover__list span { background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.18); color: #93c5fd; }
[data-theme="dark"] .pf-profession-popover__list span:hover { background: rgba(96,165,250,0.18); }
[data-theme="dark"] .pf-profession-count { color: #60a5fa; }
[data-theme="dark"] .pf-profession-limit-msg { background: rgba(217,119,6,0.1); border-color: rgba(217,119,6,0.2); }

/* ═══════════════════════════════════════════
   PROFESSION SELECTOR — New Design
   ═══════════════════════════════════════════ */

/* Selected professions */
.pf-prof-selected {
  margin-bottom: 0.6rem;
}

.pf-prof-selected__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary, #3b82f6);
  margin-bottom: 0.4rem;
}

.pf-prof-selected__label i { font-size: 0.8rem; }

.pf-prof-selected__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pf-prof-selected__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.35rem 0.25rem 0.6rem;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #2563eb;
  line-height: 1;
  max-width: 100%;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-prof-selected__chip:hover {
  background: rgba(59,130,246,0.14);
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59,130,246,0.15);
}

.pf-prof-selected__chip span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-prof-selected__remove {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border-radius: 50%;
  border: none;
  background: rgba(59,130,246,0.12);
  color: #2563eb;
  cursor: pointer;
  font-size: 0.55rem;
  padding: 0;
  line-height: 1;
  transition: all 0.15s ease;
}

.pf-prof-selected__remove:hover {
  background: #ef4444;
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* Limit message */
.pf-prof-limit-msg {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #d97706;
  margin-bottom: 0.8rem;
}

.pf-prof-limit-msg i { font-size: 0.85rem; }

/* Search */
.pf-prof-search {
  position: relative;
  margin-bottom: 0.6rem;
}

.pf-prof-search > i:first-child {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--color-on-surface-variant, #94a3b8);
  pointer-events: none;
}

.pf-prof-search input {
  width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 2.2rem;
  border: 1.5px solid var(--color-outline-variant, rgba(0,0,0,0.1));
  border-radius: 10px;
  font-size: 0.82rem;
  font-family: var(--font-body);
  color: var(--color-on-surface, #1e293b);
  background: var(--color-surface, #fff);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.pf-prof-search input:focus {
  outline: none;
  border-color: var(--color-primary, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.pf-prof-search__clear {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  border: none;
  background: rgba(59,130,246,0.12);
  color: #2563eb;
  cursor: pointer;
  font-size: 0.6rem;
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.pf-prof-search__clear i {
  display: block;
  width: auto;
  height: auto;
  font-size: 0.58rem;
  line-height: 1;
}

.pf-prof-search__clear:hover {
  background: #ef4444;
  color: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* Category tabs */
.pf-prof-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 0.6rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pf-prof-tabs::-webkit-scrollbar {
  height: 3px;
}

.pf-prof-tabs::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 10px;
}

.pf-prof-tab {
  flex-shrink: 0;
  padding: 0.35rem 0.7rem;
  border: 1.5px solid var(--color-outline-variant, rgba(0,0,0,0.1));
  border-radius: 50px;
  background: var(--color-surface, #fff);
  color: var(--color-on-surface-variant, #64748b);
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pf-prof-tab:hover {
  border-color: var(--color-primary, #3b82f6);
  color: var(--color-primary, #3b82f6);
}

.pf-prof-tab--active {
  background: var(--color-primary, #3b82f6);
  border-color: var(--color-primary, #3b82f6);
  color: #fff;
  font-weight: 600;
}

.pf-prof-tab--active:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

/* Professions grid */
.pf-prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.4rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

@media (max-width: 575px) {
  .pf-prof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pf-prof-grid::-webkit-scrollbar {
  width: 4px;
}

.pf-prof-grid::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.12);
  border-radius: 10px;
}

.pf-prof-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.65rem;
  border: 1.5px solid var(--color-outline-variant, rgba(0,0,0,0.08));
  border-radius: 8px;
  background: var(--color-surface, #fff);
  color: var(--color-on-surface, #1e293b);
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.pf-prof-item:hover:not(:disabled) {
  border-color: var(--color-primary, #3b82f6);
  background: rgba(59,130,246,0.04);
}

.pf-prof-item i {
  font-size: 0.8rem;
  flex-shrink: 0;
  color: var(--color-on-surface-variant, #94a3b8);
  transition: color 0.15s ease;
}

.pf-prof-item--active {
  border-color: rgba(59,130,246,0.35);
  background: rgba(59,130,246,0.08);
  color: #2563eb;
  font-weight: 600;
}

.pf-prof-item--active i {
  color: #3b82f6;
}

.pf-prof-item--disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pf-prof-empty {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.78rem;
  color: var(--color-on-surface-variant, #94a3b8);
}

.pf-prof-picker-hint {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 1.25rem 1rem;
  border: 1px dashed rgba(59, 130, 246, 0.22);
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.035);
  color: var(--color-on-surface-variant, #64748b);
  text-align: center;
}
.pf-prof-picker-hint i { color: #0d80ff; font-size: 1.1rem; }
.pf-prof-picker-hint strong { color: var(--color-on-surface, #1f2937); font-size: 0.78rem; }
.pf-prof-picker-hint span { font-size: 0.7rem; }

/* Dark mode */
[data-theme="dark"] .pf-prof-selected__chip {
  background: rgba(96,165,250,0.12);
  border-color: rgba(96,165,250,0.3);
  color: #60a5fa;
}

[data-theme="dark"] .pf-prof-selected__remove {
  background: rgba(96,165,250,0.15);
  color: #60a5fa;
}

[data-theme="dark"] .pf-prof-limit-msg {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

[data-theme="dark"] .pf-prof-search input {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: var(--color-on-surface, #e2e8f0);
}

[data-theme="dark"] .pf-prof-search input:focus {
  border-color: var(--color-primary, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

[data-theme="dark"] .pf-prof-search__clear {
  background: rgba(96,165,250,0.15);
  color: #60a5fa;
}

[data-theme="dark"] .pf-prof-search__clear:hover {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

[data-theme="dark"] .pf-prof-tab {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
}

[data-theme="dark"] .pf-prof-tab:hover {
  border-color: rgba(96,165,250,0.3);
  color: #60a5fa;
}

[data-theme="dark"] .pf-prof-item {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
}

[data-theme="dark"] .pf-prof-item:hover:not(:disabled) {
  background: rgba(96,165,250,0.08);
  border-color: rgba(96,165,250,0.3);
}

[data-theme="dark"] .pf-prof-item--active {
  background: rgba(96,165,250,0.12);
  border-color: rgba(96,165,250,0.35);
  color: #60a5fa;
}

[data-theme="dark"] .pf-prof-item--active i {
  color: #60a5fa;
}

/* Profile Tabs */
.pf-profile-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0 0.5rem 0.75rem;
  border-bottom: 1px solid var(--color-outline-variant, rgba(0,0,0,0.08));
  margin-bottom: 1rem;
}

.pf-profile-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--color-on-surface-variant, #64748b);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pf-profile-tab:hover {
  color: var(--color-primary, #3b82f6);
  background: var(--color-primary-container, rgba(59, 130, 246, 0.08));
}

.pf-profile-tab--active {
  color: var(--color-primary, #3b82f6);
  font-weight: 600;
  border-bottom-color: var(--color-primary, #3b82f6);
}

.pf-profile-tab i {
  font-size: 1rem;
}

/* Likes Tab Content */
.pf-likes-tab-content {
  padding: 0.5rem 0.5rem 1.5rem;
}

.pf-likes-empty-initial {
  max-width: 360px;
  margin: 3rem auto;
  text-align: center;
}

.pf-likes-empty-initial .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
}

@media (max-width: 575px) {
  .pf-profile-tabs {
    padding: 0 0.25rem 0.5rem;
  }
  
  .pf-profile-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .pf-profile-tab i {
    font-size: 0.9rem;
  }
  
  .pf-likes-tab-content {
    padding: 0.25rem 0.25rem 1rem;
  }
}
