/**
 * Profile Page Styling
 * Dark BLACKPINK theme with glassmorphism, animations, and premium feel.
 * Fonts: Outfit (display) + Inter (body)
 */

/* ========== IMPORTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========== BASE ========== */
* {
    -webkit-tap-highlight-color: transparent;
}

.profile-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #0a0a0a;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    color: #e4e4e7;
}

/* ========== ANIMATED BACKGROUND ========== */
.profile-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.profile-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
}

.profile-bg-glow--1 {
    width: 550px;
    height: 550px;
    top: -180px;
    right: -80px;
    background: radial-gradient(circle, #f7a6b9 0%, transparent 70%);
    opacity: 0.06;
    animation: profGlow1 14s ease-in-out infinite;
}

.profile-bg-glow--2 {
    width: 450px;
    height: 450px;
    bottom: -100px;
    left: -60px;
    background: radial-gradient(circle, #FA5BFF 0%, transparent 70%);
    opacity: 0.04;
    animation: profGlow2 18s ease-in-out infinite;
}

.profile-bg-glow--3 {
    width: 350px;
    height: 350px;
    top: 40%;
    left: 30%;
    background: radial-gradient(circle, #fcd5de 0%, transparent 70%);
    opacity: 0.03;
    animation: profGlow3 12s ease-in-out infinite;
}

@keyframes profGlow1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 40px) scale(1.15);
    }
}

@keyframes profGlow2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -30px) scale(1.1);
    }
}

@keyframes profGlow3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.03;
    }

    50% {
        transform: translate(10px, -15px) scale(1.2);
        opacity: 0.05;
    }
}

/* ========== TOP BAR ========== */
.profile-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(247, 166, 185, 0.08);
}

.profile-topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.profile-topbar-brand img {
    border-radius: 8px;
}

.profile-topbar-brand span {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: #f7a6b9;
    letter-spacing: -0.3px;
}

.profile-topbar-back {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #71717A;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.profile-topbar-back:hover {
    color: #f7a6b9;
}

/* ========== MAIN LAYOUT ========== */
.profile-main {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

/* ========== PROFILE HEADER (avatar + name) ========== */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
}

/* Avatar */
.profile-avatar-wrap {
    position: relative;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7a6b9, #e8758a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 40px;
    color: #fff;
    border: 3px solid rgba(247, 166, 185, 0.25);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    object-fit: cover;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-avatar-wrap:hover .profile-avatar {
    border-color: #f7a6b9;
    box-shadow: 0 0 30px rgba(247, 166, 185, 0.25);
}

/* Camera overlay */
.profile-avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
}

.profile-avatar-wrap:hover .profile-avatar-overlay {
    opacity: 1;
}

.profile-avatar-overlay svg {
    color: #fff;
    width: 28px;
    height: 28px;
}

.profile-avatar-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Name and number under avatar */
.profile-header-name {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    text-align: center;
}

.profile-header-number {
    font-size: 14px;
    color: #71717A;
    margin-top: 4px;
}

.profile-header-member-since {
    font-size: 12px;
    color: #555;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-header-member-since svg {
    color: #f7a6b9;
    width: 14px;
    height: 14px;
}

/* ========== PROFILE CARD SECTION ========== */
.profile-card {
    position: relative;
    background: #111111;
    border: 1px solid rgba(247, 166, 185, 0.10);
    border-radius: 20px;
    padding: 0;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(247, 166, 185, 0.04),
        0 4px 32px rgba(0, 0, 0, 0.4);
}

.profile-card-glow {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f8b4c4, #fcd5de, #f8b4c4, transparent);
    border-radius: 2px;
    opacity: 0.6;
}

.profile-card-title {
    padding: 20px 24px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #71717A;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ========== PROFILE ROWS ========== */
.profile-row {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease;
}

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

.profile-row:hover {
    background: rgba(247, 166, 185, 0.02);
}

.profile-row-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 16px;
}

.profile-row-icon svg {
    width: 18px;
    height: 18px;
}

.profile-row-icon--pink {
    background: rgba(247, 166, 185, 0.1);
    color: #f7a6b9;
}

.profile-row-icon--purple {
    background: rgba(250, 91, 255, 0.1);
    color: #FA5BFF;
}

.profile-row-icon--green {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.profile-row-icon--blue {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.profile-row-icon--gold {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.profile-row-icon--red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.profile-row-content {
    flex: 1;
    min-width: 0;
}

.profile-row-label {
    font-size: 11px;
    font-weight: 500;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 3px;
}

.profile-row-value {
    font-size: 15px;
    font-weight: 500;
    color: #e4e4e7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-row-value--muted {
    color: #555;
    font-style: italic;
}

.profile-row-action {
    flex-shrink: 0;
    margin-left: 12px;
}

/* Edit button */
.profile-edit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #71717A;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-edit-btn:hover {
    color: #f7a6b9;
    background: rgba(247, 166, 185, 0.08);
    border-color: rgba(247, 166, 185, 0.2);
}

.profile-edit-btn svg {
    width: 15px;
    height: 15px;
}

.profile-edit-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.profile-edit-btn:disabled:hover {
    color: #71717A;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

/* ========== INLINE EDIT MODE ========== */
.profile-edit-inline {
    display: none;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.profile-edit-inline.active {
    display: flex;
}

.profile-row-value.editing {
    display: none;
}

.profile-edit-input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid rgba(247, 166, 185, 0.25);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.profile-edit-input:focus {
    border-color: #f7a6b9;
    box-shadow: 0 0 0 3px rgba(247, 166, 185, 0.1);
}

.profile-edit-select {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid rgba(247, 166, 185, 0.25);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    appearance: auto;
    -webkit-appearance: auto;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.profile-edit-select:focus {
    border-color: #f7a6b9;
    box-shadow: 0 0 0 3px rgba(247, 166, 185, 0.1);
}

.profile-edit-save {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8b4c4, #fcd5de);
    border: none;
    color: #000;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.3s;
}

.profile-edit-save:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(248, 180, 196, 0.3);
}

.profile-edit-save svg {
    width: 16px;
    height: 16px;
}

.profile-edit-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #71717A;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s;
}

.profile-edit-cancel:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

.profile-edit-cancel svg {
    width: 14px;
    height: 14px;
}

/* ========== DISTRICT COOLDOWN HINT ========== */
.profile-cooldown-hint {
    font-size: 11px;
    color: #71717A;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-cooldown-hint svg {
    width: 12px;
    height: 12px;
    color: #ffc107;
}

/* ========== GOOGLE SHEET DATA (read-only) ========== */
.profile-row-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #ffc107;
    background: rgba(255, 193, 7, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========== TOAST MESSAGES ========== */
.profile-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 90vw;
    text-align: center;
}

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

.profile-toast--success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #6dff8c;
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.15);
}

.profile-toast--error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b7a;
    box-shadow: 0 8px 32px rgba(220, 53, 69, 0.15);
}

.profile-toast--info {
    background: rgba(247, 166, 185, 0.12);
    border: 1px solid rgba(247, 166, 185, 0.25);
    color: #f7a6b9;
    box-shadow: 0 8px 32px rgba(247, 166, 185, 0.1);
}

/* ========== LOGOUT BUTTON ========== */
.profile-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border-radius: 14px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    margin-bottom: 24px;
}

.profile-logout-btn:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.1);
}

.profile-logout-btn svg {
    width: 18px;
    height: 18px;
}

/* ========== FOOTER ========== */
.profile-footer {
    text-align: center;
    padding-bottom: 32px;
    opacity: 0.25;
    transition: opacity 0.3s;
}

.profile-footer:hover {
    opacity: 0.5;
}

.profile-footer span {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ========== LOADING STATE ========== */
.profile-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 16px;
}

.profile-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(247, 166, 185, 0.15);
    border-top-color: #f7a6b9;
    border-radius: 50%;
    animation: profileSpin 0.8s linear infinite;
}

.profile-loading-text {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

@keyframes profileSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== BIAS COLORS ========== */
.bias-jisoo {
    color: #ef4444 !important;
}

.bias-jennie {
    color: #fbbf24 !important;
}

.bias-rose {
    color: #60a5fa !important;
}

.bias-lisa {
    color: #a78bfa !important;
}

.bias-ot4 {
    color: #f7a6b9 !important;
}

/* ========== FADE-IN ANIMATION ========== */
@keyframes profileFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-animate-in {
    animation: profileFadeIn 0.5s ease-out forwards;
}

.profile-animate-in:nth-child(1) {
    animation-delay: 0s;
}

.profile-animate-in:nth-child(2) {
    animation-delay: 0.08s;
}

.profile-animate-in:nth-child(3) {
    animation-delay: 0.16s;
}

.profile-animate-in:nth-child(4) {
    animation-delay: 0.24s;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 576px) {
    .profile-topbar {
        padding: 12px 16px;
    }

    .profile-main {
        padding: 80px 14px 40px;
    }

    .profile-avatar {
        width: 90px;
        height: 90px;
        font-size: 34px;
    }

    .profile-header-name {
        font-size: 22px;
    }

    .profile-row {
        padding: 14px 18px;
    }

    .profile-card {
        border-radius: 16px;
    }

    .profile-row-icon {
        width: 34px;
        height: 34px;
        margin-right: 12px;
    }

    .profile-row-value {
        font-size: 14px;
    }

    .profile-bg-glow--1 {
        width: 300px;
        height: 300px;
    }

    .profile-bg-glow--2 {
        width: 250px;
        height: 250px;
    }
}

/* ========== BIAS IMAGE PICKER MODAL ========== */
.bias-picker-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bias-picker-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.bias-picker-modal {
    background: rgba(20, 20, 35, 0.55);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 28px;
    width: 90%;
    max-width: 460px;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.bias-picker-overlay.active .bias-picker-modal {
    transform: scale(1) translateY(0);
}

.bias-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bias-picker-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.bias-picker-close {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.bias-picker-close svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.5);
}

.bias-picker-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.bias-picker-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.bias-picker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.bias-picker-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.bias-picker-card.selected {
    border-color: var(--pink-primary, #ff6b9d);
    background: rgba(255, 107, 157, 0.12);
    box-shadow:
        0 0 24px rgba(255, 107, 157, 0.2),
        0 0 0 1px rgba(255, 107, 157, 0.3) inset;
}

.bias-picker-card--ot4 {
    grid-column: span 2;
}

.bias-picker-card-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center top;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.25s;
}

.bias-picker-card.selected .bias-picker-card-img {
    border-color: var(--pink-primary, #ff6b9d);
}

/* Member-specific image backgrounds */
.bias-picker-card-img--jisoo {
    background-image: url('../assets/kim/2.jpg');
}

.bias-picker-card-img--jennie {
    background-image: url('../assets/jennie/2.jpg');
}

.bias-picker-card-img--rose {
    background-image: url('../assets/rose/2.jpg');
}

.bias-picker-card-img--lisa {
    background-image: url('../assets/lisa/2.jpg');
}

.bias-picker-card-img--ot4 {
    background-image: url('../assets/ot4/2.jpg');
    width: 72px;
    height: 72px;
}

.bias-picker-card-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

/* ========== PFP UPLOAD DIALOG ========== */
.pfp-upload-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pfp-upload-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.pfp-upload-modal {
    background: linear-gradient(145deg, rgba(30, 30, 40, 0.98), rgba(20, 20, 30, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 28px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.pfp-upload-overlay.active .pfp-upload-modal {
    transform: scale(1) translateY(0);
}

.pfp-upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(190, 100, 255, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfp-upload-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--pink-primary, #ff6b9d);
}

.pfp-upload-modal h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.pfp-upload-modal p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 24px;
    line-height: 1.4;
}

.pfp-upload-preview {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 107, 157, 0.4);
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.15);
}

.pfp-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pfp-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(190, 100, 255, 0.15));
    border: 1px solid rgba(255, 107, 157, 0.3);
    border-radius: 12px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.pfp-upload-btn:hover {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.25), rgba(190, 100, 255, 0.25));
}

.pfp-upload-btn svg {
    width: 18px;
    height: 18px;
}

.pfp-upload-save {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b9d, #be64ff);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    margin-bottom: 10px;
}

.pfp-upload-save:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.pfp-upload-skip {
    display: block;
    width: 100%;
    padding: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.pfp-upload-skip:hover {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 480px) {
    .bias-picker-modal {
        padding: 20px;
        border-radius: 16px;
    }

    .bias-picker-card-img {
        width: 64px;
        height: 64px;
    }

    .pfp-upload-modal {
        padding: 28px 20px;
    }
}