
        .profile-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .profile-header-card {
            background: linear-gradient(135deg, #6c5ce7, #a29bfe);
            border-radius: 16px;
            padding: 40px;
            text-align: center;
            color: white;
            margin-bottom: 30px;
            box-shadow: 0 10px 25px rgba(108, 92, 231, 0.2);
            position: relative;
        }

        .avatar-container {
            position: relative;
            width: 120px;
            height: 120px;
            margin: 0 auto 15px;
        }

        .avatar {
            width: 100%;
            height: 100%;
            background: white;
            color: #6c5ce7;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            font-weight: 700;
            border: 4px solid rgba(255, 255, 255, 0.3);
            text-transform: uppercase;
        }

        .form-card {
            background: white;
            border-radius: 16px;
            padding: 30px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .full-width {
            grid-column: span 2;
        }

        @media (max-width: 600px) {
            .form-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Skeleton Loading Styles */
        .skeleton {
            background: rgba(255, 255, 255, 0.2);
            color: transparent !important;
            border-radius: 6px;
            animation: shimmer 1.5s infinite linear;
        }

        input.skeleton,
        textarea.skeleton {
            background: #f1f5f9;
        }

        @keyframes shimmer {
            0% {
                opacity: 0.6;
            }

            50% {
                opacity: 1;
            }

            100% {
                opacity: 0.6;
            }
        }

        /* Username Handle Style */
        .username-badge {
            background: rgba(255, 255, 255, 0.2);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
            cursor: pointer;
            transition: 0.2s;
        }

        .username-badge:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        /* --- NEW PROFILE IMAGE STYLES --- */
.profile-img-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 15px;
}

.profile-pic-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    background: white;
}

.camera-icon-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    background: #4f46e5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    z-index: 10;
}

.camera-icon-btn:hover {
    transform: scale(1.1);
    background: #4338ca;
}

/* --- CROPPER MODAL STYLES --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); z-index: 2000;
    display: flex; justify-content: center; align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content.img-crop-modal {
    background: white;
    padding: 20px;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px; border-bottom: 1px solid #e2e8f0; padding-bottom: 10px;
}
.modal-header h3 { margin: 0; color: #1e293b; font-size: 18px; }

.img-container-crop {
    height: 350px;
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex; justify-content: flex-end; gap: 12px;
}

.btn-cancel {
    padding: 10px 18px; border-radius: 8px; border: 1px solid #cbd5e1;
    background: white; color: #64748b; cursor: pointer; font-weight: 600;
}
.btn-save {
    padding: 10px 20px; border-radius: 8px; border: none;
    background: #4f46e5; color: white; cursor: pointer; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
}
.close-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: #64748b; }