.dashboard-sidenav--collapsed .dashboard-nav-text {
    display: none;
}

@media (min-width: 1024px) {
    #dashboard-sidenav.dashboard-sidenav--collapsed {
        width: 70px;
        max-width: 70px;
    }

    .dashboard-sidenav--collapsed #dashboard-sidenav-inner {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    #dashboard-sidenav.dashboard-sidenav--collapsed .dashboard-nav-brand {
        display: none;
    }

    #dashboard-sidenav.dashboard-sidenav--collapsed
        .dashboard-nav-section-title {
        display: none;
    }

    #dashboard-sidenav.dashboard-sidenav--collapsed .dashboard-nav-link {
        justify-content: center;
        gap: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

.datepicker-container {
    z-index: 60;
}

/* Sidebar navigation */
.dashboard-nav-link {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
    border-radius: 0.625rem;
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(51 65 85);
    text-decoration: none;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.dashboard-nav-link:hover {
    background-color: rgb(248 250 252);
    color: rgb(15 23 42);
}

.dashboard-nav-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 0.5rem;
    background: rgb(241 245 249);
    color: rgb(100 116 139);
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.dashboard-nav-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.dashboard-nav-link:hover .dashboard-nav-icon {
    background: rgb(226 232 240);
    color: rgb(51 65 85);
}

.sidenav-link.active .dashboard-nav-link {
    color: #1d4ed8;
    background-color: rgb(239 246 255);
}

.sidenav-link.active .dashboard-nav-icon {
    background: rgb(219 234 254);
    color: #2563eb;
}

.dashboard-nav-link--logout {
    border: none;
    background: transparent;
    cursor: pointer;
    color: rgb(185 28 28);
}

.dashboard-nav-link--logout:hover {
    background-color: rgb(254 242 242);
    color: rgb(153 27 27);
}

.dashboard-nav-icon--logout {
    background: rgb(254 242 242);
    color: #dc2626;
}

.dashboard-nav-link--logout:hover .dashboard-nav-icon--logout {
    background: rgb(254 226 226);
    color: rgb(185 28 28);
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.profile-field-input.border-red-500,
.profile-field-input.\!border-red-500 {
    border-color: #ef4444 !important;
}

.profile-idea-file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 100%;
}

.profile-idea-file-card {
    display: flex;
    width: 9.5rem;
    max-width: 100%;
    min-width: 0;
    flex-direction: column;
    gap: 0.5rem;
    box-sizing: border-box;
    border-radius: 0.5rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
    padding: 0.5rem;
}

.profile-idea-file-download {
    display: block;
    width: 100%;
    border-radius: 0.375rem;
    background: rgb(37 99 235);
    padding: 0.375rem 0.5rem;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.profile-idea-file-download:hover {
    background: rgb(29 78 216);
}

/* Profile avatar (image or initials) */
.profile-avatar {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 9999px;
    box-shadow: 0 0 0 2px rgb(226 232 240);
    vertical-align: middle;
}

.profile-avatar__is-hidden {
    display: none !important;
}

.profile-avatar--sm {
    width: 2.25rem;
    height: 2.25rem;
}

.profile-avatar--md {
    width: 3rem;
    height: 3rem;
}

.profile-avatar--lg {
    width: 6rem;
    height: 6rem;
}

.profile-avatar--xl {
    width: 7rem;
    height: 7rem;
}

.profile-avatar__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
}

.profile-avatar__initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    font-weight: 700;
    color: #fff;
    user-select: none;
}

.profile-avatar--sm .profile-avatar__initials {
    font-size: 0.6875rem;
}

.profile-avatar--md .profile-avatar__initials {
    font-size: 0.8125rem;
}

.profile-avatar--lg .profile-avatar__initials {
    font-size: 1.375rem;
    letter-spacing: 0.02em;
}

.profile-avatar--xl .profile-avatar__initials {
    font-size: 1.625rem;
    letter-spacing: 0.02em;
}

/* Profile photo upload (edit page) */
.profile-photo-upload__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: rgb(15 23 42);
}

.profile-photo-upload__hint {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgb(100 116 139);
}

.profile-photo-upload__filename {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.625rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 9999px;
    background: rgb(241 245 249);
    padding: 0.25rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgb(51 65 85);
}

.profile-photo-upload__filename--empty {
    color: rgb(148 163 184);
    background: rgb(248 250 252);
}

.profile-photo-upload__filename--selected {
    background: rgb(219 234 254);
    color: #1d4ed8;
}

.profile-photo-upload__zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    border-radius: 0.875rem;
    border: 2px dashed rgb(203 213 225);
    background: rgb(248 250 252);
    padding: 1.35rem 1rem;
    text-align: center;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.profile-photo-upload__zone:hover,
.profile-photo-upload__zone--active {
    border-color: rgb(147 197 253);
    background: rgb(239 246 255);
    box-shadow: 0 0 0 3px rgb(219 234 254 / 0.5);
}

.profile-photo-upload__zone--has-image {
    border-style: solid;
    border-color: rgb(226 232 240);
    background: linear-gradient(180deg, rgb(248 250 252) 0%, #fff 100%);
}

.profile-photo-upload__is-hidden {
    display: none !important;
}

.profile-photo-upload__circle-wrap {
    position: relative;
    flex-shrink: 0;
    width: 7.5rem;
    height: 7.5rem;
}

.profile-photo-upload__circle {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 9999px;
    box-shadow:
        0 0 0 4px #fff,
        0 0 0 5px rgb(226 232 240),
        0 8px 24px rgb(15 23 42 / 0.1);
}

.profile-photo-upload__initials,
.profile-photo-upload__preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.profile-photo-upload__initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    user-select: none;
}

.profile-photo-upload__preview {
    display: block;
    object-fit: cover;
    object-position: center center;
}

.profile-photo-upload__camera {
    position: absolute;
    bottom: 0.125rem;
    inset-inline-start: 0.125rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    border: 2px solid #fff;
    border-radius: 9999px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    box-shadow: 0 4px 12px rgb(37 99 235 / 0.4);
    pointer-events: none;
}

.profile-photo-upload__camera svg {
    width: 1.1rem;
    height: 1.1rem;
}

.profile-photo-upload__hints {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.profile-photo-upload__hints--compact {
    gap: 0.15rem;
}

.profile-photo-upload__zone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    background: rgb(239 246 255);
    color: #2563eb;
}

.profile-photo-upload__zone-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.profile-photo-upload__zone-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(30 41 59);
}

.profile-photo-upload__zone-sub {
    font-size: 0.7rem;
    color: rgb(148 163 184);
}

/* ═══════════════════════════════════════════════════════════
   Profile Dashboard — premium UI
   ═══════════════════════════════════════════════════════════ */

.profile-dashboard {
    --dash-blue: #2563eb;
    --dash-indigo: #4f46e5;
    --dash-violet: #7c3aed;
    animation: dashPageIn 0.45s ease-out;
}

@keyframes dashPageIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shared stroke icons (sidebar + dashboard) */
.dashboard-nav-icon svg,
.profile-stat-card__icon svg,
.profile-dash-page-icon svg,
.profile-dash-btn__icon svg,
.profile-dash-hero-pill__icon svg,
.profile-dash-empty__icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.profile-dash-page-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    background: rgb(239 246 255);
    color: #2563eb;
}

.profile-dash-btn__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.4375rem;
    background: rgb(241 245 249);
    color: rgb(100 116 139);
}

.profile-dash-btn__icon--on-primary {
    background: rgb(255 255 255 / 0.2);
    color: #fff;
}

.profile-dash-btn--ghost:hover .profile-dash-btn__icon {
    background: rgb(219 234 254);
    color: #2563eb;
}

/* Buttons */
.profile-dash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.profile-dash-btn:hover {
    transform: translateY(-1px);
}

.profile-dash-btn--primary {
    background: linear-gradient(135deg, var(--dash-blue), var(--dash-indigo));
    color: #fff;
    box-shadow: 0 4px 14px rgb(37 99 235 / 0.35);
}

.profile-dash-btn--primary:hover {
    box-shadow: 0 6px 20px rgb(37 99 235 / 0.45);
}

.profile-dash-btn--ghost {
    border: 1px solid rgb(226 232 240);
    background: #fff;
    color: rgb(51 65 85);
}

.profile-dash-btn--ghost:hover {
    border-color: rgb(191 219 254);
    background: rgb(239 246 255);
    color: var(--dash-blue);
}

.profile-dash-btn--sm {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
}

/* Hero */
.profile-dash-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(
        125deg,
        #1e3a8a 0%,
        #2563eb 38%,
        #4f46e5 68%,
        #6366f1 100%
    );
    box-shadow:
        0 4px 6px rgb(30 58 138 / 0.12),
        0 20px 50px rgb(37 99 235 / 0.28);
}

.profile-dash-hero__body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile-dash-hero__welcome {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.profile-dash-hero__avatar {
    display: block;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    object-fit: cover;
}

.profile-dash-hero__greeting {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgb(191 219 254 / 0.95);
}

.profile-dash-hero__name {
    margin-top: 0.125rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.profile-dash-hero__since {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: rgb(219 234 254 / 0.85);
}

.profile-dash-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .profile-dash-hero {
        padding: 0.875rem 1.35rem;
    }

    .profile-dash-hero__body {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }

    /* RTL: welcome راست، آمار چپ — یک ردیف، ارتفاع کم */
    .profile-dash-hero__welcome {
        flex: 1;
        min-width: 0;
    }

    .profile-dash-hero__avatar {
        width: 3.25rem;
        height: 3.25rem;
        border-radius: 0.75rem;
    }

    .profile-dash-hero__name {
        font-size: 1.125rem;
    }

    .profile-dash-hero__since {
        margin-top: 0.2rem;
        font-size: 0.75rem;
    }

    .profile-dash-hero__stats {
        display: flex;
        flex-direction: row;
        flex-shrink: 0;
        align-items: stretch;
        gap: 0.5rem;
        margin-inline-start: auto;
    }
}

.profile-dash-hero__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse 80% 60% at 100% 0%,
            rgb(255 255 255 / 0.12),
            transparent 50%
        ),
        radial-gradient(
            ellipse 60% 50% at 0% 100%,
            rgb(99 102 241 / 0.4),
            transparent 55%
        );
    pointer-events: none;
}

.profile-dash-hero__grid {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image:
        linear-gradient(rgb(255 255 255 / 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 0.5) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.profile-dash-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.profile-dash-hero__orb--1 {
    top: -30%;
    left: -10%;
    width: 45%;
    height: 80%;
    background: rgb(147 197 253 / 0.35);
}

.profile-dash-hero__orb--2 {
    bottom: -40%;
    right: -5%;
    width: 35%;
    height: 70%;
    background: rgb(129 140 248 / 0.4);
}

.profile-dash-avatar-ring {
    padding: 3px;
    border-radius: 1.125rem;
    background: linear-gradient(
        135deg,
        rgb(255 255 255 / 0.9),
        rgb(255 255 255 / 0.25)
    );
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.15);
}

.profile-dash-hero-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    border-radius: 0.75rem;
    border: 1px solid rgb(255 255 255 / 0.2);
    background: rgb(255 255 255 / 0.1);
    padding: 0.625rem 0.4rem;
    backdrop-filter: blur(8px);
    text-align: center;
}

.profile-dash-hero-pill__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin-bottom: 0.1rem;
    border-radius: 0.4375rem;
    background: rgb(255 255 255 / 0.15);
    color: #fff;
}

.profile-dash-hero-pill__icon svg {
    width: 1rem;
    height: 1rem;
}

.profile-dash-hero-pill__value {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.profile-dash-hero-pill__label {
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1.2;
    color: rgb(219 234 254 / 0.9);
}

@media (min-width: 640px) {
    .profile-dash-hero-pill {
        padding: 0.7rem 0.5rem;
    }

    .profile-dash-hero-pill__value {
        font-size: 1.375rem;
    }

    .profile-dash-hero-pill__label {
        font-size: 0.65rem;
    }
}

@media (min-width: 1024px) {
    .profile-dash-hero-pill {
        min-width: 5.25rem;
        padding: 0.4rem 0.75rem;
    }

    .profile-dash-hero-pill__value {
        font-size: 1.125rem;
    }

    .profile-dash-hero-pill__label {
        font-size: 0.625rem;
        white-space: nowrap;
    }
}

/* Profile dashboard — slim campaign strip (Simorgh Ramadan) */
.profile-campaign-strip {
    --campaign-gold: 234 179 8;
    --campaign-gold-bright: 250 204 21;
    --campaign-gold-deep: 180 130 10;
    --campaign-teal: 13 94 114;
    --campaign-teal-deep: 8 51 68;
    --campaign-teal-mid: 21 128 154;

    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    isolation: isolate;
    border-radius: 1rem;
    border: 2px solid rgb(var(--campaign-gold) / 0.55);
    background: linear-gradient(
        115deg,
        rgb(var(--campaign-teal-deep)) 0%,
        rgb(var(--campaign-teal)) 38%,
        rgb(14 116 144) 62%,
        rgb(var(--campaign-teal-deep)) 100%
    );
    padding: 0.75rem 0.85rem 0.75rem 0.75rem;
    text-decoration: none;
    color: inherit;
    box-shadow:
        0 0 0 1px rgb(var(--campaign-gold) / 0.15) inset,
        0 0 32px rgb(var(--campaign-gold) / 0.22),
        0 12px 36px rgb(var(--campaign-teal-deep) / 0.45);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    animation: profileCampaignStripIn 0.55s ease-out;
}

@keyframes profileCampaignStripIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-campaign-strip:hover {
    border-color: rgb(var(--campaign-gold-bright) / 0.85);
    box-shadow:
        0 0 0 1px rgb(var(--campaign-gold-bright) / 0.25) inset,
        0 0 48px rgb(var(--campaign-gold) / 0.35),
        0 18px 44px rgb(var(--campaign-teal-deep) / 0.55);
}

.profile-campaign-strip:focus-visible {
    outline: 3px solid rgb(var(--campaign-gold-bright));
    outline-offset: 3px;
}

.profile-campaign-strip__border-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        90deg,
        rgb(var(--campaign-gold) / 0.1),
        rgb(var(--campaign-gold-bright)),
        rgb(var(--campaign-gold) / 0.1)
    );
    background-size: 200% 100%;
    animation: profileCampaignBorderSweep 3.5s linear infinite;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes profileCampaignBorderSweep {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.profile-campaign-strip__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgb(255 255 255 / 0.12) 48%,
        transparent 66%
    );
    background-size: 220% 100%;
    animation: profileCampaignShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes profileCampaignShine {
    0%,
    100% {
        background-position: 120% 0;
        opacity: 0.35;
    }
    50% {
        background-position: -20% 0;
        opacity: 0.85;
    }
}

.profile-campaign-strip__glow {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
    filter: blur(18px);
}

.profile-campaign-strip__glow--gold {
    top: -2rem;
    inset-inline-end: 12%;
    width: 9rem;
    height: 5rem;
    background: rgb(var(--campaign-gold) / 0.45);
    animation: profileCampaignPulseGold 2.8s ease-in-out infinite;
}

.profile-campaign-strip__glow--teal {
    bottom: -2.5rem;
    inset-inline-start: 8%;
    width: 10rem;
    height: 5rem;
    background: rgb(56 189 248 / 0.25);
    animation: profileCampaignPulseGold 2.8s ease-in-out infinite 1.4s;
}

@keyframes profileCampaignPulseGold {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.08);
    }
}

.profile-campaign-strip__pattern {
    position: absolute;
    width: 7rem;
    height: 7rem;
    opacity: 0.18;
    pointer-events: none;
    background-image: radial-gradient(
        circle,
        rgb(var(--campaign-gold-bright)) 1px,
        transparent 1px
    );
    background-size: 12px 12px;
    mask-image: radial-gradient(circle at center, rgb(0 0 0), transparent 68%);
}

.profile-campaign-strip__pattern--start {
    top: -2rem;
    inset-inline-start: -1rem;
}

.profile-campaign-strip__pattern--end {
    bottom: -2rem;
    inset-inline-end: 22%;
}

.profile-campaign-strip__thumb-wrap {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    overflow: visible;
    width: 5.5rem;
    height: 3.75rem;
}

.profile-campaign-strip__thumb-ring {
    position: absolute;
    inset: -0.2rem;
    border-radius: 0.75rem;
    border: 2px solid rgb(var(--campaign-gold-bright) / 0.75);
    box-shadow: 0 0 18px rgb(var(--campaign-gold) / 0.55);
    animation: profileCampaignThumbRing 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes profileCampaignThumbRing {
    0%,
    100% {
        opacity: 0.75;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

.profile-campaign-strip__thumb {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.65rem;
    border: 2px solid rgb(255 255 255 / 0.35);
    object-fit: cover;
    object-position: center;
    box-shadow: 0 8px 22px rgb(0 0 0 / 0.35);
}

.profile-campaign-strip__body {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 0.2rem;
}

.profile-campaign-strip__eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.35rem;
    border-radius: 9999px;
    border: 1px solid rgb(var(--campaign-gold-bright) / 0.45);
    background: rgb(var(--campaign-gold) / 0.18);
    padding: 0.15rem 0.55rem 0.15rem 0.45rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: rgb(var(--campaign-gold-bright));
    box-shadow: 0 0 14px rgb(var(--campaign-gold) / 0.25);
}

.profile-campaign-strip__live {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background: rgb(var(--campaign-gold-bright));
    box-shadow: 0 0 0 0 rgb(var(--campaign-gold-bright) / 0.7);
    animation: profileCampaignLive 1.6s ease-out infinite;
}

@keyframes profileCampaignLive {
    0% {
        box-shadow: 0 0 0 0 rgb(var(--campaign-gold-bright) / 0.65);
    }
    70% {
        box-shadow: 0 0 0 0.45rem rgb(var(--campaign-gold-bright) / 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgb(var(--campaign-gold-bright) / 0);
    }
}

.profile-campaign-strip__title-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.profile-campaign-strip__title {
    font-size: 1.125rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: rgb(255 255 255);
    text-shadow: 0 2px 12px rgb(0 0 0 / 0.25);
}

.profile-campaign-strip__spark {
    display: flex;
    flex-shrink: 0;
    color: rgb(var(--campaign-gold-bright));
    filter: drop-shadow(0 0 6px rgb(var(--campaign-gold) / 0.8));
    animation: profileCampaignSpark 2s ease-in-out infinite;
}

.profile-campaign-strip__spark svg {
    width: 1rem;
    height: 1rem;
}

@keyframes profileCampaignSpark {
    0%,
    100% {
        opacity: 0.65;
        transform: scale(0.92) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.08) rotate(12deg);
    }
}

.profile-campaign-strip__desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgb(224 242 254 / 0.88);
}

.profile-campaign-strip__cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.35rem;
    overflow: hidden;
    border-radius: 9999px;
    border: 1px solid rgb(var(--campaign-gold-bright) / 0.65);
    background: linear-gradient(
        135deg,
        rgb(var(--campaign-gold-bright)) 0%,
        rgb(var(--campaign-gold)) 45%,
        rgb(var(--campaign-gold-deep)) 100%
    );
    padding: 0.6rem 1rem;
    font-size: 0.8125rem;
    font-weight: 800;
    color: rgb(var(--campaign-teal-deep));
    white-space: nowrap;
    box-shadow:
        0 0 20px rgb(var(--campaign-gold) / 0.45),
        0 6px 16px rgb(0 0 0 / 0.25);
    animation: profileCampaignCtaPulse 2.6s ease-in-out infinite;
}

@keyframes profileCampaignCtaPulse {
    0%,
    100% {
        box-shadow:
            0 0 16px rgb(var(--campaign-gold) / 0.35),
            0 6px 16px rgb(0 0 0 / 0.22);
    }
    50% {
        box-shadow:
            0 0 28px rgb(var(--campaign-gold) / 0.65),
            0 8px 20px rgb(0 0 0 / 0.28);
    }
}

.profile-campaign-strip__cta svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.profile-campaign-strip:hover .profile-campaign-strip__cta {
    filter: brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .profile-campaign-strip,
    .profile-campaign-strip__border-glow,
    .profile-campaign-strip__shine,
    .profile-campaign-strip__glow,
    .profile-campaign-strip__thumb-ring,
    .profile-campaign-strip__live,
    .profile-campaign-strip__spark,
    .profile-campaign-strip__cta {
        animation: none;
    }
}

@media (max-width: 640px) {
    .profile-campaign-strip {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.85rem;
    }

    .profile-campaign-strip__thumb-wrap {
        width: 4.75rem;
        height: 3.25rem;
    }

    .profile-campaign-strip__title {
        font-size: 1rem;
    }

    .profile-campaign-strip__desc {
        -webkit-line-clamp: 2;
    }

    .profile-campaign-strip__cta {
        width: 100%;
        justify-content: center;
        padding-block: 0.7rem;
    }

    .profile-campaign-strip__cta-label {
        flex: 1;
        text-align: center;
    }
}

button.profile-campaign-strip {
    width: 100%;
    cursor: pointer;
    font: inherit;
    text-align: inherit;
}

.profile-campaign-strip--static {
    cursor: default;
}

.profile-campaign-axis-modal__body {
    padding-top: 0.25rem;
}

.profile-campaign-axis-modal__search-wrap {
    display: block;
    margin-bottom: 0.85rem;
}

.profile-campaign-axis-modal__search {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid rgb(203 213 225);
    background: rgb(248 250 252);
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    color: rgb(15 23 42);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.profile-campaign-axis-modal__search:focus {
    outline: none;
    border-color: rgb(59 130 246);
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.15);
    background: rgb(255 255 255);
}

.profile-campaign-axis-modal__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: min(24rem, 58vh);
    overflow: auto;
    padding-inline-end: 0.15rem;
}

.profile-campaign-axis-modal__item[hidden] {
    display: none;
}

.profile-campaign-axis-modal__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-radius: 0.85rem;
    border: 1px solid rgb(226 232 240);
    background: rgb(255 255 255);
    padding: 0.75rem 0.85rem;
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.profile-campaign-axis-modal__link:hover {
    border-color: rgb(147 197 253);
    background: rgb(239 246 255);
    box-shadow: 0 4px 14px rgb(37 99 235 / 0.08);
}

.profile-campaign-axis-modal__link:focus-visible {
    outline: 2px solid rgb(37 99 235);
    outline-offset: 2px;
}

.profile-campaign-axis-modal__item-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 0.2rem;
}

.profile-campaign-axis-modal__item-title {
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.4;
    color: rgb(15 23 42);
}

.profile-campaign-axis-modal__item-sub {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgb(100 116 139);
}

.profile-campaign-axis-modal__item-action {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.25rem;
    border-radius: 9999px;
    background: rgb(239 246 255);
    padding: 0.35rem 0.65rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgb(29 78 216);
    white-space: nowrap;
}

.profile-campaign-axis-modal__item-action svg {
    width: 0.875rem;
    height: 0.875rem;
}

.profile-campaign-axis-modal__empty {
    margin-top: 0.75rem;
    border-radius: 0.75rem;
    border: 1px dashed rgb(203 213 225);
    background: rgb(248 250 252);
    padding: 0.85rem;
    text-align: center;
    font-size: 0.8125rem;
    color: rgb(100 116 139);
}

.profile-campaign-axis-modal__empty[hidden] {
    display: none;
}

/* Stat cards */
.profile-stat-card {
    --accent: var(--dash-blue);
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgb(226 232 240 / 0.9);
    background: #fff;
    padding: 0.75rem 0.875rem 0.65rem;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.04);
    transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    animation: statCardIn 0.5s ease-out backwards;
    animation-delay: calc(var(--i, 0) * 0.07s + 0.1s);
}

.profile-stat-card__main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-stat-card__content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

@keyframes statCardIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-stat-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.85;
}

.profile-stat-card:hover {
    border-color: rgb(191 219 254);
    box-shadow: 0 4px 12px rgb(15 23 42 / 0.06);
}

a.profile-stat-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.profile-stat-card--link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

a.profile-stat-card--link .profile-stat-link {
    pointer-events: none;
}

.profile-stat-card--blue {
    --accent: #3b82f6;
}

.profile-stat-card--emerald {
    --accent: #10b981;
}

.profile-stat-card--violet {
    --accent: #8b5cf6;
}

.profile-stat-card--amber {
    --accent: #f59e0b;
}

.profile-stat-card__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 0.5rem;
    background: rgb(241 245 249);
    color: var(--accent);
}

.profile-stat-card--blue .profile-stat-card__icon {
    background: rgb(219 234 254);
    color: #2563eb;
}

.profile-stat-card--emerald .profile-stat-card__icon {
    background: rgb(209 250 229);
    color: #059669;
}

.profile-stat-card--violet .profile-stat-card__icon {
    background: rgb(237 233 254);
    color: #7c3aed;
}

.profile-stat-card--amber .profile-stat-card__icon {
    background: rgb(254 243 199);
    color: #d97706;
}

.profile-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgb(100 116 139);
}

.profile-stat-value {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: rgb(15 23 42);
}

.profile-stat-footer {
    margin-top: 0.5rem;
    padding-top: 0.45rem;
    border-top: 1px dashed rgb(226 232 240);
}

.profile-stat-badge {
    display: inline-block;
    border-radius: 9999px;
    background: rgb(241 245 249);
    padding: 0.15rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 500;
    color: rgb(100 116 139);
}

.profile-stat-badge--emerald {
    background: rgb(209 250 229);
    color: rgb(4 120 87);
}

.profile-stat-badge--violet {
    background: rgb(237 233 254);
    color: rgb(91 33 182);
}

.profile-stat-link {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--dash-blue);
    text-decoration: none;
}

.profile-stat-link:hover {
    text-decoration: underline;
}

/* Chart + gauge — side by side on desktop */
.profile-dash-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .profile-dash-split {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        align-items: stretch;
    }

    .profile-dash-split__chart,
    .profile-dash-split__gauge {
        min-height: 100%;
    }

    .profile-dash-split__gauge .profile-gauge {
        width: 8.5rem;
        height: 8.5rem;
    }

    .profile-dash-split__gauge .profile-gauge__percent {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .profile-dash-split__gauge .profile-gauge {
        width: 9.5rem;
        height: 9.5rem;
    }

    .profile-dash-split__gauge .profile-gauge__percent {
        font-size: 2.125rem;
    }
}

/* Panels */
.profile-dash-panel {
    border-radius: 1.125rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
    padding: 1.35rem 1.5rem 1.5rem;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.04);
}

.profile-dash-panel--chart {
    background: linear-gradient(180deg, #fff 0%, rgb(248 250 252 / 0.6) 100%);
}

.profile-dash-panel__head {
    margin-bottom: 1.25rem;
}

.profile-dash-panel__head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.profile-dash-panel__title {
    font-size: 1rem;
    font-weight: 700;
    color: rgb(15 23 42);
}

.profile-dash-panel__subtitle {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: rgb(148 163 184);
}

/* Chart */
.profile-chart-wrap {
    position: relative;
    padding: 0.5rem 0 0;
}

.profile-chart-grid {
    position: absolute;
    inset: 0 2rem 1.75rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.profile-chart-grid span {
    display: block;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgb(226 232 240),
        transparent
    );
}

.profile-chart {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    height: 11rem;
    padding: 0 0.25rem;
}

.profile-chart-col {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: chartColIn 0.6s ease-out backwards;
    animation-delay: var(--delay, 0s);
}

@keyframes chartColIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-chart-col__value {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dash-blue);
}

.profile-chart-col__track {
    display: flex;
    width: 100%;
    max-width: 2.75rem;
    flex: 1;
    align-items: flex-end;
    justify-content: center;
}

.profile-chart-col__bar {
    width: 100%;
    height: var(--h, 20%);
    min-height: 0.5rem;
    border-radius: 0.625rem 0.625rem 0.25rem 0.25rem;
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 55%, #4f46e5 100%);
    box-shadow:
        0 -2px 12px rgb(37 99 235 / 0.25),
        0 4px 12px rgb(37 99 235 / 0.2);
    transform-origin: bottom;
    animation: barGrow 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) backwards;
    animation-delay: calc(var(--delay, 0s) + 0.15s);
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

.profile-chart-col__label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.65rem;
    font-weight: 500;
    color: rgb(100 116 139);
}

@media (min-width: 640px) {
    .profile-chart-col__label {
        font-size: 0.7rem;
    }
}

/* Gauge */
.profile-gauge {
    position: relative;
    width: 11rem;
    height: 11rem;
}

.profile-gauge__svg {
    width: 100%;
    height: 100%;
}

.profile-gauge__arc {
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-gauge__center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-gauge__percent {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.profile-gauge__unit {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(148 163 184);
}

.profile-mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    border-radius: 0.875rem;
    border: 1px solid rgb(241 245 249);
    background: rgb(248 250 252);
    padding: 0.875rem 0.5rem;
    text-align: center;
}

.profile-mini-stat--accent {
    border-color: rgb(191 219 254);
    background: linear-gradient(135deg, rgb(239 246 255), rgb(238 242 255));
}

.profile-mini-stat__num {
    font-size: 1.375rem;
    font-weight: 800;
    color: rgb(15 23 42);
}

.profile-mini-stat--accent .profile-mini-stat__num {
    color: var(--dash-blue);
}

.profile-mini-stat__txt {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgb(100 116 139);
}

/* Timeline / ideas */
.profile-idea-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-idea-timeline__item {
    position: relative;
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
}

.profile-idea-timeline__item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 2.25rem;
    right: 1.05rem;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgb(191 219 254), rgb(241 245 249));
}

.profile-idea-timeline__dot {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 12px rgb(37 99 235 / 0.35);
}

.profile-idea-card {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 0.75rem;
    border-radius: 0.875rem;
    border: 1px solid rgb(226 232 240);
    background: linear-gradient(135deg, #fff 0%, rgb(248 250 252) 100%);
    padding: 1rem 1.15rem;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

@media (min-width: 640px) {
    .profile-idea-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.profile-idea-card:hover {
    border-color: rgb(147 197 253);
    box-shadow: 0 8px 24px rgb(37 99 235 / 0.1);
    transform: translateX(-2px);
}

.profile-idea-card__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgb(15 23 42);
    transition: color 0.15s ease;
}

.group:hover .profile-idea-card__title {
    color: var(--dash-blue);
}

.profile-idea-card__call {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: rgb(100 116 139);
}

.profile-idea-card__meta {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.profile-idea-card__status {
    border-radius: 9999px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    padding: 0.2rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
}

.profile-idea-card__date {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgb(148 163 184);
}

/* Empty states */
.profile-dash-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 1rem;
    border: 2px dashed rgb(226 232 240);
    background: linear-gradient(180deg, rgb(248 250 252), #fff);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.profile-dash-empty--compact {
    padding: 2rem 1rem;
}

.profile-dash-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    background: rgb(239 246 255);
    color: var(--dash-blue);
}

.profile-dash-empty p {
    font-size: 0.875rem;
    color: rgb(100 116 139);
}

@media (prefers-reduced-motion: reduce) {
    .profile-dashboard,
    .profile-stat-card,
    .profile-chart-col,
    .profile-chart-col__bar {
        animation: none;
    }

    .profile-stat-card:hover,
    .profile-dash-btn:hover,
    .profile-idea-card:hover {
        transform: none;
    }

    .profile-gauge__arc {
        transition: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   Profile tables (ideas, education)
   ═══════════════════════════════════════════════════════════ */

.profile-panel {
    border-radius: 1rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
    padding: 1.15rem 1.25rem 1.25rem;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.05);
}

.profile-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.profile-table-wrap {
    display: none;
    overflow: hidden;
    overflow-x: auto;
    border-radius: 0.75rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

@media (min-width: 768px) {
    .profile-table-wrap:not(.profile-table-wrap--ideas) {
        display: block;
    }

    .profile-mobile-list:not(.profile-mobile-list--ideas) {
        display: none !important;
    }
}

@media (min-width: 1360px) {
    .profile-table-wrap--ideas {
        display: block;
    }

    .profile-mobile-list--ideas {
        display: none !important;
    }
}

.profile-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8125rem;
}

.profile-table--ideas {
    min-width: 720px;
}

.profile-table--education {
    min-width: 640px;
}

.profile-table thead th {
    padding: 0.8rem 1rem;
    text-align: right;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    white-space: nowrap;
    border: none;
}

.profile-table-wrap--ideas .profile-table thead tr,
.profile-table-wrap--education .profile-table thead tr {
    background: linear-gradient(90deg, #3b82f6 0%, #3380f4 50%, #2563eb 100%);
}

.profile-table thead th:first-child {
    border-top-right-radius: 0.65rem;
}

.profile-table thead th:last-child {
    border-top-left-radius: 0.65rem;
}

.profile-table tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgb(241 245 249);
    color: rgb(71 85 105);
    vertical-align: middle;
}

.profile-table tbody tr:last-child td {
    border-bottom: none;
}

.profile-table tbody tr {
    background: #fff;
    transition: background-color 0.15s ease;
}

.profile-table tbody tr:nth-child(even) {
    background: rgb(248 250 252 / 0.85);
}

.profile-table tbody tr:hover {
    background: rgb(239 246 255) !important;
}

.profile-table__title {
    max-width: 14rem;
    font-weight: 600;
    line-height: 1.45;
    color: rgb(15 23 42);
}

.profile-table__sub {
    margin-top: 0.2rem;
    font-size: 0.7rem;
    color: rgb(100 116 139);
}

.profile-table__date {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgb(51 65 85);
    white-space: nowrap;
}

.profile-table__status {
    white-space: nowrap;
    width: 1%;
}

.profile-idea-status-badge {
    max-width: none;
    white-space: nowrap;
}

.profile-table__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
}

.profile-table__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

.profile-table__btn--view {
    color: #1d4ed8;
    background: rgb(239 246 255);
    border: 1px solid rgb(191 219 254);
}

.profile-table__btn--view:hover {
    color: #fff;
    background: #2563eb;
    box-shadow: 0 2px 8px rgb(37 99 235 / 0.3);
}

.profile-table__btn--accept {
    color: #166534;
    background: rgb(240 253 244);
    border: 1px solid rgb(187 247 208);
}

.profile-table__btn--accept:hover {
    color: #fff;
    background: #16a34a;
    box-shadow: 0 2px 8px rgb(22 163 74 / 0.3);
}

.profile-table__btn--reject {
    color: #991b1b;
    background: rgb(254 242 242);
    border: 1px solid rgb(254 202 202);
}

.profile-table__btn--reject:hover {
    color: #fff;
    background: #dc2626;
    box-shadow: 0 2px 8px rgb(220 38 38 / 0.3);
}

.idea-member-status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.idea-member-status-badge--pending {
    color: #92400e;
    background: rgb(255 251 235);
    box-shadow: inset 0 0 0 1px rgb(253 230 138);
}

.idea-member-status-badge--accepted {
    color: #166534;
    background: rgb(240 253 244);
    box-shadow: inset 0 0 0 1px rgb(187 247 208);
}

.profile-table__btn--edit {
    color: #0369a1;
    background: rgb(224 242 254);
    border: 1px solid rgb(186 230 253);
}

.profile-table__btn--edit:hover {
    color: #fff;
    background: #0284c7;
}

.profile-table__btn--delete {
    color: #b91c1c;
    background: rgb(254 242 242);
    border: 1px solid rgb(254 202 202);
    cursor: pointer;
}

.profile-table__btn--delete:hover {
    color: #fff;
    background: #dc2626;
}

.profile-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-mobile-card {
    overflow: hidden;
    border-radius: 0.875rem;
    border: 1px solid rgb(226 232 240);
    background: linear-gradient(180deg, #fff 0%, rgb(248 250 252 / 0.5) 100%);
    padding: 1rem 1.1rem;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.05);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.profile-mobile-card:hover {
    border-color: rgb(191 219 254);
    box-shadow: 0 4px 14px rgb(37 99 235 / 0.08);
}

.profile-mobile-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgb(241 245 249);
}

.profile-mobile-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    color: rgb(15 23 42);
}

.profile-mobile-card__row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0;
    font-size: 0.8125rem;
    border-bottom: 1px dashed rgb(241 245 249);
}

.profile-mobile-card__row:last-child {
    border-bottom: none;
}

.profile-mobile-card__row dt {
    color: rgb(100 116 139);
}

.profile-mobile-card__row dd {
    font-weight: 600;
    color: rgb(30 41 59);
    text-align: left;
}

.profile-mobile-card__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgb(241 245 249);
}

.profile-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 0.75rem;
    border: 2px dashed rgb(226 232 240);
    background: linear-gradient(180deg, rgb(248 250 252), #fff);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.profile-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgb(239 246 255);
    color: #2563eb;
}

.profile-empty__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.profile-empty p {
    font-size: 0.875rem;
    color: rgb(100 116 139);
}

.profile-empty a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.profile-empty a:hover {
    text-decoration: underline;
}

.profile-degree-id {
    flex-shrink: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgb(254 243 199), rgb(253 230 138));
    padding: 0.2rem 0.55rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgb(146 64 14);
}

/* ═══════════════════════════════════════════════════════════
   Profile topbar
   ═══════════════════════════════════════════════════════════ */

.profile-topbar__inner {
    width: 100%;
}

.profile-header-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-inline-start: auto;
    flex-shrink: 0;
    padding: 0.4rem 0.65rem 0.4rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgb(226 232 240);
    background: linear-gradient(180deg, #fff 0%, rgb(248 250 252) 100%);
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(51 65 85);
    text-decoration: none;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.profile-header-back:hover {
    border-color: rgb(191 219 254);
    background: linear-gradient(
        180deg,
        rgb(239 246 255) 0%,
        rgb(219 234 254) 100%
    );
    color: #1d4ed8;
    box-shadow: 0 4px 12px rgb(37 99 235 / 0.12);
    transform: translateY(-1px);
}

.profile-header-back__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 9999px;
    background: rgb(239 246 255);
    color: #2563eb;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.profile-header-back__icon svg {
    width: 1rem;
    height: 1rem;
}

.profile-header-back:hover .profile-header-back__icon {
    background: #2563eb;
    color: #fff;
}

.profile-header-back__text {
    line-height: 1.2;
    white-space: nowrap;
}

.profile-header-back__arrow {
    width: 0.9rem;
    height: 0.9rem;
    color: rgb(148 163 184);
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.profile-header-back:hover .profile-header-back__arrow {
    color: #2563eb;
    transform: translateX(-2px);
}

@media (max-width: 420px) {
    .profile-header-back__text {
        display: none;
    }

    .profile-header-back {
        padding: 0.45rem;
    }

    .profile-header-back__arrow {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   Profile flash toast
   ═══════════════════════════════════════════════════════════ */

.profile-toast {
    position: fixed;
    top: 5.25rem;
    inset-inline-end: 1rem;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: min(22rem, calc(100vw - 2rem));
    padding: 0.9rem 0.95rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
    box-shadow:
        0 10px 15px -3px rgb(15 23 42 / 0.08),
        0 4px 6px -4px rgb(15 23 42 / 0.06),
        0 0 0 1px rgb(255 255 255 / 0.8) inset;
    opacity: 0;
    transform: translateY(-0.75rem) scale(0.96);
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-toast--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.profile-toast--leaving {
    opacity: 0;
    transform: translateY(-0.5rem) scale(0.98);
    pointer-events: none;
}

.profile-toast__accent {
    position: absolute;
    inset-block: 0.65rem;
    inset-inline-end: 0;
    width: 3px;
    border-radius: 9999px;
}

.profile-toast--success .profile-toast__accent {
    background: linear-gradient(180deg, #34d399, #059669);
}

.profile-toast--error .profile-toast__accent {
    background: linear-gradient(180deg, #f87171, #dc2626);
}

.profile-toast__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
}

.profile-toast__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.profile-toast--success .profile-toast__icon {
    background: rgb(220 252 231);
    color: #059669;
}

.profile-toast--error .profile-toast__icon {
    background: rgb(254 226 226);
    color: #dc2626;
}

.profile-toast__content {
    flex: 1;
    min-width: 0;
    padding-inline-end: 0.25rem;
}

.profile-toast__title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgb(15 23 42);
    line-height: 1.3;
}

.profile-toast__message {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgb(71 85 105);
}

.profile-toast__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin: -0.15rem;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: rgb(148 163 184);
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.profile-toast__close svg {
    width: 1rem;
    height: 1rem;
}

.profile-toast__close:hover {
    background: rgb(241 245 249);
    color: rgb(71 85 105);
}

.profile-toast__progress {
    position: absolute;
    inset-inline: 0.75rem;
    bottom: 0.45rem;
    height: 2px;
    border-radius: 9999px;
    background: rgb(241 245 249);
    overflow: hidden;
}

.profile-toast__progress::after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    transform-origin: inline-end center;
    transform: scaleX(1);
}

.profile-toast--success .profile-toast__progress::after {
    background: linear-gradient(90deg, #34d399, #059669);
}

.profile-toast--error .profile-toast__progress::after {
    background: linear-gradient(90deg, #f87171, #dc2626);
}

.profile-toast--visible .profile-toast__progress::after {
    animation: profile-toast-progress 4.5s linear forwards;
}

.profile-toast--paused .profile-toast__progress::after {
    animation-play-state: paused;
}

@keyframes profile-toast-progress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@media (min-width: 640px) {
    .profile-toast {
        top: 5.5rem;
        inset-inline-end: 1.5rem;
        width: min(24rem, calc(100vw - 3rem));
    }
}

/* ═══════════════════════════════════════════════════════════
   Flash toast (success / error)
   ═══════════════════════════════════════════════════════════ */

.profile-toast {
    position: fixed;
    top: 5.25rem;
    inset-inline-end: 1rem;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: min(22rem, calc(100vw - 2rem));
    padding: 0.9rem 0.95rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
    box-shadow:
        0 10px 15px -3px rgb(15 23 42 / 0.08),
        0 20px 40px -12px rgb(15 23 42 / 0.12);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-0.75rem) scale(0.96);
    transition:
        opacity 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-toast--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.profile-toast--leaving {
    opacity: 0;
    transform: translateY(-0.5rem) scale(0.98);
    transition-duration: 0.25s;
}

.profile-toast__accent {
    position: absolute;
    inset-block: 0.65rem;
    inset-inline-end: 0;
    width: 3px;
    border-radius: 9999px;
}

.profile-toast--success .profile-toast__accent {
    background: linear-gradient(180deg, #34d399, #059669);
}

.profile-toast--error .profile-toast__accent {
    background: linear-gradient(180deg, #f87171, #dc2626);
}

.profile-toast__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
}

.profile-toast__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.profile-toast--success .profile-toast__icon {
    background: rgb(220 252 231);
    color: #059669;
}

.profile-toast--error .profile-toast__icon {
    background: rgb(254 226 226);
    color: #dc2626;
}

.profile-toast__content {
    flex: 1;
    min-width: 0;
    padding-inline-end: 1.5rem;
}

.profile-toast__title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgb(15 23 42);
    line-height: 1.35;
}

.profile-toast__message {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgb(71 85 105);
}

.profile-toast__close {
    position: absolute;
    top: 0.55rem;
    inset-inline-start: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: rgb(148 163 184);
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.profile-toast__close svg {
    width: 1rem;
    height: 1rem;
}

.profile-toast__close:hover {
    background: rgb(241 245 249);
    color: rgb(71 85 105);
}

.profile-toast__progress {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 3px;
    border-radius: 0 0 0.9rem 0.9rem;
    overflow: hidden;
    background: rgb(241 245 249);
}

.profile-toast__progress::after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: right center;
    transform: scaleX(1);
}

.profile-toast--success .profile-toast__progress::after {
    background: linear-gradient(90deg, #34d399, #059669);
}

.profile-toast--error .profile-toast__progress::after {
    background: linear-gradient(90deg, #f87171, #dc2626);
}

.profile-toast--visible .profile-toast__progress::after {
    animation: profile-toast-progress var(--toast-duration, 4.5s) linear
        forwards;
}

@keyframes profile-toast-progress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@media (min-width: 640px) {
    .profile-toast {
        top: 5.5rem;
        inset-inline-end: 1.5rem;
        width: 22rem;
    }
}

.profile-impersonation-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgb(253 230 138);
    background: rgb(255 251 235);
    color: rgb(146 64 14);
}

.profile-impersonation-banner__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.6;
}

.profile-impersonation-banner__btn {
    border: 0;
    border-radius: 0.5rem;
    padding: 0.45rem 0.85rem;
    background: rgb(217 119 6);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.profile-impersonation-banner__btn:hover {
    background: rgb(180 83 9);
}
